On my way
In my last post, I said that I was working on a class to parse the XML feed from the NWS. Well … that is done. It’s not very fancy, but it works.
Tonite, I’ve created my own database connection class. I still want to work on it some more and maybe create a recordset class as well, but for now, the connection class is working great. I’m very proud of myself for that. I did find a little help online, but I modified what I found to work the way I want it to.
I’ve also managed to successfully set up a cron job that takes my xml parsing class and parses the weather XML feed and stores it to my database. Woohoo …
That’s the first time I’ve ever created a cron job. It wasn’t too hard to do in cPanel.
Now I’m working on the weather class. I’m going to use it to grab the data from the database and display it how I want to. The feed from the NWS only has the current conditions, not the forecast. I’m going to dig around to see if I can find a forecast one. Hopefully I can. If not, I might try to see if I can find something elsewhere … like weather.com or somewhere else. Don’t know yet. I’d rather use the data from the NWS … I trust them. It’s their job. (I should know … I was trying to get a job with them before I fell into web design.)
Well … I’m going to get back to my weather class. I’d like to get at least a little something done before I go to bed tonite. I should get off the computer at 9pm and watch CSI: NY (I’m going to watch it whether I’m on the computer or not … I’m hooked on those CSI shows) … I think being on the computer all day at work and then all nite at home is preventing me from getting a good nite’s sleep. I just haven’t been sleeping very good lately. But when I get started on a project, it’s hard to put it away.
:: EDIT (9:34pm) :: I’ve got my weather class working. Woohoo!!! Here’s a sample of what it’s doing so far. Just displaying the data … nothing fancy. I need to work in the icons for the weather conditions. I already know how I want to do that … I just need to actually do it. But I’ll save that for another nite.
working

I saw on the radar that there was one north of Grand Forks … around Grafton. I wish there were some around here (or that gas prices were lower so I could go chasing …
hungry
blah
). I called. Their hours are only ’til 8pm Eastern time. Which means I have to call before 7pm. Well … I tried. NO ONE FUCKING ANSWERS THE PHONE!! I can’t go directly to a customer service rep. I have to listen through all that account bullshit before I can even get that option. Tick, tick, tick … there goes some more cell phone minutes. And then I get to the option only to hear “All of our representatives are assisting other customers …”. Blah, blah, blah. Do they even have anyone answering phones? I guess I need to call as soon as I get up in the morning. Maybe someone will answer then.
pissedoff
…
tired
As long as it stays nice out, I’m going to start going on walks after I get home from work. But it is April, and this is North Dakota. It’ll probably get crappy and cold again. And there is rain in the forecast for tomorrow. Hopefully we won’t fall back into winter …
I really need to get into a routine. I need to drop some pounds. Exactly how much, I don’t know. I can’t remember the last time I stepped on a scale. I don’t like those things.
But I do know I have a belly I need to get rid of. Maybe if I slim down and tone up, guys will actually look at me. LOL A girl can dream, can’t she.
okay