Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-11-12 08:21:32

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Need to parse RSS without Simple Pie and similar bots

Need to parse RSS witput simple pie and similar bots, how can I do, are there plugin other then aks_rss?
TNX

Last edited by Bongo-man (2011-11-12 08:21:57)

Offline

#2 2011-11-12 15:21:28

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Need to parse RSS without Simple Pie and similar bots

Bongo-man wrote:

Need to parse RSS witput simple pie and similar bots, how can I do, are there plugin other then aks_rss?

Similar bots? SimplePie is a parser, built specifically for handling all type of feeds. You will need some XML parser to be able to parse XML content, and something that manages caching and fetching. Whether it be SimpleXML extension with own implementation, or SimpePie or other library.

There is small weaponry of plugins for handling XML content and feeds, including:

  • smd_xml is a powerful plugin for parsing any XML content, the way you want. Uses XML Parser extension. In other words doesn’t need any extra configuration in most cases.
  • tmc_rss. Uses MagpieRSS. Neither, plugin nor library, is longer maintained.
  • bit_rss, but aks_rss”:http://textpattern.org/plugins/1080/aks_rss is based on it, is newer and still shares same concept.
  • arc_twitter also parses XML content — Twitter’s XML feeds. Uses SimpleXML extension. The weapon of choice if you are working with Twitter.

Last edited by Gocom (2011-11-12 15:24:15)

Offline

#3 2011-11-13 08:22:24

Bongo-man
Member
Registered: 2009-03-18
Posts: 243

Re: Need to parse RSS without Simple Pie and similar bots

Thank you; I hope I will able to profit of all these informations ASAP.

Offline

#4 2012-05-22 09:59:04

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 689
Website Mastodon

Re: Need to parse RSS without Simple Pie and similar bots

Just FYI: aks_rss uses simplepie 1.1.3, which throws errors, when using php 5.3++. I tried using it with simple pie 1.3dev, didn’t work.


A hole turned upside down is a dome, when there’s also gravity.

Offline

#5 2012-05-22 11:33:19

etc
Developer
Registered: 2010-11-11
Posts: 5,397
Website GitHub

Re: Need to parse RSS without Simple Pie and similar bots

etc_query parses xml (including rss, html and so on), db, json and other markups with php dom extension (5.3.8 and up). You only need some basic knowledge of XPath to use it.

Offline

Board footer

Powered by FluxBB