Re: Getting comments working

Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
On Sat, 24 Mar 2007, Steve Clark wrote:

> I wouldn't mind something for the front page that listed the most recent
> comments.

a while ago, i hacked together something that does this. i set up a cron job 
to run `ls -Rtr | tail` in my datadir, every five minutes, and write the 
output to a file. the plugin reads the file and injects it in cb_filelist(). 
the output is the "Recent" section, here, near the top:

http://snarfed.org/

i haven't yet published it because of the cron job hackery. it is a nice 
feature, though. i'm open to suggestions as to how to clean it up.


> I realise I've been using pyblosxom for nearly 3 years now, but have not
> explored all it's potential. Maybe people on this list could post short
> articles on their favourite features or to highlight some of the less well
> known ones.

sure! the manual and the plugin and flavour registries are great first steps. 
i'm constantly surprised at how much i still learn from the manual, in 
particular.

http://pyblosxom.sourceforge.net/1.3.1/manual/index.html
http://pyblosxom.sourceforge.net/blog/registry?sortby=path
http://pyblosxom.sourceforge.net/blog/registry/flavours?sortby=path

-Ryan

--
http://snarfed.org/

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