0

I want to be able to read any well-formed RSS/ATOM file. That would mean I would not not know the tags, start the loop and the fields. How do I go about doing it in PHP.

Thanks Jean

2
  • Do you want to read any random well-formed RSS/ATOM file? Commented Apr 22, 2010 at 11:53
  • Technically correct words. Yes thats what I want to do Commented Apr 22, 2010 at 11:56

2 Answers 2

1

You can try Zend Framework's feed class.

But you should be more specific about your task..

Sign up to request clarification or add additional context in comments.

2 Comments

I want to be able to do it from scratch without the assistance of any frameworks, would it be possible?
Sure it is possible :) If you say that you want to read well formated rss/atom feed, first what you want to do is examine rss/atom specifications ( cyber.law.harvard.edu/rss/rss.html / rss-specifications.com / atomenabled.org/developers/syndication/atom-format-spec.php ) and then write your own class/parser.
0

You can use SimpleXML http://php.net/manual/en/function.simplexml-load-string.php

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.