Auto regenerate RSS

4 posts by 2 authors in: Forums > CMS Builder
Last Post: August 9, 2012   (RSS)

Re: [alissibronte] Auto regenerate RSS

By Jason - August 8, 2012

Hi,

If you have CMS Builder 2.15, there is a new RSS feed code generator. This creates the RSS feed dynamically, so every time the file is accessed, it has the most current information in it.

If you don't have this (or don't want to upgrade), you create your RSS file as an xml.php page, where you dynamically pull in the information you want.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] Auto regenerate RSS

Thanks for the explanation Jason.

Now I have a doubt. Every time someone accesses the file rss.php, the server has to process the page to return the result. What I wanted was to create a rss.xml file is created only when the content changed.

What do you think about this?

Re: [alissibronte] Auto regenerate RSS

By Jason - August 9, 2012

Hi,

You can have an rss.xml.php that would update the xml whenever accessed. This would be the easiest solution.

If you wanted a "static" xml page that was updated whenever a change took place, you could create a custom plugin that would re-write the file whenever certain actions took place in the CMS.

If you're interested in this, please email consulting@interactivetools.com and we can go over some options.

Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/