On 5/27/05, Gregor J. Rothfuss <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
