Re: Latest CVS on windows
"Chris Moffitt" <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
> Chris Moffitt wrote:
>> Ok, makes sense that I should give it a stab - since I'm the one that
>> wants it!
>> I'm having a little trouble figuring out where the file_path variable
>> is.
>> I tried data['file_path'] and it errors out on me.
>
> Sorry about that, this trick is actually one of the more advanced plugin
> mechanism that's avaiable in pyblosxom, and I don't think it's
> documented anywhere at all. :) But that's ok, I've got a working example
> of this plugin, and tested to be working.
Thanks. At least I don't feel quite so stupid now ;)
However, it's still not working quite right for me. This may seem weird,
but it looked like it worked - once, then it stopped.
Here's what a portion of my story.html looks like -
body
<br />
$dospath2uri('file_path')
$file_path
<br />
Make sure I'm editing the right one.
For some reason, the dos2pathuri isn't returning anything. If I modify
dospath2uri to have the following line -
data["dospath2uri"] = "junk"
Then the word junk appears so I know it's being called. For some reason,
it's just not returning aything.
-Chris
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01