Google Sitemaps Mini-mod (Beta) - Posted (18489 Views)
Support Moderator
Podge
Posts: 3776
3776
This should plug and play into most Snitz forums. Tested on v3.4.05
Not fully finished but it works. Based on the original rssfeed.asp by Richard Kinser (uses getrows so its fast).
Demo here Code here Stylesheet here - http://demo.forumco.com/sitemap.xsl

MySql Verision here
Save the text file as sitemap.xml.asp and upload to your main forum directory. Submit to Google here - https://www.google.com/webmasters/sitemaps/stats

I'm still waiting for Google to validate my sitemap but it validated ok with another validator so it should be ok.
Currently it lists all those topics not in private forums. I will add default.asp, forum.asp, etc. later
Should I add members.asp and all of the members pages? e.g. http://forum.snitz.com/forum/pop_profile.asp?mode=display&id=1049


For bugs, issues, feature requests, suggestions etc., please reply here.

<
 Sort direction, for dates DESC means newest first  
 Page size 
Posted
Senior Member
muzishun
Posts: 1079
1079
Worked pretty well for me. Waiting on Google to validate mine now.
I would like to see the members.asp and members pages added, along with the other pages you mentioned. Perhaps that's just because I want to see that my site gets indexed as much as possible, but if it won't hurt to index more of your site, why not go ahead, right?<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Forum Moderator
dayve
Posts: 5820
5820
it seems to need a Script Timeout for larger forums.<
Posted
Development Team Leader
Classicmotorcycling
Posts: 2085
2085
With-in 2 hours Google had Sitemapped me.<
Cheers,

David Greening
Posted
Support Moderator
Podge
Posts: 3776
3776
I know there's a phpbb sitemaps mod which has every single page (almost) of phpbb included. The vBulletin one doesn't include members. I think members pages should be included but I can make it configurable.

Dayve, how many topics do you have?<
Posted
Support Moderator
Podge
Posts: 3776
3776
Updated to include member profiles and some forum pages.
Just replace the old file and you should be good to go.
Code here <
Posted
Retired Support Moderator
MarcelG
Posts: 2625
2625
Updated to include member profiles and some forum pages.
Aren't Members Profiles pages non-public ?? Sorry, spotted the option to hide the members-pages... <
Posted
Support Moderator
Podge
Posts: 3776
3776
Now you tell me smile
I'll remove them.<
Posted
Support Moderator
Podge
Posts: 3776
3776
Sorry, spotted the option to hide the members-pages...

It was commented out. No point in having it there anyway, it just adds substantial processing time and the links won't be indexed.
Has anyone tried this on a large forum? I submitted one to Google and got a 404 error. It wasn't a script timeout issue. I presume it was because it took a while to generate and Google couldn't download it i.e. they must be using a timeout value. Changing buffering to false may send a 200 response before the full page is generated.<
Posted
Senior Member
muzishun
Posts: 1079
1079
Do you still have the code for the file that will show the members pages? There's some code left behind in the current version you've got that is from the members version. My forum is fairly small, so I don't anticipate Google having any problems indexing anything.<
Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Posted
Support Moderator
Podge
Posts: 3776
3776

Updated the file to include members (configurable) and printer friendly pages.
To turn on members change this line near the top to "true"

showMembers = "false" ' set to true or false if you do not want member profiles to be shown or not shown
<
You Must enter a message