encoding for comments
gabor <[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <1084912948.13647.11.camel@dubb> |
hi,
comments.py creates his xml files as iso-8859-1....
i thought it would be much better if he would use the blog_encoding
variable...
so..what do you think about changing some lines in comments.py into
this:
if config.has_key('blog_encoding'):
encoding = config['blog_encoding']
else:
encoding = 'iso-8859-1'
cfile.write('<?xml version="1.0" encoding="'+encoding+'"?>\n')
gabor
p.s: i also wanted to do something with the tmp-directory, because it
was not writeable by apache by me (/tmp/blog-something)...so i changed
the hardcoded address...would be nice to have a global 'blog_tmp_dir'
variable in config.py.....
-------------------------------------------------------
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=2562&alloc_id=6184&op=click