[TYPO3-english] integrating xml output into a typo3 site, how?

Christoph Hermann hermann at informatik.uni-freiburg.de
Wed Dec 28 18:51:33 CET 2011


Am Mittwoch, 28. Dezember 2011, 18:00:46 schrieb Stefan Kaufmann:

Hello,

> I am trying to integrate xml data (Aviation Weather) into a Typo3
> webpage. The xml data is produced by a server when the following request
> is made:
> 
> http://weather.aero/dataserver_current/httpparam?dataSource=metars&requestT
> ype=retrieve&format=xml&stationString=KDEN%20KSEA,PHNL&hoursBeforeNow=2

> What would be the best way to achieve this?
> I would like to use a form where the user enters the airport identifier
> and then the weather is retrieved by using the xml output above.
> 
> Can someone point me into the right direction?
> 
> Is there an extension that woulld help? e.g. formhandler?
> Would I need so me php code to get the xml?
> How do I integrate it all into the webform?

Just use an xslt transformation:
http://typo3.org/documentation/document-library/extension-
manuals/xslite/1.2.0/view/1/1/

cheers
Christoph

-- 
Christoph Hermann
Institut für Informatik
Tel: +49 761-203-8171 Fax: +49 761-203-8162
e-mail: hermann at informatik.uni-freiburg.de


More information about the TYPO3-english mailing list