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, http://www.fluidthoughts.com/howto/php/content_syndication/. 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.

Tags:

No Comments, Comment or Ping

Reply to “Automatic parsing”

What's up with him lately? Avatar

Tags


korea deafness pics Life blogging Links thoughts family birthdays videos running Writings google reviews workouts design sign language adoption beers education apple psychology economics philosophy Golf languages food snowboarding traveling finance tips wordpress tech sports science identity asl reading childhood movies news coding honda travel 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 girls dating events productivity communication ego