One RSS feed from more than one section?

2 posts by 2 authors in: Forums > CMS Builder
Last Post: June 30, 2011   (RSS)

Re: [NigelGordijk] One RSS feed from more than one section?

By robin - June 30, 2011

Hey Nigel,

You can do it, but it gets more complicated.

From the example, you'll have to fill $newsRecords with a SQL query. Something like:

$newsRecords = mysql_query_fetch_all_assoc("SELECT * FROM news INNER JOIN newsLinks");

You'll also need to create the $record['_link'] value yourself to point to wherever you want the link to go.

Hope that helps,
Robin
Robin
Programmer
interactivetools.com