Wandora Drupal extras

From WandoraWiki
Jump to: navigation, search

In this article we'll go step-by-step, how set-up and use Wandora's Drupal extra modules. Drupal modules are used to publish Wandora content in Drupal content management system. Modules are experimental and a general example of how to publish Wandora content in content management systems. To use modules in production environments, you probably have to modify extras provided here. To download Wandora's Drupal modules see Extras section on download page. Wandora's Drupal extra modules are distributed under GPL v3 lisence.

Contents

Requirements

  • A working Drupal 7 installation.
  • Newest Wandora package.
  • Drupal extra modules (Included in Wandora source code 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 7 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 it is recommended that you put up a local server setup.

Setting up Wandora

This chapter describes how to install and configure Wandora web server.

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

  • 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
Extras drupal open wandora project.png
  • Select Server > Server settings.... A popup should open; here you can adjust Wandora's HTTP Server settings
Extras drupal wandora server settings marked.png
  • Here there few things that interest us, mainly lines pointed by the red arrows (see the picture above). Port number indicated by top arrow is the port Wandora is going to use to output the server http://127.0.0.1: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. If you scroll down the settings window, you'll see more services listed there, but only these three services are needed: axis, drupal_atom, and rss.
  • Let's test the Wandora server. Make sure you have an open topic (For example, 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://127.0.0.1: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.


Wandora Drupal Modules

Installation

  1. Extract the contents wandora_installation_folder/extras/drupal/wandora_drupal_7.zip and copy/upload the wandora folder to the sites/all/modules directory of your Drupal installation.
  2. Enable the Wandora module and any of it's submodules you wish to use in Drupal (in the Modules section or alternatively at url admin/modules).
  3. Depending on what Wandora's submodules you have selected, each of them may require additional configuration. See Configuration section of each submodule you have enabled.
  4. For more information of installing Drupal modules go here.


Module - Wandora

Wandora module handles the centralizing of settings for each it's submodules. The module itself doesn't do much, but is mandatory if any of it's submodules is enabled.


Module - Instances Feed View

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

Configuration

You can configure the module at Administer > Wandora > Instances Feed View - feed settings. Here you can change the path where feed is generated, for example http://127.0.0.1:8898/rss

Usage

To diplay any output navigate to http://your_full_drupal_path/wandora_instances_feed. Something like in picture above should display. If not, then check the module is installed and correctly configured. Check also Wandora HTTP server is running.


Module - Topic Feed View

Topic Feed View is a module that read's an atom feed provided by Wandora and builds a navigable page out of it.

Extras drupal module atom example.png

Configuration

You can configure the module at Administer > Wandora > Topic Feed View - feed settings. Here you can change the path where feed is generated, for example http://127.0.0.1:8898/drupal_atom

Customization

To modify the background color of the generated tables:

  • Open wandora/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 - SOAP reader

SOAP reader is a module that read's a SOAP feed provided by Wandora and builds a navigable page out of it.

Extras drupal module atom example.png

Configuration

You can configure the module at Administer > Wandora > 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://127.0.0.1:8898/axis
  2. Default topic subject identifier specifies default topic the module loads. Change the subject identifier here to the topic which you want to open by default.

Customization

To modify the background color of the generated tables:

  • Open wandora/wandora_soap/wandora_soap.css file
  • Modify the background-color and/or border parameters in these classes: .subtitle, .type and .cell.

Usage

To display any output navigate to http://your_full_drupal_path/wandora_soap. Something like in picture above should display. If not, then check that the module is installed and correctly configured. Check also Wandora HTTP server is running.

Personal tools