On Tue, 07 Oct 2003 15:32:38 +1300, David McNab wrote:

> Metadata:
> 
>   Version
>   Revision=1
>   EndPart
>   Document
>   [EMAIL PROTECTED]/sitename
>   End
> 
> Handling algorithm:
> 
>   n = 0
>   lastFound = NULL
>   while true
>   {
>      nextFound = get("[EMAIL PROTECTED]/sitename/"+n)
>      if nextFound == NULL
>        break
>      lastFound = nextFound
>      n += 1
>   }
>   return lastFound

Your idea is ooold. I remember to have read it on the cruft flog some
times. (Cruft does not exist any more. It did a very good job in
advertising FIW - thanks if you read here, crufty.)

you won't manage to get latest version of any of the older freesites. I am
quite sure that there is *no* node on Freenet any more that has the
manifest file of e.g. FIW edition 1 (current edition is 8) which is nearly
a year old now (inserted on 2002-11-03).

Aditionally, in current state of Freenet you often get a RNF both for a key
that exists and for one that does not (next try will tell you more). How
often do you want to retry in that case?

The "proper" way to do that is TUKs. Implement them and everyone is happy.

If you want to automate anything (in an improprt way), add a way to check
the manifest file for entries named ".next" - (most insertion tools I know
insert such a name for edition sites) which is a redirect to next edition's
manifest. If that one is found, replace the current manifest with the one
you got (in some kind of "fproxy last edition cache") and do the same for
it again as long as a .next results in a DNF. (or RNF - same problem as
above).


mihi

_______________________________________________
Devl mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to