Wandora Drupal extras
This article is a work in progress and therefore is not applicable to the current public version of Wandora.
In this article we'll go step-by-step, how set-up and use Wandora's Drupal extra modules. |
Contents |
Requirements
Setting up Drupal
Since this does not belong to the scope of this article, i'll describe this in very few steps:
- Download newest Drupal 6 installation package.
- Create mysql database and user with full privileges to the database.
- Extract Drupal to your desired web directory
- Navigate from your internet browser to the path where you have extracted drupal
- Follow the installation procedure and fill out the forms.
- Drupal should be now installed! If any problems occurred please refer to the full installation manual.
For complete description of the installation procedure go here, for testing purposes i would recommend to put up local server setup.
Setting up Wandora
Installation and configuration of Wandora web server is described here.
Installing Wandora
- Please see Wandora system requirements first
- Download the newest Wandora package
- Install Wandora
- Launch up Wandora
Configuring Wandora web server
- Launch up Wandora if you haven't already
- For testing purposes open any topicmap in Wandora. Inside Wandora select File->Open project... or (Ctrl+L). From file browser navigate to Wandora installation folder->samples->ArtOfNoise->ArtOfNoise.wpr Open ArtOfNoise.wpr
- Now select Server->Server settings... It should open a popup; here you can adjust Wandora's HTTP Server settings
- Here there few things that are interest to us, mainly lines pointed by the red arrows(see the picture above). Port number indicated by first arrow is the port Wandora is going to use to output the server: http://localhost:port_number/service. Below are service outputs offered by Wandora(the two red arrows below the first one), those are services we are going to use. Of course if you scroll down in the settings window, you'll see more services listed there, but only these three services we are going to need: axis, drupal_atom and rss.
- Let's test the Wandora server; make sure you have an open topic(you can just double click Schema type in leftmost window area), then select Server->Start server, if you find Stop server instead of Start Server under the Server dialog then the server is already running.
- Finally let's test if everything works. Open up your internet browser and in location bar write: http://localhost:8898/drupal_atom and hit Enter. If everything is working; you should see atom/rss feed displayed in browser. If nothing is displayed or there is an error message, then recheck Wandora Server settings and see the more in depth documentation for troubleshooting.
Module - Wandora Instances Feed View
Wandora Instances Feed View is a Drupal module that read's an rss feed provided by Wandora and builds a small navigatable page out of it.
Installation
- Copy/upload the wandora_installation_folder/extras/drupal_rss_module/wandora_topic_feed folder to the sites/all/modules directory of your Drupal installation.
- Enable the Wandora Instances Feed View in Drupal (Administer -> modules).
- For more information of installing Drupal modules go here.
Configuration
You can configure the module at: Administer -> Site configuration -> Wandora Instances Feed View - feed settings. Here you can change the path where feed is generated, for example: http://localhost:8898/rss
Usage
To diplay any output navigate to http://your_full_drupal_path/wandora_instances_feed. Something like in picture above should displayed. If not, then check that the module is installed and correctly configured and also check if Wandora HTTP server is running.
Module - Wandora Topic Feed View
Wandora Topic Feed View is a module that read's an atom feed provided by Wandora and builds a navigatable page out of it.
Installation
- Copy/upload the wandora_installation_folder/extras/drupal_atom_module/wandora_topic_feed folder to the sites/all/modules directory of your Drupal installation.
- Enable the Wandora Instances Feed View in Drupal (Administer -> modules).
Configuration
You can configure the module at: Administer -> Site configuration -> Wandora Topic Feed View - feed settings. Here you can change the path where feed is generated, for example: http://localhost:8898/drupal_atom
Customization
- To modify the background color of the generated tables
-
- Open wandora_topic_feed/wandora_topic_feed.css file
- modify the background-color and/or border parameters in these classes: .subtitle, .type and .cell.
Usage
To diplay any output navigate to http://your_full_drupal_path/wandora_topic_feed. Something like in picture above should displayed. If not, then check that the module is installed and correctly configured and also check if Wandora HTTP server is running.
Module - Wandora SOAP reader
Wandora Topic Feed View is a module that read's an atom feed provided by Wandora and builds a navigatable page out of it.
Installation
- Copy/upload the wandora_installation_folder/extras/drupal_soap_module/wandora_soap folder to the sites/all/modules directory of your Drupal installation.
- Enable the Wandora SOAP reader in Drupal (Administer -> modules).
Configuration
You can configure the module at: Administer -> Site configuration -> Wandora SOAP reader - feed settings. Here you can change two settings; the SOAP client path and default topic subject identifier.
- SOAP client path is axis server path from Wandora which by default is http://localhost:8898/axis
- Default topic subject identifier is default topic that the module load's in Drupal, change the subject identifier here to the topic which you want to be opened by default.
Customization
- To modify the background color of the generated tables
-
- Open wandora_soap/wandora_soap.css file
- modify the background-color and/or border parameters in these classes: .subtitle, .type and .cell.
Usage
To diplay any output navigate to http://your_full_drupal_path/wandora_soap. Something like in picture above should displayed. If not, then check that the module is installed and correctly configured and also check if Wandora HTTP server is running.
--Elias.tertsunen 17:26, 13 October 2009 (EEST)