Re: A question and a little praise

"Rune Morling" <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hi everyone,

Doesn't Nathan have a point?

Nathan Bullock wrote:
> Hello Everyone,
>
> I was writing a story.rss2, flavour file. And in it I
> needed the url of the current item so I used this,
> $url$file_path, which seems to work fine except when
> there are spaces in the filename. It leaves the spaces
> in instead of escaping them like '%20' (I think that
> is the proper url encoding). Is there a variable like
> $file_path that has the proper escaping?

Maybe someone with the proper connection to the force
(and CVS commit access) could investigate the
s/" "/"%20"/ issue/solution in fileentry.py?

If this is a problem, it must be a general problem when it comes to
referencing filenames in templates, or am I mistaken?

I personally hold the opinion that there really is no reason
it shouldn't 'just work(tm)' with blanks in filenames...

Also, Nathan, I believe there exist a better solution than my pyrss2 plugin.

I read a post on this list about someone having whipped up an rss2
formatter thingy that doesn't use the template approach. Maybe someone
here could kindly nudge you in the right direction :D

Kind regards,

- rune

-- 
"Help! Gremlins!"



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
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.