Forum Moderators: coopster & phranque

Message Too Old, No Replies

Script to generate meta tags

Could somebody explain me about the script to auto generate meta tags

         

Digimon

2:41 pm on Jul 4, 2002 (gmt 0)

10+ Year Member



Hello all, We've got one of those data driven sites with lots of pages generated dinamically from little js pieces. We are developing one of those scritps wich turns the dinamic pages into html static ones to be able to do a site map linking to all of them. We would also like to create meta tags for all these pages but I'm not sure how to do it in a automatic way, trough a script or something, could anybody with experience in this field help me?

Thanks a lot.

jatar_k

12:55 am on Jul 5, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Hey Digimon,

I will take a shot since this has been hanging since this morning. I admit I didn't respond this morning because I am not quite sure what you are asking. You can dynamically include meta tags on seperate pages a number of ways with a number of languages.

With php I have called them from a database, Included seperate files for each set of tags, had a big lump of tags on one page and read the pagename to know which set to put on the page. I am sure I have used other methods as well but can't think of them off the top of my head.

Is this what you are asking? If not maybe you can give us a little more specific info and I, or someone else, can maybe give you a better answer or one that is tailored to your situation.

Digimon

4:49 pm on Jul 6, 2002 (gmt 0)

10+ Year Member



The fact is that we have a costumer with a site designed with little js pieces inserted in three basic templates. One programmer is preparing a script to get the js and dinamically generated pages into static html pages. But I also would like to get a script to generate meta tags (mostly title) for this static html pages. The base templates are three so there are some places in the page from wich we always could take the addecuate words for title and I think should have some way to do it: extract the words from the page and place them in the title tag.....

Do you know what I mean?