Alas, Feedparser tries to use a few modules that the enterprising folks at Google restricted. I haven't done any research yet, but I wonder if it is in the arena of fetching data from URLs, since app engine has its own library. I'll poke at it tomorrow.
In any case, I was very pleased with Google App Engine. Lets go over why:
- Database is not a RDBMS. Some people might scream at this issue, but the benefits we get are wonderful. Expando seems really fun to use.
- Built-in ORM. Sure, its not SQLAlchemy or the Django system, but its not that far different in approach and implementation.
- Django Templates! If I'm not doing TAL and I'm doing XHTML/XML, then my choice is Django. Templates.
- Cleanly documented. Clear and simple sentences with good examples that are working code, not doc or CLI tests.
- Easy and intuitive. This part is critical. The framework is not in the way.
7 comments:
"Cleanly documented. Clear and simple sentences with good examples that are working code, not doc or CLI tests."
I suppose that is another jab at zope.formlib and their doc tests on pypi.
I will note again that if you want understand what is in a zope library you should read the interfaces. That is what they are for.
And as far as the quoted text above doctests are by definition working code.
Universal Feed Parser isn't supported because urllib and urllib2 aren't supported (see: http://code.google.com/p/googleappengine/issues/detail?id=61).
what's the alternative to feedparser.py that would work with google appengine? anybody know?
@Lili,
My hope is that the urllib and urllib2 will be fully supported in a future GAPE release.
That or feedparser will be enhanced to work in GAPE via urlfetch. This might be a fun task.
It may be too late but look at this article
http://www.ibm.com/developerworks/opensource/library/os-eclipse-mashup-google-pt1/
they use feedparser with GAE and it works (at least at my comp, I hope it will work on GAE server as well.
FeedParser works fine at appengine. I use it as
[code]
content = fetch(url).content
d = feedparser.parse(StringIO(content))
[/code]
I currently use feedparser at http://tagsfetcher.appspot.com . For fetching tags from different sites for exmaple http://tagsfetcher.appspot.com/plone/python or http://tagsfetcher.appspot.com/zope%202
Post a Comment