Re: A question and a request

will <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Mon, 12 May 2003, Serge Wroclawski wrote:
>
> But I have a question and a feature request.
>
> The question is if it would be possible, using either the static or
> dynamic mode to make entries restricted using the standard Apache
> restriction methods.
>
> So I could have a directory of entries only friends could read, or only
> family could read.

That's probably something you'd want to implement as a plugin.  The plugin
could check the .htaccess directories and match it up with the entries
list being returned as well as the path_info of the request to make sure
unauthorized users weren't seeing things they weren't supposed to see.

It might take a bit of hacking on the existing plugins (pycategories,
pyarchives, pycalendar, ...) if you choose to use them as they're not
really setup for that sort of thing.  But I don't think it'd be too hard.


> The request is much larger. I like the simplicity in the way the entries
> are stored, but it's sort of HTML-centric.
>
> Has anyone looked at Structured Text as in what Zope uses and what's in
> the Docutils project?

We have "preformatters" which take the entry file and apply whatever
formatter you like.  Wari has written preformatters for wiki, reST,
textile, and possibly a few others.  This is really his cup of tea--I
write html.

I'm not sure what version of pyblosxom you're using.  We made some
massive changes since 0.6 which should make it into a release in the near
future.

Hope that helps.

/will

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com
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.