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

Christian Platt christian.platt at pharmaline.de
Fri Dec 30 05:29:08 CET 2011


Hi Stefan,

thats easy. (make an extension for this)

Just load the URL via simple xml and parse this object.

Then you have an array of these data, which you can output in a form you want.

Christian


Am 28.12.2011 um 18:00 schrieb Stefan Kaufmann:

> Dear Reader,
> 
> 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&requestType=retrieve&format=xml&stationString=KDEN%20KSEA,PHNL&hoursBeforeNow=2
> 
> This outputs the weather of some airports in the US as xml data.
> 
> I would like to use this data and fetch it so that it is displayed on my website. BTW, the data is not copyrighted and freely available.
> 
> 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?
> 
> Thanks.
> 
> -
> Stefan
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list