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

    Quote Originally Posted by grynmoors View Post
    I'm trying to automate this as much as I can so that I can just upload it to all my vshare sites without having to configure each one each time...the only thing I can't get to work is the {$base_url} part. Comes out looking weird

    Code:
    http:///6/using_satchel_and_claymore_in_ctf/http:///etc

    Keep in mind its still xml format even though it has php extension

    Code:
    $config['baseurl']

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

    Default

    Right, I was thinking "smarty" code. I submitted it to Google and we'll see what happens. I can't post my completed code to the forums for some reason, it keeps getting cut off.
    If it's not fun, stop doing it!

  3. #3

    Default

    I get the following error? any sollutions yet?


    The following tags were not closed: urlset. Error processing resource 'http://www.ikhebdexfactor.nl/sitemap.php'.

  4. #4

    Default

    Quote Originally Posted by ikhebdexfactor View Post
    I get the following error? any sollutions yet?


    The following tags were not closed: urlset. Error processing resource 'http://www.ikhebdexfactor.nl/sitemap.php'.
    Error: Table 'ikhebdex_vshare.video' doesn't exist

    Table doesn't exist

    The script works. Use my version for google

  5. #5

    Default

    Don't know what i am doing wrong then, im using your code already, filled in datebase info double checked it, and filled in my URL.

    Code:
    echo "<url><loc>http://www.ikhebdexfactor.nl/video/".$info[0]."/".$SefUrl."/</loc></url>";
    mmmmmmmm help :)

    Quote Originally Posted by carefree2 View Post
    Error: Table 'ikhebdex_vshare.video' doesn't exist

    Table doesn't exist

    The script works. Use my version for google

  6. #6

    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";

  7. #7
    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!

  8. #8
    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!

  9. #9
    Join Date
    Sep 2009
    Posts
    1

  10. #10

    Default

    I am currently getting the following message after creating the sitemap.php file and placing it within my public_html folder (with the index.php).

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    This message is then followed by the code within the file. Is this normal? If so, no problems here, but it seems a bit fishy.

    Thanks for the sitemap anywho, and the answers of course.

    --
    Cheers,

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
  •