On Sunday 27 August 2006 22:35, Nicola Lugato wrote:
> Something like jsite but with some differences.. It would be a simple
> command line program made mostly for me, to insert freesites
> automatically from within scripts or such.
> I'd like to make some of the boring part automatic. For example i'd
> like to be able to put "shortcuts" in my html, such as [REQUESTURI],
> [CURRENT_VERSION], [VERSION-N], ecc, that gets translated on
> inserting. so that i can create version panels and links that requires
> no mantainance between versions, and i can upload the same site many
> times with different keys with no modification (useful for testing a
> freesite before release).
> Maybe this functionalities are already somewhere (on jsite or any
> other way) but i couldn't find them. If you know, please tell me :)

Yeah, it's already been invented - twice. I had the same need and so wrote 
fntool:

http://www.accidentalegg.co.uk/daveware/fntool/
or
freenet:USK at 
vjETpEgDH-6EzlngZoO8KgOZm-B8AAlvZ-6oP6aQmow,DZYYfhpOxIrtdCNJiflIPjd0Qy8nA1d3Dwy86dcdhu0,AQABAAE/dbkr/13/daveware/fntool/index.html

Then aum wrote a similar thing in PyFCP:

http://wiki.freenetproject.org/pyfcp

Neither have support for replacing text strings with the request URI or 
similar that you mentioned, but that's easily done with sed.


Dave

> It's just some string replaces in the end :)
> Well did you implemented stuff like PUTSSKDIR? that's mostly the only
> part i need..
> Can you point me to your library ?
> 
> On 8/27/06, NextGen$ <nextgens at freenetproject.org> wrote:
> > * Nicola Lugato <nicola.lugato at gmail.com> [2006-08-27 11:24:11]:
> >
> > > Hi, what about this official api for java?
> > > is it avaiable somewhere? i'd like to write a program and i'm
> > > searching for an api..
> > > Nextgen eventually your version is complete and usable?
> > >
> > > Thanks! :)
> >
> > Hmm, it's mostly "still to be written", in fact I wrote only the parts I
> > needed...
> >
> > Btw, what kind of application are you planning to write for freenet ? :)
> >
> > NextGen$
> > >
> > > On 8/14/06, Matthew Toseland <toad at amphibian.dyndns.org> wrote:
> > > >Good idea.
> > > >
> > > >On Mon, Aug 14, 2006 at 04:02:47PM +0200, Florent Daigni?re (NextGen$)
> > > >wrote:
> > > >> Hi,
> > > >>
> > > >>       Today I got around writting my own FCPv2 API for java. I do
> > > >>       think that it's a waste of resources for everyone to maintain
> > > >>       its own.
> > > >>
> > > >>       Jsite is using its own... (Written by Bombe, 1.5 only)
> > > >>       Thaw is using its own... (Written by JFlesch)
> > > >>       Freemail is using its own ... (Written by dbkr)
> > > >>       Frost is using its own...  (Written by sleon)
> > > >>
> > > >>       Most of them are incomplete and can't be reused ... What about
> > > >>       maintaining an official FCPv2 API for java ?
> > > >>
> > > >> NextGen$
> > > >--
> > > >Matthew J Toseland - toad at amphibian.dyndns.org
> > > >Freenet Project Official Codemonkey - http://freenetproject.org/
> > > >ICTHUS - Nothing is impossible. Our Boss says so.
> > > >
> > > >
> > > >-----BEGIN PGP SIGNATURE-----
> > > >Version: GnuPG v1.4.1 (GNU/Linux)
> > > >
> > > >iD8DBQFE4Oc7OHFIJVywduQRAuJwAJ9GNuDV6SyPBBvBzxgs7SKRhsz/AACggjyA
> > > >vE0P3a/65JbYoKUVb7mmxm8=
> > > >=k9QK
> > > >-----END PGP SIGNATURE-----
> > > >
> > > >
> > > >_______________________________________________
> > > >Tech mailing list
> > > >Tech at freenetproject.org
> > > >http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> > > >
> > > >
> > > _______________________________________________
> > > Tech mailing list
> > > Tech at freenetproject.org
> > > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> > >
> > _______________________________________________
> > Tech mailing list
> > Tech at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> >
> _______________________________________________
> Tech mailing list
> Tech at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/tech
> 

Reply via email to