Hi there,
I'm using the news module v2.
Is it possible to access the news items via XML?
I tried through the rss feed, but i am missing the oppertunity to get information about image etc.
cheers
Kristoffer
Hi there,
I'm using the news module v2.
Is it possible to access the news items via XML?
I tried through the rss feed, but i am missing the oppertunity to get information about image etc.
cheers
Kristoffer
Hi Kristoffer
If you want to access the output as XML, you have to attach an XSLT template instead of an HTML template.
When that is done you add '&savetemplatexml=true' to the URL and then it will create {templatename}_TestData.xml in the same folder where the template recides.
Then you just start transforming.
// Dammark
Dammark wrote:
Hi Kristoffer
If you want to access the output as XML, you have to attach an XSLT template instead of an HTML template.
When that is done you add '&savetemplatexml=true' to the URL and then it will create {templatename}_TestData.xml in the same folder where the template recides.
Then you just start transforming.
// Dammark
just to make sure I understand what you mean, I have to change the template in the news module (Template - Liste) to a xslt template instead of the html template?
thanks.
Exactly ... ;)
Dammark wrote:
Exactly ... ;)
So, if i want to have my xml updated with the lasted news item, i have to paste "&savetemplatexml=true" to the url every time my news template loads, or is there a workaround to get my xml updated with the newest products?
thanks again ;)
Hi Kristoffer
It depends on your situation ...
If it's because you wanna use XSLT for your templates then no. Then the XML file is just for reference.
But if you want to use some XML for flash, then you can do this way.
And you can also make flash call the website with '&savetemplatexml=true' and the nload the XML file afterwards.
// Dammark
You must be logged in to post in the forum