Re: Unicode error (Long)

Francois Granger <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <a05200f6fbac61e571880@[192.168.1.20]>
At 13:20 -0700 on 18/04/2003, in message Re: [pyblosxom-users] 
Unicode error, Ted Leung wrote:
>Francois Granger wrote:
>
>>At 12:10 -0700 on 18/04/2003, in message Re: [pyblosxom-users] 
>>Unicode error, Ted Leung wrote:
>>
>>>
>>>Is your machine using an encoding besides iso-8859-1?
>>
>>
>>I am on MacOS X. And most of my posts are in UTF-8. But my python 
>>installation have no customization.
>>I can change the line saying:
>>
>>                 r = unicode(r, 'iso-8859-1', 'replace')
>
>What happens if you change 'iso-8859-1' to 'utf-8'?

Well, same message. It was just a guess.

I don't really understand the code. But I had it running with the 
MacOS X debugger to watch.

This line (line 141 of tool.py) look that it does a lot:

      return u'' + VAR_REGEXP.sub(Replacer(var_dict).replace, template)

I replaced it by:

     print var_dict
     R = Replacer(var_dict)
     print template.find('0xc3')
     return u'' + VAR_REGEXP.sub(R.replace, template)

and this is the display message

[fbg:/Library/WebServer/cgi] fgranger% ./pyblosxom.cgi
ETag: "1050482764.0"
Last-Modified: Wed, 16 Apr 2003 08:46:04 GMT
Content-type: text/html

