Forum rules

Please read our Guide to Making Ozzu Tutorials if you would like to submit your own tutorials.

TUTORIAL: Read weather from Yahoo! weather with PHP

  • thunderball
  • Born
  • Born
  • No Avatar
  • Joined: Oct 07, 2009
  • Posts: 2
  • Status: Offline

Post October 9th, 2009, 7:20 am

nevermind, i did not have php5 installed, it works :)
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 9th, 2009, 7:20 am

  • kpbca2000
  • Born
  • Born
  • No Avatar
  • Joined: Nov 15, 2009
  • Posts: 2
  • Status: Offline

Post November 15th, 2009, 11:03 am

Hello Sir your this php tutorial for xml parsing is really help full to me but can you tell me how can i get access and display the geo:lat and geo:long elements in <item> please reply as soon as possible because i am doing my MSc's dissertaion.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7128
  • Loc: Ozzuland
  • Status: Offline

Post November 15th, 2009, 12:16 pm

I'm pretty sure it's
Code: [ Download ] [ Select ]
channel->item->geo:lat
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.
  • kpbca2000
  • Born
  • Born
  • No Avatar
  • Joined: Nov 15, 2009
  • Posts: 2
  • Status: Offline

Post November 16th, 2009, 2:07 am

sorry to ask again but i managed any how to get data from geo:lat and geo:long now can any one tell me how can i get data of temp from <yweather:condition text="Mostly Cloudy" code="26" temp="57" date="Tue, 29 Nov 2005 3:56 pm PST"></yweather:condition> i am using DOMDocument() in php5.
  • Bogey
  • Disturbed
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 7128
  • Loc: Ozzuland
  • Status: Offline

Post November 17th, 2009, 9:24 pm

I don't think my previous post was correct. If it was, than ignore this post, if it wasn't, then don't ignore this post :)

Code: [ Download ] [ Select ]
channel->item->geo['lat']


I did that before and I don't really remember how I did it. I'm not in the mood to test things right now though.
Learn PHP | I got 10 PHP tutorials! Check them out!
Dreamtale - Farewell
Just a note... I've giving up on web development and that stuff... Just lost all interest in it.

Post Information

  • Total Posts in this topic: 20 posts
  • Moderator: Tutorial Writers
  • Users browsing this forum: No registered users and 3 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.