Re: dates in filenames?

will guaraldi <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
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.


> And then all of this data to be propagated to one global meta-data file.

This you would have to build a script/plugin to do.


> This file would keep track of the entry's date, filename, category, etc. 
> This would mean that A: Pyblosxom would never have to traverse your 
> entire directory structure, except when the global meta-data file is 
> updated.

This is something I'm looking to adjust PyBlosxom to handle in the future. 
We'll probably release PyBlosxom 1.1 with the things that are currently in 
CVS.  Then I want to work on how to solve this issue gracefully.  I'm 
thinking it'll be solved for 1.2.  I'm not sure when the timeframe would 
be.


> B: The structure of your entries could be handled in ways other than the 
> category system that is currently used (for example I would like to keep 
> all my entries grouped according to when I wrote them maybe a directory 
> for each month, but to the user they would appear to be grouped in 
> categories.) The category would essentially be another piece of metadata 
> saved at the top of a file.

You'll hve to build a filelist handler plugin that implements the behavior 
you're looking for.  That can be done with the existing codebase.  There's 
a tutorial on the wiki that walks through filelist handler plugins that 
might help out some.

Hope that helps.

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