Page 1 of 1

How do I create a static feed.xml file on save

Posted: Mon Jun 05, 2017 9:48 am
by blackrain
I would like to create a static feed.xml or feed.rss file when a new news item is created I found a couple of useful articles on https://www.cmscanbesimple.org That describe how to create a plain dynamic rss feed https://www.cmscanbesimple.org/blog/a-x ... ain-smarty which I am using and works perfectly to create a valid rss feed.

Also an article describing how to generate sitemap.xml files for various modules https://www.cmscanbesimple.org/blog/cre ... robots-txt, again great article and very useful but not quite what I am looking for.

I need to generate a static feed.xml file generated from the news feed. The reason being is that Chrome does not style the feed natively like Firefox if the feed.xml is dynamic not static. I have tested creating the feed and saving it as a static file manually then the CSS file works and the page gets styled.

I am using CMSMS 2.1.6 and have tried CGFeedMaker but think this is not supported on 2.1.6.

many thanks

Mark