Posted by Gary on 11/17/05 14:00
Hi all
I've written some php code that does the following to run on my own
site at: http://www.menkaura.com/Forum/index.php
The code canbe downloaded directly at:
http://www.menkaura.com/Forum/index.php?topic=212.0
1. Reads all the topics in the SMF database.
2. Create an 'htm' file of the topic in a directory called '/SEO/'
just off your root directory.
3. Insert into this htm file your keywords generated from the topic
title. Words contained in a bad_words table will be excluded from
the keywords that appear in the title.
4. Create a MySiteMap.htm file with all the topic links. Link this
file in your own site index.htm file and let Google do the rest.
5. First change some of the variable values to reflect your particular
setup.
6. I suggest that you run this script as a cron job as appropriate.
I make no claims of being a coder or indeed to have any great insight
into the in's and out's of SMF so be gentle a lads and lady's ....
The code should at least make all of your posts available for Google
indexing. Let me know how you get on what you think.
Regards, Gary
[Back to original message]
|