Update xml file using CMSB

4 posts by 3 authors in: Forums > CMS Builder
Last Post: August 6, 2011   (RSS)

By paulmac - June 20, 2011

Hi

Can anyone suggest the best way to update an xml file using CMSB. The xml file passes image details to a Flash file that displays rotating images.

It's to be used on a new section so I also want to be able to limit the number of images that are displayed, say the three most recently added.

Thanks for any help.

Re: [paulmac] Update xml file using CMSB

By Jason - June 20, 2011

Hi,

You can use PHP to create your XML file by adding .php as an extension. For example:
images.xml.php

You can then output your xml with your CMS Builder records embedded in them like you would on a regular CMSB page. As an example, take a look at this doc page about creating an RSS Feed:
http://www.interactivetools.com/docs/cmsbuilder/rss_feeds.html

Hope this helps get you started.
---------------------------------------------------
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] Update xml file using CMSB

By paulmac - June 21, 2011

Thanks Jason,

A bit of tweaking and it worked perfectly !