Exporting XML content from Database

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
sogno
New Member
New Member
Posts: 2
Joined: Mon Nov 09, 2009 6:52 pm

Exporting XML content from Database

Post 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!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Exporting XML content from Database

Post by calguy1000 »

wget -R
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Exporting XML content from Database

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
sogno
New Member
New Member
Posts: 2
Joined: Mon Nov 09, 2009 6:52 pm

Re: Exporting XML content from Database

Post by sogno »

calguy1000 wrote: wget -R
Could you explain that, please?
Sonya

Re: Exporting XML content from Database

Post 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.
Post Reply

Return to “Developers Discussion”