문제

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?

도움이 되었습니까?

해결책

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

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top