Feature #108
Fix RSS converter to use better parser
| Status : | New | Start : | ||
| Priority : | Low | Due date : | ||
| Assigned to : | tobi - | % Done : | 0% |
|
| Category : | backend | |||
| Target version : | Maybe Someday | |||
| Resolution : |
Description
While using db/converters/rss.rb script to move over my blog between servers (and Typo versions, and from MySQL to PostgreSQL) conversion failed at first because of missing "domain" attributes for the post categories.
While it seems these are not required by the RSS spec, it would be good thing to have them, so that rss.rb won't fail here.
So something like:
for category in entry.categories xml.category category.name, 'domain' => 'blah' end
would be nice to have.
History
10/01/2005 02:45 PM - scott -
Looking at the RSS spec, the domain attribute doesn't really seem right for our feeds. Personally, I think that the problem is with the RSS converter, not the feeds. I haven't looked into it very deeply, but I suspect that the problem is in the RSS parser that we're using. I've been meaning to pull FeedTools into Typo for a while; it looks well-tested and it would give us the ability to import from RSS 1.x as well. I'm going to leave this open but change the summary line to reflect what I'd like to see done.
03/12/2006 05:06 PM - pdcawley -
Is this a showstopper for 4.0? If not, I'd suggest moving it to the (yet to be created) 4.1 milestone.
03/14/2006 09:31 AM - kevin -
Pulling in feedtools shouldn't be hard to do, so presumably this wouldn't be a terrible amount of work. But of course adding new items to vendors/ isn't something that should be done lightly.
03/15/2006 05:34 AM - kevin -
r676 added a new converter called [source:trunk/db/converters/feed.rb feed.rb] using feedtools, though it requires you to
gem install feedtoolsyourself. Won't this provide more than enough functionality? Maybe we should pull feedtools into typo and kill [source:trunk/db/converters/rss.rb rss.rb] so nobody gets fooled anymore, or if feedtools is just used here, add error handling to [source:trunk/db/converters/feed.rb feed.rb] to give you a nice error if feed_tools isn't already available?