{'datadir': '/Volumes/OS99/blog', 'load_plugins': ['conditionalhttp', 
'pycalendar', 'pycategories', 'logstats', 'logrequest', 'wordcount', 
'viewcount', 'weblogsping', 'pyfilenamemtime', 'commentdecorator'], 
'path_info': [], 'pyblosxom_version': 'CVS', 'comment_smtp_to': 
'comments-1wRMYOjwvn9Wk0Htik3J/[email protected]', 'pi_da': '', 'bl_type': 'dir', 
'root_datadir': '/Volumes/OS99/blog/', 'pi_yr': '', 'pi_bl': '', 
'entry_list': [<libs.plugins.commentdecorator.CommentDecorator 
instance at 0x78f8f0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x78f9e0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x78f9b8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x78f990>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x78fa08>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x78f968>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x78f940>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x78f918>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79a738>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79a710>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79acd8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79ad00>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79ad28>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79ad50>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79ad78>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79ada0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79adc8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79adf0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79ae18>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79ae40>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79ae68>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79ae90>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79aeb8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79aee0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79af08>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79af30>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79af58>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x79af80>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x79afa8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x79afd0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794030>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794058>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794080>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7940a8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7940d0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7940f8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794120>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794148>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794170>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794198>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7941c0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7941e8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794210>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794238>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794260>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794288>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7942b0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7942d8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794300>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794328>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794350>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794378>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7943a0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7943c8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7943f0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794418>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794440>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794468>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794490>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7944b8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7944e0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794508>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794530>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794558>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794580>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7945a8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7945d0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7945f8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794620>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794648>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794670>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794698>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7946c0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7946e8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794710>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794738>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794760>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794788>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7947b0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7947d8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794800>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794828>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794850>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794878>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7948a0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7948c8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7948f0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794918>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794940>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794968>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794990>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7949b8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7949e0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794a08>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794a30>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794a58>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794a80>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794aa8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794ad0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794af8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794b20>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794b48>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794b70>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794b98>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794bc0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794be8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794c10>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794c38>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794c60>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794c88>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794cb0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794cd8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794d00>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794d28>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794d50>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794d78>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794da0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794dc8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794df0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794e18>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794e40>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794e68>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794e90>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794eb8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794ee0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794f08>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794f30>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794f58>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x794f80>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x794fa8>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x794fd0>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0030>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0058>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0080>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e00a8>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e00d0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e00f8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0120>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0148>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0170>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0198>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e01c0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e01e8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0210>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0238>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0260>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0288>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e02b0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e02d8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0300>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0328>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0350>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0378>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e03a0>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e03c8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e03f0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0418>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0440>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0468>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0490>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e04b8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e04e0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0508>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e0530>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e0558>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e0580>, 
<libs.plugins.commentdecorator.CommentDecorator instance at 
0x7e05a8>, <libs.plugins.commentdecorator.CommentDecorator instance 
at 0x7e05d0>, <libs.plugins.commentdecorator.CommentDecorator 
instance at 0x7e05f8>], 'referrers': '<a 
href="http://mediatic.blogspot.com/" 
title="http://mediatic.blogspot.com/">mediatic.blogspot.com/... 
(29)</a><br />\n <a href="" title=""> (22)</a><br />\n <a 
href="http://www.bluesock.org/~willg/pyblosxom/" 
title="http://www.bluesock.org/~willg/pyblosxom/">www.bluesock.org/~willg/p... 
(17)</a><br />\n <a href="http://www.myelin.co.nz/ecosystem/bot.php" 
title="http://www.myelin.co.nz/ecosystem/bot.php">www.myelin.co.nz/ecosyste... 
(16)</a><br />\n <a 
href="http://roughingit.subtlehints.net/pyblosxom" 
title="http://roughingit.subtlehints.net/pyblosxom">roughingit.subtlehints.ne... 
(14)</a><br />\n <a 
href="http://cendres.net/cgi-bin/primitive/tb.cgi?__mode=list&tb_id=bl_92670020" 
title="http://cendres.net/cgi-bin/primitive/tb.cgi?__mode=list&tb_id=bl_92670020">cendres.net/cgi-bin/primi... 
(8)</a><br />\n <a href="http://blog.scriptdigital.com/" 
title="http://blog.scriptdigital.com/">blog.scriptdigital.com/... 
(7)</a><br />\n <a 
href="http://wiki.subtlehints.net/moin/PyBlosxom/BlogUsers" 
title="http://wiki.subtlehints.net/moin/PyBlosxom/BlogUsers">wiki.subtlehints.net/moin... 
(7)</a><br />\n <a 
href="http://wiki.subtlehints.net/moin/PyBlosxom_2fBlogUsers" 
title="http://wiki.subtlehints.net/moin/PyBlosxom_2fBlogUsers">wiki.subtlehints.net/moin... 
(7)</a><br />\n <a 
href="ht://fgranger.net1.nerim.net:8000/cgi-bin/pyblosxom.cgi/blogs_carnets" 
title="ht://fgranger.net1.nerim.net:8000/cgi-bin/pyblosxom.cgi/blogs_carnets">ht://fgranger.net1.nerim.... 
(6)</a><br />\n <a 
href="http://medweb5.bham.ac.uk/radiodiscuss/comments?u=1161&p=339&link=http%3A%2F%2Fradio.weblogs.com%2F0001161%2F2003%2F03%2F17.html%23a339" 
title="http://medweb5.bham.ac.uk/radiodiscuss/comments?u=1161&p=339&link=http%3A%2F%2Fradio.weblogs.com%2F0001161%2F2003%2F03%2F17.html%23a339">medweb5.bham.ac.uk/radiod... 
(5)</a><br />\n <a 
href="http://rateyourmusic.com/yaccs/commentsn/blog_id=90000023641_and_blog_entry_id=91422375" 
title="http://rateyourmusic.com/yaccs/commentsn/blog_id=90000023641_and_blog_entry_id=91422375">rateyourmusic.com/yaccs/c... 
(5)</a><br />\n <a 
href="http://roughingit.subtlehints.net/pyblosxom/" 
title="http://roughingit.subtlehints.net/pyblosxom/">roughingit.subtlehints.ne... 
(5)</a><br />\n <a href="http://www.blizg.com/search/?dc_language=fr" 
title="http://www.blizg.com/search/?dc_language=fr">www.blizg.com/search/?dc_... 
(5)</a><br />\n', 'blog_language': 'en', 'flavour': 'html', 
'calendar': <libs.plugins.pycalendar.PyblCalendar instance at 
0x78f828>, 'logfile': '/Volumes/OS99/webstats/pyblolog', 
'blog_title': 'Misc...?', 'blosxom_custom_flavours': ['comment-head', 
'comment-story', 'comment', 'comment-form'], 'depth': 0, 
'comment_ext': 'cmt', 'pyblosxom_name': 'pyblosxom', 'url': 
'http://', 'pi_frag': '', 'referrer_length': 25, 'comment_dir': 
'comments', 'base_url': 'http://', 'comment_smtp_from': 
'blog-1wRMYOjwvn9Wk0Htik3J/[email protected]', 'num_entries': 40, 'extensions': {'txt': <bound 
method PyBlosxom.defaultEntryParser of <libs.pyblosxom.PyBlosxom 
instance at 0x21f990>>}, 'categorylinks': 
<libs.plugins.pycategories.PyblCategories instance at 0x78f8c8>, 
'pi_mo': '', 'blog_description': 'All things I feel interresting 
enough to publish', 'renderer': <libs.renderers.blosxom.Renderer 
instance at 0x21faa8>, 'refer_blacklist': 
'http://fgranger.net1.nerim.net,http://192.168.1.20, 
http://francois.granger.free.fr/,http://62.212.104.100, 
http://127.0.0.1', 'comment_smtp_server': 'smtp.nerim.net'}
-1
Traceback (most recent call last):
   File "./pyblosxom.cgi", line 40, in ?
     p.run()
   File "./libs/pyblosxom.py", line 338, in run
     renderer.render()
   File "./libs/renderers/blosxom.py", line 217, in render
     self.__outputFlavour(parsevars,'head')
   File "./libs/renderers/blosxom.py", line 249, in __outputFlavour
     self._out.write(tools.parse(entry, template))
   File "./libs/tools.py", line 144, in parse
     return u'' + VAR_REGEXP.sub(R.replace, template)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 
62: ordinal not in range(128)
[fbg:/Library/WebServer/cgi] fgranger%


I then added some print statements to see the result of the Replacer.replace

Line 102-120:

         else:
             args = ()
         print key, key.find('0xc3')
         if self.var_dict.has_key(key):
             r = self.var_dict[key]

             # if the value turns out to be a function, then we call it
             # with the args that we were passed.
             if callable(r):
                 r = r(*args)

             if type(r) != types.StringType and type(r) != types.UnicodeType:
                 r = str(r)

             if type(r) != types.UnicodeType:
                 # convert strings to unicode, assumes strings in iso-8859-1
                 r = unicode(r, 'iso-8859-1', 'replace')
             print r, r.find('0xc3')
             return r

this is the result:

[fbg:/Library/WebServer/cgi] fgranger% ./pyblosxom.cgi
ETag: "1050482764.0"
Last-Modified: Wed, 16 Apr 2003 08:46:04 GMT
Content-type: text/html

blog_title -1
Misc...? -1
root -1
root -1
root -1
base_url -1
http:// -1
blog_title -1
Misc...? -1
blog_description -1
All things I feel interresting enough to publish -1
url -1
http:// -1
url -1
http:// -1
url -1
http:// -1
blog_title -1
Misc...? -1
categorylinks -1
<a href="http:///">/</a> (169)<br><a href="http:///amis">amis/</a> 
(3)<br><a href="http:///blogs_carnets">blogs_carnets/</a> (36)<br><a 
href="http:///computers">computers/</a> (27)<br>&nbsp;&nbsp;<a 
href="http:///computers/PyBlosxom">PyBlosxom/</a> 
(9)<br>&nbsp;&nbsp;<a href="http:///computers/blog">blog/</a> 
(6)<br>&nbsp;&nbsp;<a href="http:///computers/networks">networks/</a> 
(1)<br>&nbsp;&nbsp;<a href="http:///computers/spam">spam/</a> 
(2)<br><a href="http:///informatique">informatique/</a> 
(17)<br>&nbsp;&nbsp;<a href="http:///informatique/carnet">carnet/</a> 
(1)<br>&nbsp;&nbsp;<a 
href="http:///informatique/internet">internet/</a> 
(2)<br>&nbsp;&nbsp;<a 
href="http:///informatique/reseaux">reseaux/</a> 
(2)<br>&nbsp;&nbsp;<a href="http:///informatique/spam">spam/</a> 
(4)<br><a href="http:///job">job/</a> (3)<br><a 
href="http:///le_monde_comme_il_va">le_monde_comme_il_va/</a> 
(49)<br>&nbsp;&nbsp;<a 
href="http:///le_monde_comme_il_va/culture">culture/</a> 
(8)<br>&nbsp;&nbsp;<a 
href="http:///le_monde_comme_il_va/guerre">guerre/</a> 
(7)<br>&nbsp;&nbsp;<a 
href="http:///le_monde_comme_il_va/jardin">jardin/</a> 
(2)<br>&nbsp;&nbsp;<a 
href="http:///le_monde_comme_il_va/politique">politique/</a> 
(24)<br><a 
href="http:///the_world_as_it_goes">the_world_as_it_goes/</a> 
(30)<br>&nbsp;&nbsp;<a 
href="http:///the_world_as_it_goes/culture">culture/</a> 
(4)<br>&nbsp;&nbsp;<a 
href="http:///the_world_as_it_goes/policy">policy/</a> 
(16)<br>&nbsp;&nbsp;<a 
href="http:///the_world_as_it_goes/war">war/</a> (3) -1
calendar -1
<table class="blosxomCalendar">
<tr>
<td align="left"><a href="http:///2003/Mar"><</a></td>
<td colspan="5" align="center" class="blosxomCalendarHead">April 2003</td>
<td align="right"> </td>
</tr>
<tr><td class="blosxomCalendarWeekHeader">Su</td><td 
class="blosxomCalendarWeekHeader">Mo</td><td 
class="blosxomCalendarWeekHeader">Tu</td><td 
class="blosxomCalendarWeekHeader">We</td><td 
class="blosxomCalendarWeekHeader">Th</td><td 
class="blosxomCalendarWeekHeader">Fr</td><td 
class="blosxomCalendarWeekHeader">Sa</td></tr>
<tr><td class="blosxomCalendarEmpty">&nbsp;</td><td 
class="blosxomCalendarEmpty">&nbsp;</td><td 
class="blosxomCalendarBlogged"><a href="http:///2003/Apr/01"> 
1</a></td><td class="blosxomCalendarCell"> 2</td><td 
class="blosxomCalendarBlogged"><a href="http:///2003/Apr/03"> 
3</a></td><td class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/04"> 4</a></td><td 
class="blosxomCalendarBlogged"><a href="http:///2003/Apr/05"> 
5</a></td></tr>
<tr><td class="blosxomCalendarBlogged"><a href="http:///2003/Apr/06"> 
6</a></td><td class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/07"> 7</a></td><td 
class="blosxomCalendarBlogged"><a href="http:///2003/Apr/08"> 
8</a></td><td class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/09"> 9</a></td><td 
class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/10">10</a></td><td 
class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/11">11</a></td><td 
class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/12">12</a></td></tr>
<tr><td class="blosxomCalendarCell">13</td><td 
class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/14">14</a></td><td 
class="blosxomCalendarCell">15</td><td 
class="blosxomCalendarBlogged"><a 
href="http:///2003/Apr/16">16</a></td><td 
class="blosxomCalendarCell">17</td><td 
class="blosxomCalendarToday">18</td><td 
class="blosxomCalendarCell">19</td></tr>
<tr><td class="blosxomCalendarCell">20</td><td 
class="blosxomCalendarCell">21</td><td 
class="blosxomCalendarCell">22</td><td 
class="blosxomCalendarCell">23</td><td 
class="blosxomCalendarCell">24</td><td 
class="blosxomCalendarCell">25</td><td 
class="blosxomCalendarCell">26</td></tr>
<tr><td class="blosxomCalendarCell">27</td><td 
class="blosxomCalendarCell">28</td><td 
class="blosxomCalendarCell">29</td><td 
class="blosxomCalendarCell">30</td><td 
class="blosxomCalendarEmpty">&nbsp;</td><td 
class="blosxomCalendarEmpty">&nbsp;</td><td 
class="blosxomCalendarEmpty">&nbsp;</td></tr>
</table> -1
url -1
http:// -1
url -1
http:// -1
referrers -1
<a href="http://mediatic.blogspot.com/" 
title="http://mediatic.blogspot.com/">mediatic.blogspot.com/... 
(29)</a><br />
  <a href="" title=""> (22)</a><br />
  <a href="http://www.bluesock.org/~willg/pyblosxom/" 
title="http://www.bluesock.org/~willg/pyblosxom/">www.bluesock.org/~willg/p... 
(17)</a><br />
  <a href="http://www.myelin.co.nz/ecosystem/bot.php" 
title="http://www.myelin.co.nz/ecosystem/bot.php">www.myelin.co.nz/ecosyste... 
(16)</a><br />
  <a href="http://roughingit.subtlehints.net/pyblosxom" 
title="http://roughingit.subtlehints.net/pyblosxom">roughingit.subtlehints.ne... 
(14)</a><br />
  <a 
href="http://cendres.net/cgi-bin/primitive/tb.cgi?__mode=list&tb_id=bl_92670020" 
title="http://cendres.net/cgi-bin/primitive/tb.cgi?__mode=list&tb_id=bl_92670020">cendres.net/cgi-bin/primi... 
(8)</a><br />
  <a href="http://blog.scriptdigital.com/" 
title="http://blog.scriptdigital.com/">blog.scriptdigital.com/... 
(7)</a><br />
  <a href="http://wiki.subtlehints.net/moin/PyBlosxom/BlogUsers" 
title="http://wiki.subtlehints.net/moin/PyBlosxom/BlogUsers">wiki.subtlehints.net/moin... 
(7)</a><br />
  <a href="http://wiki.subtlehints.net/moin/PyBlosxom_2fBlogUsers" 
title="http://wiki.subtlehints.net/moin/PyBlosxom_2fBlogUsers">wiki.subtlehints.net/moin... 
(7)</a><br />
  <a 
href="ht://fgranger.net1.nerim.net:8000/cgi-bin/pyblosxom.cgi/blogs_carnets" 
title="ht://fgranger.net1.nerim.net:8000/cgi-bin/pyblosxom.cgi/blogs_carnets">ht://fgranger.net1.nerim.... 
(6)</a><br />
  <a 
href="http://medweb5.bham.ac.uk/radiodiscuss/comments?u=1161&p=339&link=http%3A%2F%2Fradio.weblogs.com%2F0001161%2F2003%2F03%2F17.html%23a339" 
title="http://medweb5.bham.ac.uk/radiodiscuss/comments?u=1161&p=339&link=http%3A%2F%2Fradio.weblogs.com%2F0001161%2F2003%2F03%2F17.html%23a339">medweb5.bham.ac.uk/radiod... 
(5)</a><br />
  <a 
href="http://rateyourmusic.com/yaccs/commentsn/blog_id=90000023641_and_blog_entry_id=91422375" 
title="http://rateyourmusic.com/yaccs/commentsn/blog_id=90000023641_and_blog_entry_id=91422375">rateyourmusic.com/yaccs/c... 
(5)</a><br />
  <a href="http://roughingit.subtlehints.net/pyblosxom/" 
title="http://roughingit.subtlehints.net/pyblosxom/">roughingit.subtlehints.ne... 
(5)</a><br />
  <a href="http://www.blizg.com/search/?dc_language=fr" 
title="http://www.blizg.com/search/?dc_language=fr">www.blizg.com/search/?dc_... 
(5)</a><br />
-1
Traceback (most recent call last):
   File "./pyblosxom.cgi", line 40, in ?
     p.run()
   File "./libs/pyblosxom.py", line 338, in run
     renderer.render()
   File "./libs/renderers/blosxom.py", line 217, in render
     self.__outputFlavour(parsevars,'head')
   File "./libs/renderers/blosxom.py", line 249, in __outputFlavour
     self._out.write(tools.parse(entry, template))
   File "/Library/WebServer/cgi/libs/tools.py", line 144, in parse
     return u'' + VAR_REGEXP.sub(R.replace, template)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 
62: ordinal not in range(128)
[fbg:/Library/WebServer/cgi] fgranger%


>
>>
>>>This file only got checked in last night, and doesn't have as much 
>>>documentation as it should.   If you want to support commentAPI, 
>>>then map commentAPI.cgi to an accessible path on your webserver. 
>>>You'll then need to add a new tag to your RSS 2 feed in order to 
>>>turn this on.  More docs coming tonight.  For now, see 
>>>http://www.wellformedweb.org
>>
>>
>>Well, you know, I read your RSS feed, on top of this list ;-)
>
>I"m flattered

Just to spy ;-)
And it works !

-- 
Hofstadter's Law :
It always takes longer than you expect, even when you take into 
account Hofstadter's Law.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
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.