More atom stuff

"Doug Ransom" <doug.ransom-cmaem7PIVQRoiclzN/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
HTML In a title hosed the atom feed when checked with http://feedvalidator.org.

 

The title element of the atom story template can be modified
  <title  type="text/html" mode="escaped">$title</title>






-----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



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
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.