Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Google Sitemaps Mini-mod (Beta)
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 9

Podge
Support Moderator

Ireland
3775 Posts

Posted - 26 January 2007 :  08:28:32  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
Borge, change this line

strSql = "select top 500 T.TOPIC_ID, T.T_LAST_POST  FROM <snipped>


to

strSql = "select T.TOPIC_ID, T.T_LAST_POST  FROM <snipped>


That should return all topics, not just the top 500.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

borge
Junior Member

Norway
185 Posts

Posted - 26 January 2007 :  14:32:07  Show Profile  Reply with Quote
quote:
Originally posted by Podge

Borge, change this line

strSql = "select top 500 T.TOPIC_ID, T.T_LAST_POST  FROM <snipped>


to

strSql = "select T.TOPIC_ID, T.T_LAST_POST  FROM <snipped>


That should return all topics, not just the top 500.

Thanks podge, I owe you a pint, slainte! <

borge
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 26 January 2007 :  14:34:30  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
De nada, mate.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

bobby131313
Senior Member

USA
1163 Posts

Posted - 27 January 2007 :  12:47:38  Show Profile  Visit bobby131313's Homepage  Reply with Quote


Has anyone adjusted the code yet to include archived topics? It was discussed a little on this page, but I haven't seen that anyone actually did it.

<

Switch the order of your title tags
Go to Top of Page

Lon2
Junior Member

USA
151 Posts

Posted - 11 February 2009 :  20:38:50  Show Profile  Reply with Quote
Noob here. Not sure if this has been covered before but is there any way to run a TSQL or SQL Query directly on the database to avoid time-out issues with ASP and capture more URLs?<

Edited by - Lon2 on 12 February 2009 11:50:19
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 12 February 2009 :  12:21:13  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
You could write a stored procedure. The best way would be to generate xml files and update them periodically. If you increase the time out on the asp page you could run the script, save the result as sitemap.xml. Then upload it to your server on a weekly basis and point google to it (as opposed to the sitemaps.xml.asp file).<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 31 October 2012 :  23:57:50  Show Profile  Reply with Quote
Hi Podge,
Thanks for your kind efforts to make it happen. Just one thing I would like to know that sitemap is good with topic name/title or ID,

topic.asp?TOPIC_ID=9917

as in this case topics cannot be searched on subject of the title? Your input please...since I am using sitemap first time so might be not a valid question.

tks
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 01 November 2012 :  00:42:17  Show Profile  Reply with Quote
One more thing I would like to know is that currently the query is picking 500 topics from the list which is sorted on topic ID descending means recently created topics,

strSql = "select T.TOPIC_ID, T.T_LAST_POST FROM " & strTablePrefix & "TOPICS T, " & strTablePrefix & "FORUM F WHERE T.FORUM_ID = F.FORUM_ID AND

F.F_PRIVATEFORUMS = 0"
strSql = strSql & " ORDER BY TOPIC_ID DESC LIMIT 0,500"

do you suggest we should change this limit and also if we should change on order by from topic_id to any other field like last_update_date or number of visits....etc

tks
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 07 November 2012 :  14:35:38  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
You can change the order by or limit if that's what you want.

I'm not sure why you would want to "search by title" ? The sitemap if for search engines like google so that they index the topics you think are important. The link to the topic is what's important, the search engine will follow it and index it as normal.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page
Page: of 9 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.11 seconds. Powered By: Snitz Forums 2000 Version 3.4.07