Automatic parsing

All morning I’ve been working on php to retrieve the latest post from the blog.html to the front page since I don’t want to put all entries on my front page. It wasn’t as easy as I thought it would be. I mean, I have an idea of how to do it but wasn’t able to figure out the codes right till I found this page that was really helpful. I want to give credits to the man who shared the codes, I was about half way in the codes and this page basically answered my other half problem, which was to capture the line number and keep going till the last line number that you want to parse.

Now, it’s working beautifully but one more thing remains to be solved, which is to tell the cpu to select the latest post in the archives folder. Right now, the filename is hard-coded. Hope it wouldn’t take as long as this one.


No Comments, Comment or Ping

Reply to “Automatic parsing”


korea deafness Life pics blogging thoughts Links birthdays family Writings videos adoption running google reviews workouts design sign language beers apple psychology economics philosophy education Golf languages travel food snowboarding traveling finance tips wordpress tech sports science identity asl reading childhood movies news coding honda shoes people buildings beauty surfing nature twitter obama blackberry howto time toys ergonomics party dreams textmate speeches wiki gmail san francisco dinosaurs extinction trains technology hydration element bike human capital deaf olympics xbox dating productivity communication ego hockey iphone