Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1134 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

[PATCH] RSS template assumes utf-8 encoding

Reported by: ksenia.marasanova@… Owned by: anonymous
Priority: normal Milestone: 1.0b2
Component: TurboGears Version:
Severity: normal Keywords:
Cc:

Description

rss2_0.kid assumes that the encoding is always utf-8. Remove encoding from template, so default kid encoding can be used.

Attachments

rss2_0.patch Download (295 bytes) - added by ksenia.marasanova@… 13 years ago.

Change History

Changed 13 years ago by ksenia.marasanova@…

comment:1 Changed 13 years ago by max

The whole turbogears.feed is a half-baked implementation unchanged I think from 0.8.x IIRC.

comment:2 Changed 13 years ago by elvelind

Yeah. It pretty much sucks at this point. I think a better way to go would be by creating template engines that outputs rss/atom. I'm working on one for atom right now.

That being said. There is no reason why we shouldn't fix bugs in the current code as long as it's in the tree. So if anybody like to commit it feel free, otherwise I'll do it when I get some time.

comment:3 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to fixed

I agree with you both the feed engine should be redone.

isn't there something outthere for RSS generation? feedparser is great. but I don't see anything about generators

this was commited on r1957 and r1958

Note: See TracTickets for help on using tickets.