...

View Full Version : Dynamic Generated html webpage



macleodjb
03-14-2008, 10:56 PM
Hi guys,

I'm curious, I've seen around the web people that using rss feeds or something of the same that comes from an sql database that get's outputted into it's own html webpage.

For instance if i had an article in an rss feed like this...

title = "Joes happy hour"
body = "some nice content"

it get's outputted into a webpage called Joes_happy_hour.html with the content of "some nice content". How do you do this on the fly? Or the better question is for seo purposes how can i take an existing database with articles and generate a html webpage for each?

Inigoesdr
03-14-2008, 10:59 PM
You generally don't generate an HTML page for each article because it's just impractical. What people usually do is use mod_rewrite to get the article title from the URL(it's easier if you have the ID in the url: /12345_Joes_happy_hour.html), and then use that to fetch the article from the database on the fly.

macleodjb
03-14-2008, 11:04 PM
well that went over my head. How do you use mod_rewrite? I guess i'll google it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum