I did some work on some code which would automatically monitor /. and mirror the sites linked to by new stories into Freenet.
Note: The code requires JDK1.4 due to its reliance on the java.util.regex package. It must also run on Linux with FCPTools installed as it uses Runtime.exec() to call "rm", "wget", and "fcpputsite" externally. Anyone who wants to reimplement wget functionality in Java is more than welcome to, I am not sure what state GJ's manifest tools are in, but if they are working we could use them too and have a pure java solution. It isn't pretty, but most of it is done, the only two remaining things are: Get fcpputsite to work, for some reason I can't even get it talking to the node. The alternative is to switch to using another tool, perhaps GJ's manifest tools - which would be nice as that would be a Java solution. Make it create an index of the links it has mirrored that can be conveniently linked to from a comment to a story on Slashdot. To try it out (assumes your CVSROOT environment variable is configured for the Freenet cvs server on Sourceforge): cvs co Contrib cd Contrib/cachedot export CLASSPATH=.:$CLASSPATH javac Cachedot.java java Cachedot It will be clear from the output what it is doing. I hope that once we get this working well, someone will undertake to run it (they may wish to remain anonymous in doing so). Ian. -- Ian Clarke [EMAIL PROTECTED] Founder & Coordinator, The Freenet Project http://freenetproject.org/ Chief Technology Officer, Uprizer Inc. http://www.uprizer.com/ Personal Homepage http://locut.us/
msg03494/pgp00000.pgp
Description: PGP signature
