954,597 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Create and populate landing pages dynamically using feed

Hi guys

I am trying to create multiple landing pages populated dynamically with data from a feed.

My initial thought was to create a generic php page as a template that can be used to create other pages dynamically and populate them with data from a feed. For instance, the generic page could be called landing.php; then populate that page and other pages created on the go with data from a feed depending on an id, keyword or certain string in the url. e.g http://www.example.com/landing.php?page=cars or http://www.example.com/landing.php?page=bikes will show contents that are either only about cars or bikes as the case may be.

My question is how feasible is this approach and is there a better way to create multiple dynamic pages populated with data from a feed depending on the url query string or some sort of id.

Many thanks for your help in advance.

newboi
Newbie Poster
7 posts since Apr 2009
Reputation Points: 10
Solved Threads: 0
 

loads of sites do this, however, some of them use apache mod rewrite to make the urls look a little prettier, e.g. http://www.example.com/landing/bikes as opposed to http://www.example.com/landing.php?page=bikes

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,796 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: