Wednesday, September 23, 2009

How to Get Flash Cards from the Web

There are many web sites out there that offer free flash cards, but none of them are optimized so you can study your flash cards on the go. If you register at these sites, you then have access to their immense flash card databases, where you can get flash cards related to just about any subject. No doubt you will want these flash cards on your phone, which is why A++ Flash Cards comes with an import feature. Once you've named a new set and it appears on A++'s main screen, you can then quickly populate that set with cards that have been formatted and saved to the file importexport.xml, located in the A++ Flash Cards folder on your phone's sd card. If you haven't read it yet, check out my post on Importing Flash Cards.


There are a variety of ways to get cards from the web. Once registered at a flash card website, like flashcardexchange, or flashcardmachine, you can look up flash card lists by subject. Once you have the cards you want listed in some type of table format, such as in the picture left, to get the xml code for the cards, you need to get the source code of the page you are viewing. Source code is the code with the xml tags, such as <tr> and </tr>, that stores the card information for the page. To get the source code of the page, you need to use your browser. In Internet Explorer, click 'Page' and then 'View Source'.

In Mozilla Firefox or Google Chrome, simply type Crtl+u, and a new tab or browser window will open displaying the source code. Scroll down in the new window or tab until you see the words and characters of the flash cards, such as in the picture to the right. You can then select the text you want, and copy it to your text editor, like Microsoft Word or Notepad++. Note that Individual cards must start with <tr> tags and end with </tr> tags, and card information must be separated by <td> and </td> tags. The source code from many of the free flash card sites can be simply copied and pasted into your text editor, saved with the file name importexport.xml, and then uploaded from your phone's sd card. In this way, large flash card sets can be created within minutes with virtually no typing. Note that some flash card site's source code might require a little tweaking once it's in your text editor, so as a precaution, if the text does not look similar to the formats outlined in the post Importing Flash Cards, you will probably want to experiment with a small set of flash cards first before trying to upload a large set, or you might want to manually reformat the text so that it will import properly. Good luck!

2 comments:

  1. I have been trying to get a set of flash cards imported via XML, but it silently fails, leaving an empty set of cards. Any idea what I am doing wrong?

    The XML delimiters have been substituted since the blog software will not let me upload XML.

    [importexport]
    [table]
    [TR]
    [TD]Alabama [/TD]
    [TD]Montgomery[/TD]
    [TD]none[/TD]
    [/TR]
    [TR]
    [TD]Alaska [/TD]
    [TD]Juneau[/TD]
    [TD]none[/TD]
    [/TR]
    [/table]
    [/importexport]

    ReplyDelete
  2. Hi there - Thanks for the feedback. That xml file should work. Do you want to email me the file so I can have a try? dandrewsplusplus@gmail.com. I suspect the issue may be with your phone - are you using the new Droid phone or Android 2.0? If that's the case, please let me know and I'll see what I can do to update the app for Droid.

    ReplyDelete