forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Metadata (Re: Multilanguage sites)
Date Mon, 25 Aug 2003 22:27:02 GMT
On Mon, Aug 25, 2003 at 03:03:06PM +0200, cheche@che-che.com wrote:
> Sorry,
> I did not finish my last post:
> 
> Use RDF instead of site xml format.

RDF is a bit much to expect end users to deal with, but we could use RDF
as our internal "site metadata" format, and transform
site.xml/book.xml/whatever into that.

The document-v20 format has <meta name="...">...</meta> header tags.  I
think we could make these interchangeable with site.xml, so that:

<document>
  <header>
    <meta name="Author">Fred</meta>
    ...

is equivalent to:

<site>
  <index label="Index" href="index.html" author="Fred"/>

(implying we could auto-generate a lot of site.xml)


Then both site.xml and <header> tags could be used to create an internal
RDF representation of the site metadata.

This then ties in with the page metadata pipeline that Jason Lane was
playing with.

Just random thoughts..


--Jeff


> cheers,
> Cheche
> 
> 
> > Jeff,
> > 
> > 
> > > Anything is possible with some XSLT and sitemap hacking.  For example,
> > > RDF:
> > > 
> > > <rdf:RDF
> > >   xml:base=""
> > >   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
> > >   xmlns="http://apache.org/forrest/metadata/1.0#"
> > >   xmlns:dc="http://purl.org/dc/elements/1.1/#">
> > > 
> > >   <folder rdf:ID="/" about=".">
> > >     <file rdf:ID="index"
> > >       dc:Source="index.xml"
> > >       dc:Description="Forrest home page"
> > >       dc:Creator="Various"
> > >       dc:Format="text/xml"
> > >       href="index.html">
> > >       <dc:Title>
> > >         <rdf:Alt>
> > >           <rdf:li xml:lang="en">Index</rdf:li>
> > >           <rdf:li xml:lang="de">Das Index :)</rdf:li>
> > >         </rdf:Alt>
> > >       </dc:Title>
> > >     </file>
> > >   </folder>
> > > </rdf:RDF>
> > > 
> > > 
> > > --Jeff
> > 
> > Do you think that we should look into using RDF?
> > 
> > Cheers,
> > Cheche
> > 
> > 
> 
> 
> 

Mime
View raw message