Re: Different entry parsers based on extension

Joseph Reagle <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Organization MIT
Message-ID <[email protected]>
On Friday 16 February 2007 02:47, Asheesh Laroia wrote:
> I read through http://pyblosxom.sourceforge.net/1.3.1/manual/x721.html . 
> I have a mediawiki parser that I'm updating as I transition to using 
> pyblosxom, but I have some old entries I wrote in raw HTML.  How feasible 
> is it to switch between formats based on file extension?

The entry parsers have a FILE_EXT defined for this purpose.

> I didn't see it  
> in the docs, which is why I'm asking.

I use a HTML entry parser [1], as well as txtl in the past. (I actually tend 
to write the most in markdown now, and convert to HTML.) Though, my 
recollection was the "*.html" was a special extension reserved for a 
flavor, *but* in recent versions and/or if you use a flavours directory, 
there's no problem.

[1] http://pyblosxom.sourceforge.net/blog/registry/text/htmlentryparser

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
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.