[EMAIL PROTECTED] wrote:
Yes... flexible feed parsing is really important. Most existing parsers don't really do a good job at this.Hi,
I'm thinking of using feedparser as the base of a syndication project,
i've already used informa, after getting comfortable with it, issues such
as dtd handling and international characters cropped up.
Most existing regexp parsers can do a better job the they have an ENTIRE class off issues...
Switched to rome,You'd have to build your own mapping for your persistence layer. FeedParser provides just an event stream...
however, no hibernate support is there, have already done the hibernate
mapping for common objects for rome however some bugs are still but then
just saw feedparser.
Wondering, how flexible is feedparser in parsing malformed or slightly
inaacurate feeds, is it as flexible as universal feed parser, if there is
no dtd, "it's ok, just carry on processing"?.
It doesn't require this in the DTD... I disable it in the parser layer.
We do more in some areas but less in others I think. For example I think the Universal FeedParser can even handle out of order elements and so forth. The Jakarta FeedParser can handle XML prolog, external entities (even unknown ones) incorrect byte order markers, etc. We also take latin1 entities and replace them with their unicode literal so we don't break them.
The filter can also be disabled if you want to remain strict. By default its enabled.
Another thing, couldn't get
feedparser working, the maven dependencies are either incomplete or
inaccurate.
Yes... probably... haven't played with that much. I'm evil!
Anyway, i would love to work on feedparser. The event model is an
interesting way to go about parsing.
Thanks... if you make any changes be sure to send us patches :)
Kevin
--
Use Rojo (RSS/Atom aggregator). Visit http://rojo.com. Ask me for an invite! Also see irc.freenode.net #rojo if you want to chat.
Rojo is Hiring! - http://www.rojonetworks.com/JobsAtRojo.html
If you're interested in RSS, Weblogs, Social Networking, etc... then you should work for Rojo! If you recommend someone and we hire them you'll get a free iPod!
Kevin A. Burton, Location - San Francisco, CA
AIM/YIM - sfburtonator, Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]