Re: hardcoding mtimes for stories in their metadata section

Dieter Plaetinck <dieter-7FYLOmueu/[email protected]> Mon, 1 Nov 2010 22:42:37 +0100
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Mon, 1 Nov 2010 19:49:23 +0000
seanh <[email protected]> wrote:

> On Mon, Nov 01, 2010 at 12:13:26PM +0100, Dieter Plaetinck wrote:
> > Hi all,
> > is it possible to hardcode the mtime for a story in its metadata
> > section?
> > I.e. something like:
> > 
> > $ cat entries/post.txt
> > Title of the post
> > # mtime 2010-10-30 12:00:00
> > hello, (..)
> 
> 
> My metadate plugin does exactly that:
> 
> http://github.com/seanh/PyBlosxom-metadate
> 
> I did ask for it to be put in the plugin registry ages ago. Looking at
> the code now, I do wonder if there is a shorter way to implement it,
> without all that code for parsing entry files (which obviously
> duplicates code that exists somewhere in pyblosxom itself).
> 

Your plugin does more then i need :)
I use Tim's plugin which is noticeably simpler/shorter and seems
to do everything I need.

Dieter

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev