Domanda

I have a PHP Script that loads an rss feed, parses it through Tidy (to create the object) then gets scanned through like an array to get all the values. But I am moving servers, and the new server doesn't have Tidy installed. Are there any alternatives?

È stato utile?

Soluzione

Google for "php parse rss" (less the double quotes) and you'll find lots of libraries in PHP to parse an RSS feed. Take your pick.

Here are a few:

RSS PHP

Magpie RSS

Altri suggerimenti

You can try htmLawed -- small and fast and doesn't require a PHP extension

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top