Topic Map Export for Drupal
From WandoraWiki
Topic Map Export is a configurable exporter module for Drupal 7 that generates a topic map out of Drupal content. The development of the exporter is sponsored by Wandora Team. Topic Map Export is distributed under GPL v3 lisence.
Contents |
Requirements
- A working Drupal 7 installation.
- Topic Map Export Drupal module.
- Not required, but it is recommended that you have some content in you Drupal installation.
Instructions for installing Drupal can be found here, for testing purposes it is recommended that you put up a local server setup. Here is some good articles on how to setup Drupal on local server.
Usage
Exporting topic map from Drupal
Before exporting topic map from Drupal is recommended that you have some content in your Drupal installation. If you are using a clean installation, then I would recommend you to install a contributed Drupal module called Devel. You can use it to generate some content in Drupal site.
- First you have enable the Topic Map Export module in the Drupal modules section.
- After you have enabled the module, goto /topic_map/export. Following screen should be displayed:
- In the in configuration screen you can do the following configurations:
- You can select a preset you wish to use. Selecting a preset will load its default values to configurations below.
- Selecting the entities will affect which type of content gets exported. When making changes to entities, it will alter the configuration below it.
- Below the entities you can select what kind associations will get exported. Additional associations will appear if an optional Drupal module Reference is enabled.
- Some entities when selected, will allow you to select the content types of that entity that get exported.
- When you have selected the desired configuration, click the submit button on form and the export process should start.
- After the export process is done. You should get message which has a link the exported file. If not, you can find file in: sites/default/files/topicmap_{timestamp}.xtm
Importing topic map to Wandora
- Start Wandora and select from top menu File -> Import -> Topic map import
- Import dialog should open, from there select Browse
- Browse for exported topic map and select that file. It should be located in your in here: drupal_installation/sites/defaut/files/topicmap_{timestamp}.xtm
- After you have selected the exported topic, select Import from the import dialog.
- Now your topic map should be imported and you can browse it. You can find the root topic by writing "website" in the Wandora's search field. The root topic should have the same name as you Drupal website.
- Double click the resulted topic that has the same name as your website and it should open in the topic viewer. To view topics and associations as a graph, select menu option View -> Topic panel -> Graph topic panel. To view all connected topics, expand the graph a little bit using context menu option Expand nodes recursively.