RE: w3cdate in flavour head

"Doug Ransom" <doug.ransom-cmaem7PIVQRoiclzN/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Thanks.

Are you going to check it in to cvs?




-----Original Message-----
From: Steven Armstrong [mailto:[email protected]] 
Sent: May 24, 2005 2:25 PM
To: Doug Ransom
Cc: pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [pyblosxom-users] w3cdate in flavour head

On 05/23/05 18:13, Doug Ransom wrote:
> The modified element in the atom flavor is not being populated with the w3cdate.
> http://ransom.dyndns.ws/doug/index.syndicate
> this is the head.syndicate file, copied from the atom flavour head.
> 
> 
> <?xml version="1.0"?>
> <?xml-stylesheet href="http://ransom.dyndns.ws/syndicate.css" type="text/css"?>
> <feed xmlns="http://purl.org/atom/ns#" xmlns:ent="http://www.purl.org/NET/ENT/1.0/" version="1.0">
>   <title>$blog_title</title>
>   <link rel="alternate" type="text/html" href="$url" />
>   <modified>$w3cdate</modified>
>   <!-- optional elements -->
>   <tagline></tagline>
>   <generator>$base_url</generator>
> 
> I can’t see how this w3cdate would ever be populated, since w3cdate seems to be a story variable.  Is there a trick I am missing?
> 
> 
> Doug Ransom
> 

Hi Doug

I've hacked my version of w3cdate for just that reason. See attachment.
You can use $lastmodified_w3cdate in your head.atom flavour.

hth
cheers
Steven



-------------------------------------------------------
SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate
online with coworkers and clients while avoiding the high cost of travel and
communications. There is no equipment to buy and you can meet as often as
you want. Try it free.http://ads.osdn.com/?ad_idt02&alloc_id135&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.