• [MOD] Google Sitemap for your gallery 5 0 5 1
Currently:  

Author Topic: [MOD] Google Sitemap for your gallery  (Read 279188 times)

0 Members and 1 Guest are viewing this topic.

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #15 on: January 05, 2007, 09:59:27 AM »
is it so hard to put the file on your webspace and take a look?  :? :?

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: [MOD] Google Sitemap for your gallery
« Reply #16 on: January 05, 2007, 10:38:01 AM »
thanks for mod.

But
Acidgod  I see this error.

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /.../galeri/google.php on line 68
<?php echo 'Hello, World!'; ?>

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #17 on: January 05, 2007, 10:45:00 AM »
which mysql version?

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: [MOD] Google Sitemap for your gallery
« Reply #18 on: January 05, 2007, 11:23:09 AM »
thanks for reply.

my mysql version: 4.1.20-1
my php version: 4.4.2-1
my httpd version: 2.0.53-9.15
on suse linux 9.3

 :(
<?php echo 'Hello, World!'; ?>

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #19 on: January 05, 2007, 11:27:03 AM »
try to change
'users WHERE user_id >= "1"'

to
'users'

Offline Bugfixed

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Lavinya
Re: [MOD] Google Sitemap for your gallery
« Reply #20 on: January 05, 2007, 11:34:55 AM »
thanks for reply.

but some error.  :cry:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /.../galeri/google.php on line 68
<?php echo 'Hello, World!'; ?>

Offline lorddean

  • Newbie
  • *
  • Posts: 20
    • View Profile
    • ElitePhoto.eu
Re: [MOD] Google Sitemap for your gallery
« Reply #21 on: January 05, 2007, 04:08:39 PM »
is it so hard to put the file on your webspace and take a look?  :? :?
Well I tried and I found out that it listed ALL images/categories. Also those which is supposed to be non-public. I don't know anything about is, but is that smart? Or doesn't it compromise the procettion of non-public images/categories?

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #22 on: February 02, 2007, 10:36:57 PM »
how do i get the xml file ?

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #23 on: February 03, 2007, 01:10:39 AM »

1. Upload the file google.php to the root folder of 4images.
2. Modify the .htaccess to rewrite the URL of sitemap.

Code: [Select]
RewriteRule ^sitemap.xml$ google.php
Now the URL of sitemap is: http://www.yourdomain.com/sitemap.xml

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #24 on: February 03, 2007, 01:29:46 AM »
Got it thanks a lot

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #25 on: February 03, 2007, 09:40:34 AM »
i get this error

 Errors
Line:
   5
   Paths don't match
We've detected that you submitted your Sitemap using a URL path that doesn't include the www prefix (for instance, http://example.com/sitemap.xml). However, the URLs listed inside your Sitemap do use the www prefix (for instance, http://www.example.com/myfile.htm).    [?]    URL:
   http://www.mehsus.com
Line:
   14
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   11
   Paths don't match
We've detected that you submitted your Sitemap using a URL path that doesn't include the www prefix (for instance, http://example.com/sitemap.xml). However, the URLs listed inside your Sitemap do use the www prefix (for instance, http://www.example.com/myfile.htm).    [?]    URL:
   http://www.mehsus.com/cat1.htm
Line:
   20
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   17
   Paths don't match
We've detected that you submitted your Sitemap using a URL path that doesn't include the www prefix (for instance, http://example.com/sitemap.xml). However, the URLs listed inside your Sitemap do use the www prefix (for instance, http://www.example.com/myfile.htm).    [?]    URL:
   http://www.mehsus.com/cat2.htm
Line:
   26
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   23
   Paths don't match
We've detected that you submitted your Sitemap using a URL path that doesn't include the www prefix (for instance, http://example.com/sitemap.xml). However, the URLs listed inside your Sitemap do use the www prefix (for instance, http://www.example.com/myfile.htm).    [?]    URL:
   http://www.mehsus.com/cat3.htm
Line:
   32
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   29
   Paths don't match
We've detected that you submitted your Sitemap using a URL path that doesn't include the www prefix (for instance, http://example.com/sitemap.xml). However, the URLs listed inside your Sitemap do use the www prefix (for instance, http://www.example.com/myfile.htm).    [?]    URL:
   http://www.mehsus.com/cat4.htm
Line:
   38
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #26 on: February 03, 2007, 10:23:48 AM »
The Mod works fine... (o:

But you have set up google sitemap wrong...

go to google.com an setup the sitemap with www in front of your domain...

http://www.mehsus.com/google.php

and not:
http://mehsus.com/google.php

Do you understand what i meen?

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #27 on: February 03, 2007, 10:53:05 AM »
thanks a lot its done now :D

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: [MOD] Google Sitemap for your gallery
« Reply #28 on: February 03, 2007, 11:15:29 PM »
bro 1200 submitted successfully but whats this error about ?

 Errors
Line:
   14
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   20
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   26
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   32
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   38
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   44
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   50
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   56
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   62
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
lastmod
Line:
   68
   Invalid date
An invalid date was found. Please fix the date or formatting before resubmitting.    [?]    Parent tag:
Tag:
Value:    url
las

Offline Acidgod

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 2.421
  • It's me?
    • View Profile
    • Flash-Webdesign
Re: [MOD] Google Sitemap for your gallery
« Reply #29 on: February 04, 2007, 02:33:31 PM »
please post you google.php here....