Re: dates in filenames?

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Mon, 27 Sep 2004, Russell Nelson wrote:

> will guaraldi writes:
> > On Mon, 27 Sep 2004, Nathan Bullock wrote:
> > >
> > > I would like all of my meta-data to be saved at the top of each entry.
> >
> > The default entry parser (.txt) for PyBlosxom already does this part.
>
> I don't see it modifying existing files.  I think that's what people 
> want.  Perhaps we should change the format of .txt files to be more like 
> email.  Instead of the first line being the subject, and the second line 
> through end being the body, perhaps we should have the subject be in the 
> Subject: header, and the body follow the first blank line following the 
> headers.

You're right.  The default entryparser doesn't modify existing files.  In 
fact, entryprasers don't operate on files at all.  I didn't realize from 
your email that you were looking for the ability to read and write files. 
Currently entryparsers only parse entry data--they don't create entry data 
and they don't operate on files.

Someone else mentioned using email as a entry format.  I don't know if 
they got around to building an entryparser for that or not.

/will


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
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.