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
2 answers

Problem installing LibCurl + LibXML + FeedZirra on Windows XP

I am rails newbie. I am working on Windows XP. I have this version of ruby. ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32] I have Rails 2.3.8 installed. I am trying to install feedzirra trying every possible way after watching the Rails…
gkolan
  • 1,571
  • 2
  • 20
  • 37
0
votes
0 answers

How do I check if an RSS feed has been updated or not in a Django application?

In my models.py, I have the following items: class Feed(models.Model): rss_url = models.URLField() updated = models.DateTimeField(blank=True, null=True) def save(self, *args, **kwargs): get_last_updated_date(self) # Get updated…
darkhorse
  • 8,192
  • 21
  • 72
  • 148
0
votes
2 answers

How to get only the useful part of a description from an RSS feed item?

I used python feedparser to get this item["description"] from a mashable feed: 9f4397d9c05e474fa54291507ad9c03a
darkhorse
  • 8,192
  • 21
  • 72
  • 148
0
votes
1 answer

feed problem in firefox and google

i have problem when creating feed. it's can be read by feedreader, and also shown in firefox but failed in google. this is my feed header:
justjoe
  • 5,454
  • 9
  • 44
  • 64
0
votes
1 answer

Why can't I get a date from an rss feed and set it to my Django model?

I am using feed parser to create content from an rss feed. Its something like this: import feedparser def parse_rss(rss_url): return feedparser.parse(rss_url) def generate_content_from_feed(feed): parsed_feed = parse_rss(feed.rss_url) …
darkhorse
  • 8,192
  • 21
  • 72
  • 148
0
votes
1 answer

import feed parser in my django app is throwing an error

I installed my dependencies using pip install -r requirements.txt I then went to my views but the word feedparser is throwing an error in my pycharm ide. I did pip freeze and I can see that it's installed. So I tried installing it by itself and got…
losee
  • 2,190
  • 3
  • 29
  • 55
0
votes
1 answer

Telegram bot & feed parser-> reply rss feed in 1 msg instead of 2

Im trying to get my Telegram bot to reply news via rss feed. For this I'm using the module Feedparser. Now I have managed to get it to work however the bot sends 2 separate messages per feed item. The first one has the summary of the feed and the…
Kevin
  • 37
  • 10
0
votes
5 answers

PHP parse error in rss parse function

I have a client who needs a website urgently, but I have no access to information such as the control panel. PHP Version is 4.4 Which is a pain as I'm used to 5. The first problem is I keep getting: Parse error: parse error, unexpected…
Stefan P
  • 1,013
  • 2
  • 18
  • 34
0
votes
1 answer

How do I access pubDate for RSS items using Python feedparser?

In this example RSS feed, the optional item element pubDate is included in all entries. But it is not available as a item element in the Python module feedparser. This code: import feedparser rss_object =…
Martin Burch
  • 2,726
  • 4
  • 31
  • 59
0
votes
1 answer

Feedparser: entry.title inconsistency

I am trying to parse an RSS feed using feedparser. I am getting the title like this: import feedparser url = 'http://chem.aalto.fi/en/current/events/rss.xml' feed = feedparser.parse(url) for entry in feed.entries: title = entry.title print…
apiljic
  • 527
  • 4
  • 14
0
votes
1 answer

When using res.send the entire file is not being sent

On my back end, I am getting a stream that contains the data from a website that contains much more information than is being sent from my route. From this code: feedparser.on('readable', function(){ var stream = this; var meta = this.meta; …
user5096599
0
votes
1 answer

scheduling a task not working in Python

i'm trying to schedule a task every 5 seconds, here what i did: conn = connect('mydatabase.db') c = conn.cursor() c.execute('CREATE TABLE IF NOT EXISTS RSSEntries (entry_id INTEGER PRIMARY KEY AUTOINCREMENT, title , url , date );') def…
Mounir Elfassi
  • 2,242
  • 3
  • 23
  • 38
0
votes
1 answer

atom\xml python feedparser enclosing access

How to access 'content' enclosing with feedparser? 3a496b6e Code to access 'content' d…
surge_
  • 133
  • 1
  • 2
  • 9
0
votes
2 answers

How does FeedJack fetches historical feeds

I am building a news aggregation website and I am looking for a way to fetch old feeds(of any particular website ) into the system. During this course, I stumbled on to Feedjack. It is said that it handles what I needed. So I started diving into the…
Nanda Kishore
  • 2,789
  • 5
  • 38
  • 61
0
votes
1 answer

question regarding universal feed parser

I faced a problem grabbing the content from a couple of blog feeds I have crawled. I'm uncertain what is the reason, but by parsing one or two blogs with the feedparser returns me this particular error: results = feedparser.parse(url) ent = [] …
goh
  • 27,631
  • 28
  • 89
  • 151