Re: Put a entry in first position
Wari Wahab <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <1084527440.503.23.camel@minisync> |
There is a plugin in blosxom that works somewhat like pyinclude, that
picks up a predefined file in the current category directory. For
example http://blog/foo will pick up $datadir/foo/README.TXT and
http://blog/foo/bar will pickup $datadir/foo/bar/README.TXT
If the file is not available, nothing happens (or picks up the main
README.TXT in $datadir. Then you put in a $include('README.TXT')
somewhere in head.html and that's it, it displays category specific
intros (or headers, etc).
I believe, with some minimal python knowledge, you can modify the
include plugin to make it behave this way (heck, Will can do it in 10
minutes with about 3 lines of extra code :-P), and then call it by
another name as include does sound a bit too simple for the prizes you
can get out of this :)
I'll see what Will have to say about this.
On Fri, 2004-05-14 at 17:19, Pablo Barrera González wrote:
> Hello
>
> I've got another problem. I would like to put a entry in the top of the
> list, without looking its date. It will be some kind of introduction to
> the current category like
>
> "welcome to my weblog"
>
> "category software: This are the programs I do"
>
> I think you get it.
>
> Is there any way of doing this or should I make a plugin for change the
> default behavior of pyblosxom? I saw a plugin called pyinclude, but I
> don't know if it will fit. Any idea?
>
> Thank you
>
> Pablo
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click