How would I write a php script that gets article x from an rss feed?

Thanks in advance

Recommended Answers

What do you mean by article X?

Jump to Post

All 3 Replies

What do you mean by article X?

I mean that it might need to get article 1 or 6 or 28.

You can load it into a DOMDocument. This example shows how to loop through them all, but you can also get a node count, and get a specific one. Check the link, it will get you started.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.