dynamically changing meta keywords and descriptions
Hello everyone,
can someone point me in the right direction on how I can dynamically change meta keywords based on page content? That is, a page on restaurants should have restaurant related keywords, etc
thanks
Last edited by Alchemist; Dec 18, 2006 at 09:55.
Reason: error
Without knowing how your DB is set up, it'll be hard to give you any details, but say you are on a page displaying a particular restaurant, you'll just want to query the DB and get whatever restaurant info you have. Then just parse it into a string and Response.Write it in the meta tags.
Something Like:
1. Open Database Connection
2. Open RecordSet
3. Query Database
4. Loop through results.
5. Parse the results into a string.
6. Resonse.Write the Meta tag to browser.
Bookmarks