How to create non-HTML page

Using cloudCMS, not only you can create HTML pages but other type of content pages (like JavaScript, JSON, XML, CSS etc) with full support of Freemarker api. All this can be done by just setting correct "Content Type" in page editor.
For example to create a XML page, just put any static or dynamic (using Freemarker api) XML tags in page and set "Content Type" to "application/xml".
Also to make sure XML page can be served directly (without using any layout) set "Standalone" attribute to yes in editor. Now when you view this page, browser will correctly recognize it as XML content.

Using this feature, you can provide mash-up content for others in XML or JSON format.


blog comments powered by Disqus

Last Modified : Jul 18, 2009 11:32:04 PM