Re: Local links again
will guaraldi <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Uhh... $base_url should point to your pyblosxom.cgi script. Given that this is typically in a cgi-bin directory and not in a document directory, I think this isn't what you want to do. Why don't you just add a thing to your config.py like this: py["my_base_url"] = "your_base_url_here_for_local_links" And then use $my_base_url in your links. Does that sound like it fixes your problem? /will On Fri, 14 May 2004, Pablo Barrera González wrote: > > Hello everyone > > Some days ago I asked about local links in the news of pyblosxom. As I > didn't find any way to day I've modified the txt parser and made > varrender.py plugin attached. > > The plugin reads the txt entries and change the $base_url string for its > value en the config file. It's not a great think but it does what I > need. If it is interesting for pyblosxom I can modify the plugin for > reading all the variables in config.py (or a subset). > > As soon as I found enough free time I will start doing the plugin for > multilingual entries. > > 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