[Pmwiki-users] Re: Re: Action to provide last modified date and md5 checksum
Christian Ridderström
chr
Mon Jul 12 02:35:05 CDT 2004
On 11 Jul 2004, John Rankin wrote:
> >> IIRC, the Dublin Core recipe will return some of what you want. See
> >>
> >> http://www.pmwiki.org/wiki/Cookbook/MetaData
> >>
> >> For example, have a look at the xhtml source of
> >> http://wiki.lianza.org.nz/index.php/Main/HomePage?action=dc
> >
> >It's close, but no cigar. The date field doesn't contain enough
> >resolution.
>
> Ah, you need to change the line in dublincore.php that reads:
>
> DcElement('date',strftime('%Y-%m-%d', $page['time']));
>
> to use a more suitable date and time format.
Hmm... don't I risking breaking the standard then? I was thinking more
along the lines of adding a new kind of 'DcElement' (that might break the
standard as well of course...)
> > <dc:format>text/html</dc:format>
>
> >From my (admittedly cursory) reading of the Dublin Core documentation,
> I thinkit would be OK to include a checksum as part of the format
> element's content.
Um.. wouldn't that break the standard as well? Assuming that there is a
standard, I haven't had time to look at this (and probably won't for a
while).
Anyway, I'll have to think about making this compatible with all
(future) pmwiki installations. That might complicate things if I depend
too much additional cookbook recipies. Which reminds me... there ought to
be a way to ask pmwiki what version it's running -- so that you know what
basic features it support.
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list