Questions tagged [magpie]

Magpie is an RSS and Atom feed parser written in PHP.

Magpie is an RSS and Atom feed parser written in PHP.

More information at: magpierss.sourceforge.net

26 questions
4
votes
2 answers

Split an RSS feed into separate feeds

I'm trying to find a way to split a single RSS feed into separate feeds based on keyword matches. Yahoo Pipes was my first thought, but I couldn't find a way to do it. Although Pipes has a split module, there is only one output module available for…
jpep
  • 41
  • 1
  • 4
3
votes
1 answer

Filtering out RSS items with Magpie that contain a specific image

Working with Wordpress on this. I'm using Magpie to grab an RSS feed, but I only want it to display items that include a specific image. Here is the particular tag that I want to search for:
2
votes
1 answer

Handling different RSS Feed Formats

I am trying to create a personal job board using RSS feeds from Craigslist, Reddit, Kijiji, and Indeed. I have found a method (using magpie) to bring in the multiple feeds, however I am not able to parse any data from Indeed.ca. I tried echoing the…
BrianisBS
  • 41
  • 1
  • 5
2
votes
2 answers

simplexml_load_file vs Third party RSS parsing libraries.(PHP)

I wish to parse the RSS feed in PHP. I first found various third party libraries to do the same namely: Magpie and simplepie. But since RSS files are in XML format, PHP also has native functions of simplexml_load_file to parse a XML file. So why…
Bhumi Singhal
  • 8,063
  • 10
  • 50
  • 76
1
vote
3 answers

How to get src from CDATA in RSS?

I am fetching data from RSS feed with Magpie. $rss[description] contains CDATA with html elements: aaa
]]> Some…
lvil
  • 4,326
  • 9
  • 48
  • 76
1
vote
0 answers

RSS Feed not showing latest post

Backstory: I have a WordPress install where the core single post/archive type was utilized for a CPT by a previous developer. I was requested by the client to create a separate WordPress install for their blog, and I've been using fetch_rss to feed…
1
vote
2 answers

magpie rss and remember the milk feed url

So, I'm working for the first time with embedding a RSS (or atom, but right now I'm trying to stick to rss) feed from my Remember the Milk account in my own website. (Eventually, there will be an at a glance dashboard style thing.) Now, like I said,…
klreeher
  • 1,391
  • 2
  • 15
  • 27
1
vote
0 answers

Magpie: Have multiple images in item, but only want one

I am trying to pull the first thumbnail image of an RSS item with magpie, but it returns all them in one string if there multiple images in the item. RSS code:
jacklail
  • 21
  • 1
1
vote
1 answer

Magpie not getting media:thumbnail element

I'm creating a php script which uses a lot of rss sources. It puts the rss feeds in the database. There are multiple ways a thumbnail/image is put in an xml file. I have a problem with one specific way. When an xml file contains something like this:…
control-panel
  • 255
  • 6
  • 17
1
vote
1 answer

Best way to fetch remote RSS through authenticated proxy and parse it

I'm trying to get a remote RSS through proxy and parse it. I'm using magpierss, but it doesn't allow reaching internet through a proxy (or I don't know how to do it). I assume the option is to, first, fetch the rss with curl functions, that allows…
grajea
  • 11
  • 1
0
votes
1 answer

Retrieving Data From NOT Correct RSS

I receive an XML file with structure like this: ... ... ... I normally use MagpieRss, but this feed is not a proper RSS, so $rss->items gives me an array of 10 (real number of…
lvil
  • 4,326
  • 9
  • 48
  • 76
0
votes
1 answer

Pip Install magpie error: Command Errored out with exit status 1

(base) Niklass-MacBook-Pro:~ niklasroberts$ pip3 install magpie Collecting magpie Using cached magpie-0.1.0.tar.gz (56 kB) Collecting argparse==1.2.1 Using cached argparse-1.2.1.tar.gz (69 kB) Collecting backports.ssl-match-hostname==3.4.0.2 …
0
votes
1 answer

Magpie RSS not displaying content

I have a blog's RSS feed that I am trying to display on another website using Magpie RSS parser. It is correctly fetching the 'link' and 'title' tags, but will not fetch the content of the blog's post. In the past, I have gotten it to work, but the…
skiindude22
  • 509
  • 5
  • 22
0
votes
2 answers

MagpieRSS: Failed to fetch error

When my script parses an RSS feed from my local Apache server, it parses fine but when I upload script to the remote hosting server it gives the error: Warning: Magpie RSS: Failed to fetch (url) and cache is off in magpierss-0.6/rss_fetch.inc on…
user572371
  • 3
  • 1
  • 2
0
votes
1 answer

RSS Feeds and image extraction indepth

I have spent time trying to solve this problem and this is as far as ive got. basically im trying to pull images from rss feeds. i use magpie to process the feeds as shown below.. this snippet is within a class function getImagesUrl($str) { $a =…
Sir Lojik
  • 1,409
  • 7
  • 24
  • 45
1
2