Page 1 of 1

Exporting XML content from Database

Posted: Mon Nov 09, 2009 7:05 pm
by sogno
Hi there,

I need to export an XML file grabbing data from CMSMS database (something like a feed...).
I guess that database entries reports template insert string too, so I cannot make a simple read from a recordset, but I should need a method to "decode" template strings.

I'll try to explain that..
Imagine that my page contains something like this: "Lorem ipsum dolor sit amet... {module="mymodule" param="myparam"}"
I need something like this instead: "Lorem ipsum dolor sit amet this is the text produced by mymodule"

Is it possible? Is there any plugin that make this for me?

Last question: is there a way to embed a flash movie/animation into my client-side page?

Thanks a lot!

Re: Exporting XML content from Database

Posted: Mon Nov 09, 2009 7:12 pm
by calguy1000
wget -R

Re: Exporting XML content from Database

Posted: Mon Nov 09, 2009 8:04 pm
by Rolf
I'll try to explain that..
Imagine that my page contains something like this: "Lorem ipsum dolor sit amet... {module="mymodule" param="myparam"}"
I need something like this instead: "Lorem ipsum dolor sit amet this is the text produced by mymodule"

Is it possible? Is there any plugin that make this for me?
I'm not sure I understand your question, but: http://dev.cmsmadesimple.org/projects/lipsum  :-\
Last question: is there a way to embed a flash movie/animation into my client-side page?
There are several modules in the forge, for example http://dev.cmsmadesimple.org/projects/play
You can also use the Media plugin within TinyMCE.

Regards, Rolf

Re: Exporting XML content from Database

Posted: Tue Nov 10, 2009 9:33 am
by sogno
calguy1000 wrote: wget -R
Could you explain that, please?

Re: Exporting XML content from Database

Posted: Tue Nov 10, 2009 10:53 am
by Sonya
sogno wrote: I need to export an XML file grabbing data from CMSMS database (something like a feed...).
I guess that database entries reports template insert string too, so I cannot make a simple read from a recordset, but I should need a method to "decode" template strings.
There is no way to get "decode" template string from the database. The page content saved in the database should be parsed with Smarty to get the HTML output the same way you see it in the browser. However, there are some solutions for getting parsed content from HTML. Please describe the purpose of what you are going to do exactly.