Jump to content

Using weather XML file in a html code

- - - - -

  • Please log in to reply
2 replies to this topic

#1
vaironl

vaironl

    Programmer

  • Members
  • PipPipPipPip
  • 117 posts
Hello forum, I have a question which consist of doing some challenging things (for me).
I want to know how can I use the XML on this website API - XML - WunderWiki
To update the weather on my html test website.

I know the data provider says to not use it for commercial purposes. But I'm just trying to learn how to use it to make a basic query type of website

#2
Revolt

Revolt

    Programmer

  • Members
  • PipPipPip
  • 99 posts
You'll need to use a server side language (PHP or ASP.Net are the most popular) for that valroni.

You get the XML file, parse it and generate the respective html using the aforementioned language.

#3
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Take a look at XSLT (XSLT Tutorial) it take a xml file, and transform it in html
And you can use it with php with thoses functions (PHP: XSL - Manual)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users