1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google Sitemap Generator for osCommerce MS-2.2 stores

Discussion in 'Google Sitemaps' started by Chemo, Jun 11, 2006.

  1. Strunch

    Strunch Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #21
    Thanks for the reply. An example would be very helpful.
    :eek:
    SEMrush
     
    Strunch, Jun 18, 2006 IP
    SEMrush
  2. panzz

    panzz Guest

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #22
    Hi Chemo,

    great to hear from you, hope you will provide us more osc code! :)

    After commet out the application_bottom.php the new Sitemap Contrib will work prefect for me.

    Many thanks.

    Best,
    Panzz
     
    panzz, Jun 19, 2006 IP
  3. bakdoor

    bakdoor Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #23
    Hello Bobby, nice to see you back. Forgive my ignorance, but how do i implement this script. I have been trying to get your GoogleSitemapXML v1.3 to work but keep getting:

    'Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@mysite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.34 Server at www.mysite.com '

    All files are in the correct directory (catalog) and the 3 dummy files are all 777

    (Ulti SEO Urls is installed) Actually, you installed for me!
    Any help would be appreciated.
    Thanks
    bakdoor
     
    bakdoor, Jun 20, 2006 IP
  4. nicolas95

    nicolas95 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #24
    Hello Bobby, Glad to see you parmis us

    I installed googleSitemapCategories.php

    Is Go well .

    I installed googleSitemapProducts.php

    It does not function

    I obtain the message “Impossible to post the page”

    I have 18000 articles.

    How to make? :confused:

    Nicolas

    Thank you in advance for your answers
     
    nicolas95, Jun 20, 2006 IP
  5. bakdoor

    bakdoor Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #25
    Hello, I'm getting the following error when trying to run this script: I have the script installed at

    /catalog/googleSitemapCategories.php

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Any help would be appreciated.
    Thanks
     
    bakdoor, Jun 22, 2006 IP
  6. bakdoor

    bakdoor Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #26

    Well, the solution was as simple as changing permissions to 755
     
    bakdoor, Jun 23, 2006 IP
  7. Chemo

    Chemo Peon

    Messages:
    146
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #27
    That is the old version on osC servers...try using the one on here (first post)

    Bobby
     
    Chemo, Jun 23, 2006 IP
  8. Mamram

    Mamram Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #28
    Hello Chemo,

    Thank you for the useful code you're releasing to the osCommerce compunity.

    It makes me happy to see you're finally back to rock'n'roll :)

    I'm sure we all agree that your contribiutions are among the most useful that are available for osCommerce.

    A questions about the Sitemap Generator:

    I trying to make it work on an Hebrew site(windows-1255) and the links are displayed gibberish, e.g. :

    http://www.domain.com/îæåä-îåëñ-áòåá-éå÷úé-åîøðé-p-13.html

    I was getting the same results with Ultimate SEO Url's, unless I disabled W3C Url's or removed the utf8_encode() from the seo.class code.

    So, I tried to remove the utf8_encode() from the generator code, but this time it didn't work, and gave gibberish of another kind:

    http://www.domain.com/????-????-????-?????-??????-p-14.html

    Do you have an idea what's wrong with it?

    Thanks!
     
    Mamram, Jun 25, 2006 IP
  9. Mamram

    Mamram Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #29
    I've changed the encoding to windows-1255 :

    <?xml version="1.0" encoding="windows-1255"?>

    and removed the utf8_encode(), and it's now displaying the links correctly.

    Is that OK, or the xml feed must be in UTF-8 encoding?
     
    Mamram, Jun 25, 2006 IP
  10. Renix

    Renix Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #30
    Wasn't exactly sure how to implement this, but I copied googleSitemapProducts.php to the root of my store. After submitting to Google Sitemaps, I received the following error;

    Parsing error (Line 2902) We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.
    Invalid URL (Line 2902) This is not a valid URL. Please correct it and resubmit. More

    I have no idea what the parsing error might be and I submitted the sitemap as http://www.mydomainname.com/googleSitemapProducts.php

    Can anyone help me out with this?
     
    Renix, Jun 27, 2006 IP
  11. dpmro

    dpmro Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #31
    Hello,

    where is your catalog?
     
    dpmro, Jun 30, 2006 IP
  12. tudungbawal

    tudungbawal Active Member

    Messages:
    574
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    80
    #32
    Hi ,

    currently using the old script with the googlesitemap directory in my root which requires cron job.

    questions: do i need to delete or replace any of the file or directory previously installed?

    thanks:)
     
    tudungbawal, Jul 13, 2006 IP
  13. createvideo

    createvideo Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #33
    Bobby, thanks for the great script. Works well except one warning noted by Google checker that I can't figure out.

    My output shows a single white space before the XML out tag <?xml ... and google flags this as an error but accepts the file anyways.

    To test, I removed/moved the required files like app..top.php and still can't get rid of this one leading space.
     
    createvideo, Dec 5, 2006 IP