Forum Moderators: coopster

Message Too Old, No Replies

How to generate dynamic meta tag content?

Dynamic meta tag

         

vetrib2w

10:13 am on Jan 19, 2009 (gmt 0)

10+ Year Member



Hi i am trying to generate the meta tag dynamically From the description of the content .Is it possible ?please provide some help..
If we provide the content then it jsut split the content into tags only with the keywords by omitting unwanted words like is ,or ,the, ,to ,etc..
For example:
CONTENT:I am trying to display meta tags dynamically.
TAGS: trying,display,meta,tags,dynamically.

enigma1

2:05 pm on Jan 20, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Dynamically, then you must have a database in place or a similar storing mechanism. Retrieve the content and then instead of trying to filter every irrelevant word, define the words of interest.

If the words say are
trying,display,meta,tags,dynamically

Then split the page content (you must have some description column in the dbase), and check if any of the keywords is present. So if we have a description "I am trying code for meta tags" the keywords will be:
trying,meta,tags
Because the code will check against the words of interest.

Title and description for meta-tags are far more important. So if you have them in the dbase should be easy to retrieve them based on the page that is accessed and set them up.