Page 1 of 2 12 LastLast
Results 1 to 10 of 58

Thread: Google Sitemap v2.7

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default

    Yeah im still using version 2.6. Version 2.7 database is different

    Change:

    Code:
        $sql = "Select  VID, title, description, adddate, flvdoname, duration from video where approve=1 and active=1";
    to

    Code:
        $sql = "Select  * from videos where video_approve=1 and video_active=1";

  2. #2
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Those of you using this for 2.7, just eliminate the database connection (you can also do this for 2.6) and use the sql that I posted (it's for 2.7)
    If it's not fun, stop doing it!

  3. #3
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Oh...gonna have to scratch it, it doesn't work for 2.7 at all and nothing was indexed by google. Here's what Google said:

    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).

    Parsing error
    We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting.

    Empty Sitemap
    Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap.

    Invalid XML tag
    This tag was not recognized. Please fix it and resubmit. (this one is my fault, I'm going to fix it)

    Leading whitespace
    We've detected that your Sitemap file begins with whitespace. We've accepted the file, but you may want to remove the whitespace so that the file adheres to the XML standard.


    I'm gonna fix the XML tag thing and resubmit, the only other issue is the www.

    *IF* any one has problems with this, there is another post with a sitemap somewhere in the forums. I had been using it the entire time I had 2.6 so if this one posted by carefree doesn't work, try the other one. It works for him, it should work for you too but check for the other one.
    Last edited by grynmoors; 05-18-2009 at 10:59 AM.
    If it's not fun, stop doing it!

  4. #4

    Default

    So Ã*t don't work voor 2.7 at all pitty :S
    what now?

  5. #5
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    Well, it is *probably* due to the error in my xml tag. I just took it out and am resubmitting to google....the only other problem after that is the www part (I hope).
    If it's not fun, stop doing it!

  6. #6

    Default

    If you dont give up you wont fail.

  7. #7
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    If this doesn't pan out I'll find the original sitemap posted for 2.6 in the forums (hopefully it didn't get deleted for being old) and change the reference to the database to reflect the changes in 2.7 since that old one always worked for me in the past (for 2.6) and see what the difference is between that one and yours.
    If it's not fun, stop doing it!

  8. #8
    Join Date
    Feb 2010
    Posts
    1

    Default

    Quote Originally Posted by carefree2 View Post
    If you dont give up you wont fail.
    f this doesn't pan out I'll find the original sitemap posted for 2.6 in the forums (hopefully it didn't get deleted for being old) and change the reference to the database to reflect the changes in 2.7 since that old one always worked for me in the past (for 2.6) and see what the difference is between that one and yours.

  9. #9

    Default

    "Just copy this code and save it as sitemap.php at you vshare files."

    What does, "You vshare files" mean? It is, of course, simply a flaw within your English here but unfortunately it does not specify enough where it should go. Does it need to be put in public_html, or does it need placement within public_html/templates, etc.

    Thanks for the clarification.
    Last edited by Blain; 11-03-2009 at 01:22 AM.

  10. #10
    Join Date
    May 2007
    Location
    Planet Earth
    Posts
    1,389

    Default

    put it in the same directory as your index.php
    If it's not fun, stop doing it!

Page 1 of 2 12 LastLast

Similar Threads

  1. [addon] Google Sitemap Generator
    By RAMMSTEIN in forum Template Modifications
    Replies: 5
    Last Post: 11-07-2008, 04:25 AM
  2. Google Video Sitemap
    By CliftonH in forum Web Site Promotion
    Replies: 6
    Last Post: 08-10-2008, 10:20 PM
  3. Sitemap
    By autodafe in forum Feature Requests
    Replies: 23
    Last Post: 02-29-2008, 12:08 AM
  4. New Google video sitemap !!!
    By chadon in forum Feature Requests
    Replies: 2
    Last Post: 12-21-2007, 06:48 PM
  5. Sitemap Generator for vShare
    By autodafe in forum General Discussions
    Replies: 14
    Last Post: 10-24-2007, 03:50 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •