0.0
No commit activity in last 3 years
No release in over 3 years
A DRb server which accepts the name of a page or link to be fetched. Uses an XML lookup file (PolyrexLinks format).
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.3, ~> 0.1
>= 0.1.7, ~> 0.1
 Project Readme

Introducing the activeoutline gem

Creating the lookup file

The following sample file was created to demonstrate the activeoutline server:

file: outline.txt

food http://kitchen.com/food
  fruit [r] http://kitchen.com/fruit
    apples http://kitchen.com/fruit?q=apples
    pears http://kitchen.com/fruit?q=pears
spoons http://kitchen.com/spoons
greeting http://a2.jamesrobertson.eu/do/r/hello

Launching the server

require 'activeoutline'

ActiveOutline.new('outline.txt', host: '127.0.0.1').start

Launching the client

require 'activeoutline_client'

ao = ActiveOutlineClient.new host: '127.0.0.1'

ao.fetch 'food/fruit' #=> "[r] http://kitchen.com/fruit" 
ao.fetch 'greeting' #=> "hello_1 2018-03-17 14:08:35 +0000" 

Notes:

  1. The default port is 60700
  2. The [r] represents a redirect which means the server won't read the contents of the location, it will simply pass the link back to the client

Resources

activeoutline myoutline outline index drb server client polyrexlinks