23453 Posts in 18902 Topics by 2877 members
|Go to End|
27 July 2012 at 2:37am
I have embed Flash movie in the homepage of a site for IE users who do not have CSS3 Animation support. I have text content inside the movie the user needs to update. What is the best practice for outputting SilverStripe content in XML?
28 July 2012 at 1:35pm
You can use RestFul server for publishing XML representations of SilverStripe objects - http://api.silverstripe.org/2.4/sapphire/api/RestfulServer.html otherwise you can create your own controller class to output XML rather than HTML. An example of that would be the documentation search which outputs XML (Controller -> https://github.com/silverstripe/silverstripe-docsviewer/blob/master/code/controllers/DocumentationOpenSearchController.php XML -> https://github.com/silverstripe/silverstripe-docsviewer/blob/master/templates/OpenSearchDescription.ss)
|Go to Top|