vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vBulletin Google Site Map (https://vborg.vbsupport.ru/showthread.php?t=91389)

David_R 09-03-2005 04:21 AM

There is one problem/bug in script, i have set our forums threads to be visible only for current month to all guests and members.
but the script goes on calculating number of pages on all forums ?

David_R 09-03-2005 05:01 AM

Fatal error: Maximum execution time of 60 seconds exceeded in /home2/gamers/public_html/vbsitemap-multi.php on line 422

uh, i have a large site with more then 11,00,000 threads :(

krohnathlonman 09-04-2005 01:33 PM

add this to the top of the script: @set_time_limit(30000);
do NOT change your php.ini

turkforum 09-05-2005 01:39 PM

Everything went so smooth
I submit the XML file to google sitemap via my account.

For the Sitemap.xml file I got an error:

Invalid date

Here is the explaination for the error.

Your Sitemap contains one or more invalid dates. This could be because a date is in the incorrect format, or the date itself is not valid. Dates must use ISO 8601 encoding, although you can omit the time portion. For instance, the following are both valid:

2005-02-21
2005-02-21T18:00:15+00:00
Dates that are in the correct format may be invalid if they specify a future date or specify a date that does not exist (for instance 2005-15-40).


Below is how it shows date at the xml file:
<lastmod>2005-09-05T02:21:43</lastmod>

krohnathlonman 09-09-2005 11:44 PM

I'm getting this too on all of mine...

there aren't any time checks currently and theres quite a few times circumstances where the time doesn't display right.

jmw 09-10-2005 08:58 PM

I got rid of it. This thing messed up my vb.

Mr Chad 09-16-2005 09:14 PM

Please fix -_-

T2DMan 09-19-2005 06:11 PM

Quote:

Originally Posted by David_R
There is one problem/bug in script, i have set our forums threads to be visible only for current month to all guests and members.
but the script goes on calculating number of pages on all forums ?

How does the above policy work? Google in general does a deep crawl irregularly - ie monthly, and then the threads are available until they are removed/changed when Google gets a no permission error.

Google also does not even download the sitemap daily, and once spidered, takes a day or so for them to appear on Google, and a few days to start ranking high, especially for more competitive phrases.

I like Google to have the max threads possible, so I can get the max traffic possible when each thread is optimized. One month is not long enough for even Google PR to be assigned.

So despite the above, how would you want the site map generated? For monthly use, you would probably want only the previous two weeks site mapped. Please specify and I will program in. The archive version of the url's would also need the calculation done.

T2DMan 09-19-2005 10:59 PM

Quote:

Originally Posted by turkforum
Invalid date

Here is the explaination for the error.

Your Sitemap contains one or more invalid dates. This could be because a date is in the incorrect format, or the date itself is not valid. Dates must use ISO 8601 encoding, although you can omit the time portion. For instance, the following are both valid:

2005-02-21
2005-02-21T18:00:15+00:00
Dates that are in the correct format may be invalid if they specify a future date or specify a date that does not exist (for instance 2005-15-40).


Below is how it shows date at the xml file:
<lastmod>2005-09-05T02:21:43</lastmod>

On the face of it, the date is correct per the Google examples.

So all I can consider is that the date is a future date, and should have the +00:00 number of hours set.

I will make sure that all last mod dates have the gmt set.

T2DMan 09-19-2005 11:50 PM

Quote:

Originally Posted by libertate
Throwing it in the root is not clean. Why can't it go into its own folder off of forum?

Google requires it in the root, however, there is a workaround that will be in the next release. All sitemap fiels will be in their own directory, and separate from the sitemap php files.

[QUOTE=libertate]I also had the double appending problem with the domain name. www.site.comwww.site.com within the XML files.[quote]

If you don't do the setup correct, the url's are wrong. But all it needs is a browse at the xml file, and the setup corrected.

Quote:

Originally Posted by libertate
Take the db and pass from vB, and don't ask for it. This is required anyway if it's a cron job.

Most variables are as per the config, only username/password and ping are required on the html entrance page.

Quote:

Google wants an http:// after <LOC> which is not create if forgotten from the config.
The default in the config is $http="http://"; Take the risk and change it and see what happens as above.

Quote:

Also there are some problems with the "archive" folder where it appends after the file.
Like this:
www.example.com/forum/archive/index.php/f-1.html
The exact format is customisable in the config. Please let me know your exact problem - the above is the correct default format, and you can change it for your specific instance.


All times are GMT. The time now is 11:50 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02399 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete