I've just checked in changes to the Fred CLI client that allow it to create 
and get date based redirects to allow for javascript-less pseudo-updating.

Date based redirects have the form:

Redirect
baseline=20000101000000
increment=86400
End
<freeneturi>

where the human-readable part of <freeneturi> (a SSK or KSK) gets the date 
prepended to it followed by a '-'.

The new command line options for InsertClient are:

Freenet.client.InsertClient -createUpdate yes [-increment sec] [-baseline 
date] [-redirect target] URI

Freenet.client.InsertClient -update yes [-increment yes] [-baseline date] 
[(-future | -past) n ]

-createUpdate yes | no
creates the date based redirect itself, as opposed to a regular redirect.

-increment sec
indicate the number of seconds between updates.  Use the same value with 
-createUpdate as with later calls to -update.

-baseline yyyymmddhhmmss
indicate the "zero" date for the updates

-future n
-past n

Insert the update for n increments into the future or past, instead of for 
now.

--
Benjamin Coates


_______________________________________________
Freenet-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to