Developer forum

Forum » Templates » outputing XML

Reply
I need the content of a page to be exported in xml for a flash application. the content it will be only text and some links nothing else! any idea how its possible to make it in a simple way!!

thanks a lot !

Replies

 
Reply
Hi Stavros

This can only be done if you got the module Data Lists and Dynamicweb 7.

Then you can make a list from the paragraph table with a pageid parameter.
This list can then be published as XML throught XML publications.

There will be a videogiude available on this subject within this week.

// Sebastian
 
Reply
any other suggestion on how can i make an xml file that can read the content of a page from dynamic web??
cause this client is using a custom solution of dynamic web and he is not going to update it!

 
Reply
Hi again Stavros

The only way to do it then is by making a custom module.
I published this video yesterday: http://bit.ly/4iyT7O

// Sebastian
 
Nicolai Høeg Pedersen
Reply
You can do a simple add in that loads the paragraphs of the current page and send them as xml. Attached an example of how to do that and an example of the resulting XML.

Add "&OutputXML=True" to the page, and it will return a XML document with the content of that page.
 
Reply
hi nicolai,
thank you its what i want but i want this output only for a specific page.
how can i add to  "that loads the paragraphs of the current page" ??

thanks

 

You must be logged in to post in the forum