Auto regenerate RSS

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

By alissibronte - August 8, 2012 - edited: August 8, 2012

Hi guys,

I just created my page RSS but I wonder if there is a trigger to catch new content in the CMS so you can return to rebuild the xml file.

When I say trigger I mean functions like newContent(), updateContent(), etc. So, for example:

if (newContent() || updateContent()){
createRSS();
}


Thank you!

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/