#2348: [patch] kid template should be hardcoded in FeedController's feeds.py
------------------------+---------------------------------------------------
Reporter: mapleoin | Owner:
Type: defect | Status: closed
Priority: low | Milestone:
Component: TurboGears | Version: 1.0 HEAD
Severity: minor | Resolution: fixed
Keywords: |
------------------------+---------------------------------------------------
Changes (by Chris Arndt):
* status: new => closed
* resolution: => fixed
Old description:
> Hi!
>
> I'm just copying this from the mailing list [0], hoping I'll have more
> luck in here.
>
> I think there is a problem with the FeedController when using anything
> but Kid as the default templating engine (we're using genshi). All the
> three output methods(atom1_0, atom0_3 and rss2_0) look for an .html
> file which they cannot find. Hardcoding the methods to look for a kid
> template regardless of the default (as shown in the attached diff)
> works prefectly. This had also happened to someone else before, as can be
> seen in the comment here: http://docs.turbogears.org/1.0/FeedController
>
> Thanks a lot!
>
> [0]
> http://groups.google.com/group/turbogears/browse_thread/thread/ec98386206f55655
New description:
Hi!
I'm just copying this from the mailing list [0], hoping I'll have more
luck in here.
I think there is a problem with the !FeedController when using anything
but Kid as the default templating engine (we're using genshi). All the
three output methods(atom1_0, atom0_3 and rss2_0) look for an .html
file which they cannot find. Hardcoding the methods to look for a kid
template regardless of the default (as shown in the attached diff)
works prefectly. This had also happened to someone else before, as can be
seen in the comment here: http://docs.turbogears.org/1.0/FeedController
Thanks a lot!
[0]
http://groups.google.com/group/turbogears/browse_thread/thread/ec98386206f55655
Comment:
Thanks for the report & patch. Since TG 1.0.x is in maintenance mode, and
only will receive critical bug-fixes, I will not apply your fix there. I
applied your patch to the TG 1.1 branch in r6602, but !FeedController is
deprecated there.
Please use the newer and better
[http://trac.turbogears.org/browser/projects/TurboFeeds/trunk TurboFeeds]
package.
--
Ticket URL: <http://trac.turbogears.org/ticket/2348#comment:1>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---