Wandora Firefox plugin

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Automatic extraction)
Line 1: Line 1:
'''Note: This feature is not yet included in the public version'''
 
 
 
Wandora Firefox plugin is a plugin for the [http://www.mozilla.com/en-US/firefox/ Mozilla Firefox] browser. The plugin interfaces with the [[Embedded HTTP server|integrated Wandora webserver]] and can be used to extract information about the current web page in Firefox. The plugin should be considered an experimental feature.
 
Wandora Firefox plugin is a plugin for the [http://www.mozilla.com/en-US/firefox/ Mozilla Firefox] browser. The plugin interfaces with the [[Embedded HTTP server|integrated Wandora webserver]] and can be used to extract information about the current web page in Firefox. The plugin should be considered an experimental feature.
  

Revision as of 19:12, 28 August 2008

Wandora Firefox plugin is a plugin for the Mozilla Firefox browser. The plugin interfaces with the integrated Wandora webserver and can be used to extract information about the current web page in Firefox. The plugin should be considered an experimental feature.

Installation

The plugin requires Firefox 3.0 or later.

To install the plugin in Firefox, find the plugin file in ffplugin/wandora-browserplugin.xpi. You may be able to install it by simply double clicking the file. If this doesn't work, launch Firefox and open the file using File/Open file menu item. Confirm plugin installation and restart Firefox.

Next you have to add Wandora button in your Firefox toolbar. Right click anywhere on your toolbar, for example on reload or home button. Select Customize in the popup menu.

Ffplug-customize.png

At the bottom should be a Wandora icon, drag and drop it somewhere on your toolbar.

Ffplug-toolbar2.png

The embedded HTTP server in Wandora application must be enabled to use the Firefox plugin. Start Wandora application if it is not running yet. Then go to Server menu and select Start server. You can also start the server by clicking the small icon in the lower right corner. If you wish, you can change server settings from the Server menu. Default settings only allow local connections.

If you changed your embedded server port number or want to connect to a Wandora application on another machine, you will have to change Firefox plugin settings as well. Select Tools/Wandora options menu item in Firefox and change the server address as needed. If you're using default settings you don't need to do this.

You should now be able to use Wandora Firefox plugin

Using the plugin

To use the Wandora Firefox plugin first go to a web page you wish to use for information extraction. Some extractors work on entire web pages, some work on text selection and some can work on both. Clicking the Wandora icon in your toolbar queries the Wandora application about available extractors. You will get a list of all available extractors in a popup list next to the toolbar button. You can then select one of the extraction methods. Depending on the extractor you chose, extraction can take some time.

Ffplug-menu.png

Most extractors create a topic for the current page with page URL as subject locator and then add some information to this topic.

Currently implemented extractors:

Extractor Description
Add bookmark Creates a topic for the current web page with page URL as subject locator and makes it an instance of Bookmark topic.
Classify with OpenCalais Makes a topic for the web page and uses Open Calais to add keywords in the topic based on page contents.
Collect browse history Makes a browse history entry with web page url and current date and time. This is useful with automatic extraction (see below) to automatically collect a browse history.
Create topic for Creates a simple topic for the current web page. If any text is selected, also creates a topic for the selection and associates it with the web page topic.
Extract definition list Extracts information from a HTML definition list.
Extract instance list Creates topics and makes instance relations in a nested HTML list.
Extract links Creates topics and associations with all links in the page or selection.
Extract super-subclass list Creates topics and makes super-subclass associations in a nested HTML list.
View Wandora's topic Not really an extractor at all. You can use this to open the topic corresponding to currently open page in Firefox. The webpage is served by the embedded HTTP server.

To view the extracted information, you can select the last item in the popup list. This isn't an extractor, it opens the topic corresponding to the current page in Firefox. The HTML page is served by the embedded HTTP server. The page itself is shown in an embedded iframe with topic map related information under it. Note that some pages won't allow embedding them on other pages. This will cause the Wandora topic page to immediately change to the embedded page itself.

You can also find the same topic in Wandora application. Searching with page URL in the finder tab will generally find the topic.

Automatic extraction

You can set the plugin to automatically perform extraction whenever you go to a new page. To do this go to Firefox's Tools/Wandora options menu. Add extractors you wish to execute automatically in the appropriate text field. The methods should be written exactly as seen in the extractor list you get when you click the Wandora icon in Firefox toolbar. Method names are case sensitive. If you wish to execute several extractors, separate extractor names with a semi colon.

Currently the Collect browse history extractor is designed to be used like this. You can automatically collect a browse history, including information about what page was viewed with date and time.

Personal tools