HTML component

HTML is the default text component in SuperMemo. To be able to use it, you need Internet Explorer. If you want to use the HTML component in incremental reading, you need Internet Explorer 6.0 or later.

There are five ways in which you are most likely to add HTML text to your collection (middle or professional level):

  1. Notes: if you would like to type in some notes that will later be processed with incremental reading, use Edit : Add to category : HTML note (Ctrl+H). Alternatively, to use your own HTML template, use Edit : Add to category : Note (Alt+N). HTML note will use the predefined HTML topic template (same as the original Article template), while Note will use your default topic template of the current category. For example, after hearing a piece of science news on the radio, you may want to quickly type in a note to SuperMemo. Press Alt+N and type in the message.
  2. Articles: if you find an interesting article on the net, select it in your web browser and copy it to the clipboard (e.g. with Ctrl+C). You can then paste the article stored in the clipboard to SuperMemo with Ctrl+N (Edit : Add to category : Article). Article is similar to Note. The difference is that Article will paste the text from the clipboard to your newly created element, whereas Note will create a blank new element.
  3. Multiple articles: if you have a couple of articles opened in Internet Explorer, use Edit : Import web pages : All (Shift+Ctrl+A). Unless you fear the article may disappear from the net, import links rather than whole articles. If you overload incremental reading with thousands of articles, you may wait for months or years before an article comes to your attention. Using links keeps the size of your collection in check. Huge collections are processed more slowly, are more difficult to back up, and produce more garbage in search results. For more details, see Import web pages.
  4. Files: if you have HTML files saved on your hard disk, use Edit : Add to category : HTML file. You can then select the file you wish to import from the dialog.
  5. Wikipedia: if you want to import articles from Wikipedia, use Edit : Import web pages : Wikipedia (Shift+Ctrl+W). If there are any Wikipedia pages open in Internet Explorer, you will be able to select them from a dialog. Otherwise, enter the desired page's title and Wikipedia will be opened in a new page in Internet Explorer; SuperMemo will then open the Import web pages dialog to allow you to import the desired page. (Note that if Internet Explorer is not your default web browser (e.g. if you use Firefox), you must manually navigate to the page in Internet Explorer before you can add it to your collection using Shift+Ctrl+W.)
SuperMemo: A topic about henipavirus in the HTML component on the left and 4 images taken from it with Download images (Ctrl+F8) in their individual image components on the right
A topic with an article about henipavirus in the HTML component on the left and 4 images taken from the article with Download images (Ctrl+F8) (available on the component context menu), which downloaded, localized, and tiled them in their individual image components on the right. These 4 images will propagate to all extracts and cloze deletions ultimately produced from this article.

If you want to import an HTML file to an existing HTML component, right-click the HTML component, and choose Import file. Pick the file in the dialog box and choose OK. Your HTML file will be displayed in the HTML component. Import file does not import files linked to by the imported file. However, you can import an entire website located on your hard disk or local network if you use Links : External file on the HTML component menu. In such a case, the HTML file will remain in its original location and retain all relative links.

If you would like to edit an HTML text in your favorite HTML editor, press Ctrl+F9 (or choose File : Edit file from the HTML component menu) and your HTML code will open in the HTML editor registered for editing HTML files in Windows. To preview an article in your web browser, Ctrl+click the HTML component or press F9 (or choose File : View file from the HTML component menu).

Inserting hyperlinks

To insert hyperlinks that would point to other elements, registry texts, HTML files, URL addresses on the Internet, registry images, etc., read about the option Insert HTML link (HTML component menu).

The HTML component can interpret JavaScript. If you know some JavaScript commands, you can enhance your SuperMemo presentation with scripted HTML components.

See also: