Wandora Drupal extras

From WandoraWiki
Revision as of 14:35, 14 October 2009 by Elias.tertsunen (Talk | contribs)

Jump to: navigation, search
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

  • A working Drupal 6 installation.
  • Newest Wandora package.
  • Drupal extra modules(Included in Wandora software package in extras folder).

Setting up Drupal

Since this does not belong to the scope of this article, this will be described in very few steps:

  1. Download newest Drupal 6 installation package.
  2. Create mysql database and user with full privileges to the database.
  3. Extract Drupal to your desired web directory
  4. Navigate from your internet browser to the path where you have extracted drupal
  5. Follow the installation procedure and fill out the forms.
  6. 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

  1. Please see Wandora system requirements first
  2. Download the newest Wandora package
  3. Install Wandora
  4. Launch up Wandora

Configuring Wandora web server

  1. Launch up Wandora if you haven't already
  2. 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
Extras drupal open wandora project.png
  1. Now select Server > Server settings... It should open a popup; here you can adjust Wandora's HTTP Server settings
Extras drupal wandora server settings marked.png
  1. 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.
  2. 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.
  3. 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.

Extras drupal module rss example.png

Installation

  1. Copy/upload the wandora_installation_folder/extras/drupal_rss_module/wandora_topic_feed folder to the sites/all/modules directory of your Drupal installation.
  2. Enable the Wandora Instances Feed View in Drupal (Administer > modules).
  3. 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.

Extras drupal module atom example.png

Installation

  1. Copy/upload the wandora_installation_folder/extras/drupal_atom_module/wandora_topic_feed folder to the sites/all/modules directory of your Drupal installation.
  2. 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 SOAP reader is a module that read's an atom feed provided by Wandora and builds a navigatable page out of it.

Extras drupal module atom example.png

Installation

  1. Copy/upload the wandora_installation_folder/extras/drupal_soap_module/wandora_soap folder to the sites/all/modules directory of your Drupal installation.
  2. 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.

  1. SOAP client path is axis server path from Wandora which by default is http://localhost:8898/axis
  2. 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.

Personal tools