[TYPO3-dev] Generate XML file from database tables

Brian Bendtsen bb at bellevuevej.dk
Wed Oct 15 09:09:45 CEST 2008


Hi

I have, as many times before, created a small extension where some items 
can be created and categorised.

My customer needs these items to be exportet to an xml file so other 
sites can use the information.

I need a structure like this in my xml file:

<catalog>
  <category>
   <sub_category_1>
    <item id="0">
	...
    </item>
   </sub_category_1>

   <sub_category_2>
    <item id="0">
	...
    </item>
   </sub_category_2>
  </category>
</catalog>


I have been looking at a couple of extensions for this purpose, like 
push2rss_3ds. This doesn't have a lot of configuration options though. 
Maybe it can be done by typoscript alone or maybe I should write my own 
extension.

What would be the smartest approach?

/Brian




More information about the TYPO3-dev mailing list