You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Sean Fulton <fu...@cmu.edu> on 2005/05/26 20:06:27 UTC

Scheduling, dates and metadata

I'm working on a method to handle news releases for a publication. I 
plan on making it based on the XHTML doctype to avoid maintaining my 
own doctype. One hurdle I need to get over is the idea of the release 
date. The date of a release can be different than the day it is added 
to the CMS and would be independent of any time stamp (created, 
modified) Lenya might put on it. It would be useful to access the 
release date in an XSLT. What seems ideal would be to add the DC term 
'available' to the document's metadata 
(http://dublincore.org/documents/dcmi-terms/#available). This metadata 
element also seems perfectly suited to storing scheduler data.

The metadata docs give clues on how to add a new metadata element. So, 
is there someway, without touching Java, to configure Lenya to get 
schedule information into and out of dc:available? Has anyone done 
something similar? I'm guessing I'd have to go into deeper into the 
guts (ant tasks, ucecases) than I've gone yet. Any suggestions for 
alternative approaches? Any  advice appreciated.

	Sean



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Scheduling, dates and metadata

Posted by so...@gmail.com.
On 5/27/05, Gregor J. Rothfuss <gr...@apache.org> wrote:
> Sean Fulton wrote:
> > I'm working on a method to handle news releases for a publication. I
> > plan on making it based on the XHTML doctype to avoid maintaining my own
> > doctype. One hurdle I need to get over is the idea of the release date.
> > The date of a release can be different than the day it is added to the
> > CMS and would be independent of any time stamp (created, modified) Lenya
> > might put on it. It would be useful to access the release date in an
> > XSLT. What seems ideal would be to add the DC term 'available' to the
> > document's metadata
> > (http://dublincore.org/documents/dcmi-terms/#available). This metadata
> > element also seems perfectly suited to storing scheduler data.
> >
> > The metadata docs give clues on how to add a new metadata element. So,
> > is there someway, without touching Java, to configure Lenya to get
> > schedule information into and out of dc:available? Has anyone done
> > something similar? I'm guessing I'd have to go into deeper into the guts
> > (ant tasks, ucecases) than I've gone yet. Any suggestions for
> > alternative approaches? Any  advice appreciated.

Lenya content XML already has 3 dates:
Created
Modified
Issued

The document exists in both Authoring and Live.  How about using the
Issued date of the Authoring document to be when it will next be
released?  The Issued date of the Live document would still tell when
the document was last released.

Of course it is just XML, so a new field for NextPublish can be added
without too many concerns.

Or do you just want to change the Creation date?  Is there any reason
to maintain both the "true creation date" and the "Lenya creation
date"?  It is just there for history, so feel free to change its
purpose.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Scheduling, dates and metadata

Posted by "Gregor J. Rothfuss" <gr...@apache.org>.
Sean Fulton wrote:
> I'm working on a method to handle news releases for a publication. I 
> plan on making it based on the XHTML doctype to avoid maintaining my own 
> doctype. One hurdle I need to get over is the idea of the release date. 
> The date of a release can be different than the day it is added to the 
> CMS and would be independent of any time stamp (created, modified) Lenya 
> might put on it. It would be useful to access the release date in an 
> XSLT. What seems ideal would be to add the DC term 'available' to the 
> document's metadata 
> (http://dublincore.org/documents/dcmi-terms/#available). This metadata 
> element also seems perfectly suited to storing scheduler data.
> 
> The metadata docs give clues on how to add a new metadata element. So, 
> is there someway, without touching Java, to configure Lenya to get 
> schedule information into and out of dc:available? Has anyone done 
> something similar? I'm guessing I'd have to go into deeper into the guts 
> (ant tasks, ucecases) than I've gone yet. Any suggestions for 
> alternative approaches? Any  advice appreciated.

not in 1.2. there is currently a discussion underway on the dev list 
about moving all lenya-private metadata (wf history, scheduling etc) to 
a central location, which would make this much easier

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org