Questions tagged [feedparser]

A Python library that parses feeds in all known formats, including Atom, RSS, and RDF.

Universal feed parser, handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds.

Links:

362 questions
0
votes
1 answer

Universal Feed Parser issue

I am working on a python script to parse RSS links. I use the Universal Feed Parser and I am encountering issues with some links, for example while trying to parse the FreeBSD Security Advisories Here is the sample code: feed =…
hDan
  • 467
  • 4
  • 19
0
votes
1 answer

python feedparser custom namespaces

I try to parse some atom feed. E.g. >>> feedparser.parse(""" 123
Nik
  • 420
  • 4
  • 16
0
votes
2 answers

Feedly.com development and feed parser

Is http://feedly.com built using PHP, Java, or some other language/framework? I have googled for some information on it, and saw that it uses JSON/REST extensively. But, I am not sure as to what feed parser is used to render images and videos into…
Israel ANY
  • 359
  • 6
  • 16
0
votes
1 answer

How to suppress FeedParser INFO messages

I am getting spammed with these : de.nava.informa.parsers.FeedParser parse INFO: Channel uses RSS root element (Version 2.0). I am calling it like this: URL feed = new URL(url); ChannelIF channel = FeedParser.parse(new ChannelBuilder(), feed); I…
Z2VvZ3Vp
  • 7,033
  • 6
  • 21
  • 35
0
votes
2 answers

Last-Modified to check feed is updated since last download

i am using PHP to read feed xml in every half an hour, as of now i am always reading whole feed file whether it is updated or not. But i want to check whether feed xml is update since last download, if updated then only read the xml otherwise not. I…
SmartDev
  • 481
  • 3
  • 11
  • 30
0
votes
1 answer

'QuerySet' object has no attribute 'url' when using feedparser in Django

This is follow up to the question from here bozo_exception in Django / feedparser I would like to iterate through many feeds from models/DB and have each of them displayed in the html template. While I do understand that I need to iterate thought…
sikor
  • 143
  • 2
  • 10
0
votes
1 answer

bozo_exception in Django / feedparser

I'm fairly new to Django and Python. I'm trying to build small RSS reader using feedparser. I'm getting this error and I can't seem to find any solutions anywhere {'feed': {}, 'bozo': 1, 'bozo_exception': TypeError("'Feed' does not have the buffer…
sikor
  • 143
  • 2
  • 10
0
votes
1 answer

feedparser media_content attribute

I am creating an RSS reader and I want to pull the url attribute of media:content using feedparser on Google App Engine, but I am running into problems when an entry doesn't have a media_content attribute. for feedURL in feedURLs: …
0
votes
2 answers

Speed up feedparser

I'm using feedparser to print the top 5 Google news titles. I get all the information from the URL the same way as always. x = 'https://news.google.com/news/feeds?pz=1&cf=all&ned=us&hl=en&topic=t&output=rss' feed = fp.parse(x) My problem is that…
jay
  • 477
  • 1
  • 9
  • 17
0
votes
1 answer

feedparser, missing entry values

I am trying to parse the following RSS feed from NOAA: http://www.nhc.noaa.gov/rss_examples/gis-ep-20130530.xml It works great except for this section: Summary - Remnants of BARBARA (EP2/EP022013)
code base 5000
  • 3,812
  • 13
  • 44
  • 73
0
votes
1 answer

python feedparser inconsistent items

I am executing these lines: import feedparser url = 'https://dl.dropboxusercontent.com/u/5724095/TutorialFeed/feed.xml' feed = feedparser.parse(url) items = feed['items'] print items[0]['links'][1]['href] Which use this feedparser module. Here is a…
FoamyGuy
  • 46,603
  • 18
  • 125
  • 156
0
votes
1 answer

feedparser doesn't give lat long with NOAA xml

Using the example url given on the NOAA rest site: http://graphical.weather.gov/xml/sample_products/browser_interface/ndfdXMLclient.php?listZipCodeList=20910+25414 And the below code: import feedparser d =…
tabx
  • 49
  • 1
  • 6
0
votes
1 answer

cannot get class method to work inside foreach loop - php

I wrote the class Link which has a method shortTolong() this should return the real URL for a shortened url by returning the 'location' response header. i tested it and it works OK here is the code public function shortTolong() { …
Yaniv Golan
  • 982
  • 5
  • 15
  • 28
0
votes
1 answer

Django rss feedparser to render through a inclusion_tag

What I'm trying to do is: Have my inclusion tag using feedparser: from django.template import Library import feedparser @register.inclusion_tag('home/dashboard.html') def rss_extract(tag): rss = feedparser.parse(tag) return {'rss':…
Modelesq
  • 5,192
  • 20
  • 61
  • 88
0
votes
0 answers

Encoding fail in Python after parsing RSS

Possible Duplicate: How to display utf-8 in windows console After parsing an RSS-feed using the feedparser package, I get an error when trying to print the title: File "C:\Python27\lib\encodings\cp437.py", line 12, in encode return…
Farid El Nasire
  • 1,753
  • 4
  • 15
  • 17