[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FWD: Re: A few comments on recent changes; ATTN: translators, DWN

Joey Hess:

> This is done now. Each issue of DWN uses a field named PUBDATE instead
> of the old PAGENAME. 

Thank you! Wonderful.

> #use wml::debian::weeklynews::header PUBDATE="2000-8-22"
> And wml::debian::weeklynews::header currently looks like this:
> #use wml::debian::template title="Debian Weekly News - $(PUBDATE)$(PAGENAME)" NOHOMELINK="yes" BARETITLE="yes" NOCOMMENTS="yes" SUMMARY="$(SUMMARY)"
> I want to make it use the spokendate function from ctime to modify
> PUBDATE, and pass the result into this #use. How can I do that?

Can't you just do a <:=spokendate($(PUBDATE)):> or similar? I think I used
something like that when I fiddled with using the DWN summaries as meta
description tags. Or perhaps the syntax was <:=spokendate("<PUBDATE>"):>
there, I do not remember.

peter - http://www.softwolves.pp.se/

  Statement concerning unsolicited e-mail according to Swedish law:

Reply to: