Retrieve latest Topics, Posts for use in rest of website

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Retrieve latest Topics, Posts for use in rest of website

pandemoniumsyndicate
Is there an API available which would allow me to access data such as the most recently created topics or posts, and other forum data? I'm developing in PHP and if there was some means to retrieve this data that would be wonderful.

Cheers
Reply | Threaded
Open this post in threaded view
|

Re: Retrieve latest Topics, Posts for use in rest of website

Pedro
Hi,

You can use the Feeds link of your forum. You can find this link at the bottom of your forum page and it contains new topics and/or replies in the XML format. So you can parse that content with PHP (for example, with SimpleXML).
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Retrieve latest Topics, Posts for use in rest of website

pandemoniumsyndicate
Alright, how do I access the feeds via php? Is there a url I can use? There is an icon I can click, so I see the data you're talking about, but I wasn't directed anywhere that gives me a handle on what to grab.
Reply | Threaded
Open this post in threaded view
|

Re: Retrieve latest Topics, Posts for use in rest of website

pandemoniumsyndicate
In reply to this post by Pedro
Oop. think I got it. Thanks!