-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Saturday 01 March 2003 01:12 pm, Erendil at aol.com wrote:
> Ok, I'm going to start writing a templating system, basically for managing
> freesites. The idea is that, since Freenet can really only handle static
> content, I write a tool to take a template, get the content for that page,
> and then compile it on demand.
>
> Example:
> 1. Create page template using HTML, CSS, and template tags.
> 2. Use the interface (haven't decided between Tk or webpage) to enter stuff
> like news
> 3. Compile template
>
> 4. User posts compiled page
>
> I would like the someday have it be able to run with a command line switch
> for just compiling and uploading, so you'd run, say a cron job, to keep a
> DBR site up to date.
>
> Anyways, my questions to everyone are:
>
> Would you use it? It's being written in Python.

Maybe.

> What do you want in it? What types of tags and stuff? [INCLUDE] and [LINK]
> obviously.

How about making some XSLT to make some XSLT? ;) Seriously, though, how about 
a language in which I could write, say:
[XML stuff to initialize the system]
<ul>
<matchtag tag="news">
<matchtag tag="item">
<li>
<tagattrib name="date" />: <tagbody />
</li>
</matchtag>
</matchtag>
</ul>
[snip]

And, for the datafile:
[XML stuff]
<site template="template.xml">
<news>
<item date="03/01/03">
Did stuff, etc.
</item>
</news>
</site>

Etc. Of course, I'd back everything with DTDs.

> Would someone be willing to help me with understanding the freenet protocol
> in depth, so that I can implement fucntionality to make this a complete
> freesite tool?

Use fish's freesite tools, they're open-source.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+YW14x533NjVSos4RAi8jAJwOJL9eCaFex0w8tRxvU1K9hCtoXwCgk0fG
+JR8vtjjVVwUycp7HZ/8gng=
=ixQb
-----END PGP SIGNATURE-----

_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to