Changes between Initial Version and Version 1 of FirstSteps


Ignore:
Timestamp:
06/19/08 09:57:46 (17 years ago)
Author:
schwarz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • FirstSteps

    v1 v1  
     1= First steps = 
     2 
     3This mini tutorial describes a good way to start (what to install, what to configure). 
     4 
     5== Install user observation == 
     6 
     7Homepage of the user observation plugins for Mozilla Firefox + Thunderbird: 
     8http://dragontalk.opendfki.de/ 
     9  - http://dragontalk.opendfki.de/wiki/Firefox_userobs     -> XPI to install 
     10  - http://dragontalk.opendfki.de/wiki/Thunderbird_userobs -> XPI to install 
     11 
     12Please install the Firefox Plugin first. You can install the one for Thunderbird later on. 
     13For Thunderbird you have to save the XPI, install it in Thunderbird and customize Thunderbird's toolbar. 
     14 
     15 
     16== Download User Observation Hub == 
     17 
     18Homepage where the User Observation Hub is hosted: 
     19http://usercontext.opendfki.de/ 
     20  - http://usercontext.opendfki.de/wiki/UserObservationHub 
     21  - class de.dfki.km.usercontext.userobservationhub.StartUserObservationHub 
     22 
     23Just start the User Observation Hub by starting the class 
     24de.dfki.km.usercontext.userobservationhub.StartUserObservationHub 
     25as Java application. 
     26 
     27After you succeeded to install the Firefox XPI and start the class above, 
     28you must configure the user observation plugin (in Firefox and Thunderbird) 
     29by clicking the new icon at the very right of the Firefox toolbar: 
     30 
     31 
     32__insert_image_here__ 
     33 
     34 
     35Click at the rightmost icon ("EPOS") and enter the following data for Port and Service 
     36into the following dialog popping up: 
     37 
     38 
     39__insert_image_here__ 
     40 
     41 
     42The information to enter is also printed out in the shell of the Java 
     43application when starting the user observation hub: 
     44 
     45 
     46__insert_image_here__ 
     47 
     48 
     49 
     50After this you should already see some RDF chunks of NOPs (Native Operations), 
     51e.g. when you browse some web pages with Firefox: 
     52 
     53 
     54__insert_image_here__ 
     55 
     56 
     57 
     58Don't worry about the exceptions coming up. These come up due to the fact, 
     59that the UOH currently expects some listeners used by us in the Mymory 
     60project. Most probably, these listeners are not available on your machine (yet). 
     61 
     62Therefore, later on you could create a new starter class or modify the 
     63class de.dfki.km.usercontext.userobservationhub.StartUserObservationHub 
     64to match the user observation listeners you have on your PC. 
     65So, instead of this remote listener: 
     66{{{ 
     67  RemoteUserObsListener remoteListener2 = new RemoteUserObsListener( 
     68          "localhost", 9998, "MyUserObservationHub_Listener" ); 
     69  userobshub.addUserObservationListener( remoteListener2 ); 
     70}}} 
     71you can add your own listener that listens to the NOPs sent by the UOH. 
     72So, if you have an XML-RPC listener running on the same machine on port 
     7312345 with handler "userobs", then you should add these lines: 
     74{{{ 
     75  RemoteUserObsListener mylistener = new RemoteUserObsListener( 
     76          "localhost", 12345, "userobs" ); 
     77  userobshub.addUserObservationListener( mylistener ); 
     78}}} 
     79 
     80---- 
     81 
     82If you still have problems with installation or configuration, feel free to send 
     83an email to sven.schwarz@dfki.de 
     84 
     85Have fun!