Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt

Proof-Of-Concept subproject to investigate the possibility af using Cooliris for browsing archived websites

Section
Column
Wiki Markup


h3. User guide


Guide to to view the provide web content:

# Extract the web content to a folder on the web server.
# Update the web/index.html and ${walltitle}/wall.html to reflect the url of the web server
which is going to

Generate content

  • Download and extract the source tar
  • Create a URLGenerator class to provide the list of URLs to capture. Examples of URLGenerators can be found in the
    . The provided source uses a webserer at http://pc300.sb, which should be changed to the relevant webserver url.
    # Publish the web folder on the webserver.
    
    h3. Generate content
    
    # Download and extract the [source tar|^cooliris-poc-src.tar.gz]
    # Create a URLGenerator class to provide the list of URLs to capture. Examples of URLGenerators can be found in the src/main/wall/harvesters folder. All the harvesters found here are based on loading a file containing the relevant URLs and generating a url list based on this.
    
    # Create a runner class, which is going to generate the Cooliris wall. See the harvestrunner package for examples.
    
    # Start a Selenium server with the appropriate configuration, eg.
    _
    {code
    }
    java
    
    -Dhttp.proxyHost=${proxy-url} -Dhttp.proxyPort=${proxy-port} -Dhttp.proxyUser=${proxy-loginname} -Dhttp.proxyPassword=${proxy-pw}
    -jar selenium-server.jar_
    
    {code}.

    
    I never got this to work in Ubuntu firefox, so alternatively I created a custiom profile with the relevant proxy setting and started the seleniun server with the _\-firefoxProfileTemplate "path-to-profile-folder"

    _
    You may need to manually supply a proxy loginname/pw on each Capture run in this case.

    
    Another possibility is to use the Maven2 selenium target provide in the projects pom.xml to start the selenium server.
    
    # Start the relevant Runner. Ensure that the browser window showing the web pages to capture is visible at all times.
    
    Column
    Html
    <object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="100%" width="100%">
        <param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" />
        <param name="allowFullScreen" value="true" />
        <param name="allowScriptAccess" value="always" />
        <embed type="application/x-shockwave-flash"
          src="http://apps.cooliris.com/embed/cooliris.swf"
          flashvars="feed=http://pc300.sb/dr-timeline/wall.xml"
          allowFullScreen="true"
           width="600" height="400"
          allowScriptAccess="always">
        </embed>
        </object>