weblog-add
James Hosken <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello all I've just installed pyblosxom for the first time and I'm trying to get weblog-add to work. I've set up the .htaccess and the password file but I can't work out what I need to change in the weblog-add.py file. I have changed the blog_root to where my entries are stored but I don't understand what I need to do with user2Link() def user2Link(user): ~ """given a username, return some representation of that user ~ Generally, this will be an anchor ref of a mailto URL ~ """ ~ # could also look up mail addrs via a table lookup, etc ~ return '<a href="mailto:%(user)[email protected]">%(user)s</a>' % {"user": user} Please could some one point out what I need to change to get this to work. Do I need to put a entry in py['load_plugins'] Thanks James - -- James Hosken [email protected] http://www.jamesho.co.uk GnuPG Key ID: 0x44CB1D77 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBudjf/FajwUTLHXcRAtItAKCc5NdSS0s4Geh33YvxK6l9hlnd4wCeJR0g wIxb2BoXCIVMbKRu169l5u0= =yt6j -----END PGP SIGNATURE----- ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/