Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Cannot get python to read a CAP file link in an ATOM feed

Thread Tools

Cannot get python to read a CAP file link in an ATOM feed

Brian Kaplan
Posts: n/a
Hi List,
I'm trying to get python to parse a CAP file in an ATOM feed from the
National Weather Service. Here's one states ATOM feed. If you view the source
of this file, there is a reference to another web feed. For instance,
href=" arning20090212100000KY"
(note, this latter file changes hourly). I can retrieve and parse the
first file but cannot get the second file read or parsed as an xml. I
am able to read it into memory using urlopen. Can python read and
parse as an xml or do I need to read it into memory. If it is in
memory, is there a similar parsing function. Thanks Brian Kaplan
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot parseWikipedia Atom feed.... Arun Kumar Ruby 0 04-28-2009 09:01 AM
Problem of trying to get gmail atom feed in ruby Carfield Yim Ruby 0 05-30-2008 05:57 PM
Lens Cap Holder - Sima Cap Keeper Randy Given Digital Photography 39 12-27-2005 10:10 PM
Atom-Newsfeed on Website (Atom->HTML) chlori HTML 1 09-21-2005 03:43 PM
JSTL and Atom feed parsing Marc Dugger Java 0 12-15-2004 06:19 PM