This topic is locked

List results to XML format

3/5/2009 12:26:14 AM
ASPRunnerPro General questions
A
agruspe author

I am using the standard events template and there is a requirement to include Simile Timeline widget as part of the project.
Is it possible to export list page results information to XML so that it will result is formatted to a code similar to below:

<data>

<event start="May 28 2006 09:00:00 GMT" end="Jun 15 2006 09:00:00 GMT" isDuration="true"

title="Writing Timeline documentation" image="http://simile.mit.edu/images/csail-logo.gif">;

A few days to write some documentation for <a href="http://simile.mit.edu/timeline/">Timeline</a>;.

</event>

<event start="Jun 16 2006 00:00:00 GMT" end="Jun 26 2006 00:00:00 GMT" title="Friend's wedding">

I'm not sure precisely when my friend's wedding is.

</event>

<event start="Aug 02 2006 00:00:00 GMT" title="Trip to Beijing" link="http://travel.yahoo.com/">;

Woohoo!

</event>

</data>


Additionally, is it possible to add this as a menu item. I am planning to use an empty table to create the menu item and then redirect the list page to call another page with the Timeline frame loaded.
Any suggestions (preferably with sample code) are welcome.
PS.

I also purchased the templates pack and would like to include Timeline as part of the calendar template. Is this possible

J
Jane 3/5/2009

Hi,
this task can be accomplished editing generated ..._export.asp file manually.

Use ExportToXML function as a base.

Unfortunately we don't have a ready to go solution for this.