Monday
18 Apr 2005
8:14 pm

Newest project

I’ve finally started a project that I’ve been meaning to start for a while now. I’m redoing how the weather is handled on my websites. I didn’t like the fact that I was parsing an entire page from the NWS. I found that the NWS now has XML feeds of it’s weather data. So … I’m working on parsing the XML and storing it in my database for use later.

I’ve worked with XML stuff at work. But the class was already created to parse the XML. So … I’ve been trying to find a way to do it here at home. I did find a simple class to parse the XML. It works for now, since the XML is simple. But I’ll probably expand on it more later. I’m not sure that I’ll have any need to parse something more complex, but ya never know.

So far … I’ve got this working to parse the XML string and store it in the database. I’ve got more stuff to do … like grab the correct weather icon based on the weather conditions. I also need to see if I can find an XML feed for the forecast. I think I ran across one, but I don’t remember. I’ll just have to do more searching.

Back to the class. I want to get as much done as I can before I go to bed tonite. Once I get started on something like this, I can’t stop … or at least I don’t like to. But I need sleep too. G-grin

Mood: workingworking
Posted under web design

Comments are closed.