You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by g4 <ja...@root10.net> on 2003/08/06 12:01:43 UTC

Metadata implementation

Hi list ;)

This is a question about metadata, forrest  and it's most sensible 
implementation. OK I'd like to be able to offer much more granularity 
in keyword and description metadata within forrest, actually none to 
speak of exists at the moment.

What would you recommend / suggest ?

My approach at the moment would be just to create some custom content 
types in the header of each XML content document such as <metakey/>  & 
<metadesc/> this will give me the granularity I'm after.

However the problem here is that I think the way in which the site skin 
is applied would have to change somewhat, true?

If you have any better ideas, please send them this way

Thanks

Jason Lane


Re: Metadata implementation

Posted by g4 <ja...@root10.net>.
On Wednesday, Aug 6, 2003, at 11:59 Europe/London, Jeff Turner wrote:

> On Wed, Aug 06, 2003 at 11:01:43AM +0100, g4 wrote:
>> Hi list ;)
>>
>> This is a question about metadata, forrest  and it's most sensible
>> implementation. OK I'd like to be able to offer much more granularity
>> in keyword and description metadata within forrest, actually none to
>> speak of exists at the moment.
>>
>> What would you recommend / suggest ?
>
> Have a look at the document-v20a DTD definition in
> dtd/v20a/document-v20.mod.  It allows:

OK so just change my content Schema types to v20....cool

>
> <document>
>   <header>
>     <meta name="...">....</meta>
>     <meta name="...">....</meta>
>     ..
>   </header>
> </document>
>
> We can do all sorts of cool things with this.  For example, using CVS
> expansions:
>
>     <meta name="Date">$Date$</meta>
>     <meta name="Revision">$Revision$</meta>
>
> Then we can display the page's last modification date somewhere in the
> page.
>
>> My approach at the moment would be just to create some custom content
>> types in the header of each XML content document such as <metakey/>  &
>> <metadesc/> this will give me the granularity I'm after.
>>
>> However the problem here is that I think the way in which the site 
>> skin
>> is applied would have to change somewhat, true?
>
> Yes :/  If you'd like to make the changes, that'd be very cool.  I
> haven't had time.

I'll try my hardest, although I still consider my self a newby ;)


>
> --Jeff
>
>> If you have any better ideas, please send them this way
>>
>> Thanks
>>
>> Jason Lane
>>
>
>
Jason Lane

Developer
Root10 developments


Re: Metadata implementation

Posted by Jeff Turner <je...@apache.org>.
On Wed, Aug 06, 2003 at 11:01:43AM +0100, g4 wrote:
> Hi list ;)
> 
> This is a question about metadata, forrest  and it's most sensible 
> implementation. OK I'd like to be able to offer much more granularity 
> in keyword and description metadata within forrest, actually none to 
> speak of exists at the moment.
> 
> What would you recommend / suggest ?

Have a look at the document-v20a DTD definition in
dtd/v20a/document-v20.mod.  It allows:

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

We can do all sorts of cool things with this.  For example, using CVS
expansions:

    <meta name="Date">$Date$</meta>
    <meta name="Revision">$Revision$</meta>

Then we can display the page's last modification date somewhere in the
page.
 
> My approach at the moment would be just to create some custom content 
> types in the header of each XML content document such as <metakey/>  & 
> <metadesc/> this will give me the granularity I'm after.
> 
> However the problem here is that I think the way in which the site skin 
> is applied would have to change somewhat, true?

Yes :/  If you'd like to make the changes, that'd be very cool.  I
haven't had time.

--Jeff

> If you have any better ideas, please send them this way
> 
> Thanks
> 
> Jason Lane
> 

Re: Metadata implementation

Posted by Juan Jose Pablos <ch...@che-che.com>.
Hi Jason,

Are you talking about HTML Metadata?

I think that maybe It would be possible for some of the elements of the 
document to belong to the metadata tag:

on the schema define this element
<!ENTITY % local.headers "keyword">

on the document2html.xsl You need to treat that element to be added.

Is that more or less what are you looking for?

Cheers,
Cheche

g4 wrote:
> Hi list ;)
> 
> This is a question about metadata, forrest  and it's most sensible 
> implementation. OK I'd like to be able to offer much more granularity in 
> keyword and description metadata within forrest, actually none to speak 
> of exists at the moment.
> 
> What would you recommend / suggest ?
> 
> My approach at the moment would be just to create some custom content 
> types in the header of each XML content document such as <metakey/>  & 
> <metadesc/> this will give me the granularity I'm after.
> 
> However the problem here is that I think the way in which the site skin 
> is applied would have to change somewhat, true?
> 
> If you have any better ideas, please send them this way
> 
> Thanks
> 
> Jason Lane