Blog titles not parsing

feeds at greenfeed.org.uk feeds at greenfeed.org.uk
Thu Oct 23 02:18:00 EST 2008


Hi Sam,

I've got Venus up and running properly now, so I'm glad.

One last thing (I hope) the subscription list on the left is not  
alphabetically sorted for blogs where the title has been pulled from  
the RSS, only where it has been added manually. Are you able to fix  
this?

Cheers,
Gordon

Quoting Sam Ruby <rubys at intertwingly.net>:

> Gordon Hodgson wrote:
>> Sam,
>>
>> The same problem of not picking up the blog titles is still there.
>>
>> Actually it only seems to be in the subscriptions list down the   
>> left hand side. From what I can tell the titles are being picked up  
>>  and put in the post headers...
>
> Looks like I needed to put this fix in two places.  I tested it this
> time with your actual config.ini, so it should work.
>
>> Thanks for your help,
>>
>> Gordon
>
> - Sam Ruby
>
>> On 11 Oct 2008, at 16:25, Sam Ruby wrote:
>>
>>> Gordon Hodgson wrote:
>>>> Cheers,
>>>> I'm now getting the following error:
>>>> DEBUG:planet.runner:Processing template   
>>>> /home/greenfee/public_html/venus/themes/classic_fancy/index.html.tmpl   
>>>> using tmpl
>>>> Traceback (most recent call last):
>>>> File "/home/greenfee/public_html/venus/planet.py", line 68, in ?
>>>>  splice.apply(doc.toxml('utf-8'))
>>>> File "/home/greenfee/public_html/venus/planet/splice.py", line   
>>>> 118, in apply
>>>>  output_file = shell.run(template_file, doc)
>>>> File "/home/greenfee/public_html/venus/planet/shell/__init__.py",  
>>>>  line 66, in run
>>>>  module.run(template_resolved, doc, output_file, options)
>>>> File "/home/greenfee/public_html/venus/planet/shell/tmpl.py",   
>>>> line 258, in run
>>>>  output.write(tp.process(template))
>>>> File   
>>>> "/home/greenfee/public_html/venus/planet/vendor/htmltmpl.py",   
>>>> line 548, in process
>>>>  loop_total, globalp))
>>>> UnicodeEncodeError: 'ascii' codec can't encode character   
>>>> u'\u2019' in position 18: ordinal not in range(128)
>>>
>>> Sorry about that.  I've pushed out another change... again to the   
>>> same file.
>>>
>>> - Sam Ruby
>>>
>>>> On 11 Oct 2008, at 14:15, Sam Ruby wrote:
>>>>> On Sat, Oct 11, 2008 at 8:56 AM, Gordon Hodgson   
>>>>> <feeds at greenfeed.org.uk> wrote:
>>>>>> Many thanks.
>>>>>>
>>>>>> Can I just redownload the files off the website, or do I need to do
>>>>>> some fiddly pulling thing. I don't have terminal access for security
>>>>>> reasons but I can use cron (a loophole?)
>>>>>
>>>>> You should only need to replace the following file:
>>>>>
>>>>> http://www.intertwingly.net/code/venus/planet/shell/tmpl.py
>>>>>
>>>>>> Gordon
>>>>>
>>>>> - Sam Ruby
>>>
>>>
>>
>>





More information about the devel mailing list