Yeah im still using version 2.6. Version 2.7 database is different
Change:
toCode:$sql = "Select VID, title, description, adddate, flvdoname, duration from video where approve=1 and active=1";
Code:$sql = "Select * from videos where video_approve=1 and video_active=1";
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!
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!
So Ã*t don't work voor 2.7 at all pitty :S
what now?
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!
Post a link to your sitemap.php and ill have a look at it
Here it is:
http://www.ikhebdexfactor.nl/sitemap.php
Bookmarks