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

Thanks in advance

Recommended Answers

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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.