[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Bug-gnupedia] About the Format
From: |
Duncan Lock |
Subject: |
RE: [Bug-gnupedia] About the Format |
Date: |
Wed, 17 Jan 2001 17:33:00 -0000 |
Here is my preliminary suggestion of an internal backend XML format
for articles. I would suggest serving HTML to clients generated from these
XML files either on the fly or pre-converted. I would use an XSL/XSLT
stylesheet to do this.
This should be self explanatory with some XML coding experience. It
contains a section for authors, a section for reviewers and thier reviews, a
section for copyleft type stuff and the content of the article.
Thoughts?
Dunc
Suggested internal article format:
<?xml version="1.0"?>
<?xml:stylesheet rel="stylesheet" type="text/xsl"
href="article-stylesheet.xsl" ?>
<article>
<authors>
<author>
<name></name>
<email></email>
<wwwurl></wwwurl>
<digital-signature></digital-signature>
</author>
...
</authors>
<version>
<number></number>
<created-on></created-on>
<last-updated></last-updated>
</version>
<reviews>
<reviewer>
<name></name>
<email></email>
<wwwurl></wwwurl>
<digital-signature></digital-signature>
<date-of-review></date-of-review>
<review>
</review>
</reviewer>
...
</reviews>
<copyleft></copyleft>
<content>
</content>
</article>
>Do you want to use XML on back side? Ok, send a basic sheet (I think
someones
>sent one today...). We'll discuss it. And please, make a little guide on
how
>to translate XML to HTML. Not everybody on this list knows how to use it.