How can I use php to index a site using keywords?
April 6, 2010 7:05 AM Subscribe
Looking for information on developing/finding a php script to generate a Site Index (A - Z index).
posted by lyam to Computers & Internet (7 answers total) 1 user marked this as a favorite
My boss wants an A-Z index of our site of approximately 200 pages. He wants as many common words/descriptions of services in the index as possible. Obviously this would be nightmare to manually generate and maintain.
I was thinking of developing an automated solution along the lines of using key-words/tags on all pages to be indexed and then running a script to read all the pages in the site and deposit the key-words/tags and respective urls into a database. Then build the A-Z index using a script to draw the page using data from the db. I'm most familiar with php and would like to use it to spider the site.
I'm OK on all fronts except the spidering script. Can anyone steer me in the right direction with this idea?