Re: ignore_directories behaves differently in static rendering?

seanh <[email protected]> Mon, 3 Aug 2009 17:30:41 +0100
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
> Oh, don't set up a local Apache server--that's pretty intense.  Using Paste
> will allow you to run PyBlosxom locally.  That's what I use.

Thanks. I got paste working. So with this I can preview my drafts
locally before pushing them to my server, and on the server I can use
either static rendering or CGI.

It might be cool if pyblosxom shipped with paste integrated, so that
instead of having to configure and install everything I could just run
a simple command like pyblosxom --server and it would run my blog in
paste.

So here are some use-cases related to drafting, there are loads of
ways you could do this:

1.  Write drafts locally, preview them with paste, run static
rendering and publish the static HTML to a server.

2.  As 1 but push the raw text files to the server and let the server
do the static rendering (e.g. run static rendering as a post-commit or
post-sync hook on the server).

3.  As 2 but run pyblosxom on the server in CGI mode, no server-side
hook needed.

4.  Don't have pyblosxom installed locally, run it in CGI mode on the
server, use the accidental drafts category behaviour to preview
drafts.

5.  Don't have pyblosxom installed locally. Run it in static rendering
mode on the server. Have a separate config.py for drafts that uses the
drafts dir as the datadir and statically renders to an htaccess
protected drafts dir.

All in all, I think it can be done one way or another in almost any
situation, but I think it would be nice if drafting were more
integrated into pyblosxom to make it less awkward.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july