![]() |
|
|||
|
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.
__________________
Please use the search feature before asking questions, many have been answered. Please do not PM me. Ask in the forums so that everyone may benefit! Thx! SCAVideos.com DF2Videos.com Rigidheddleweaving.com/videos |
|
|||
|
Quote:
Table doesn't exist The script works. Use my version for google |
|
|||
|
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>"; ![]() |
|
|||
|
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"; 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)
__________________
Please use the search feature before asking questions, many have been answered. Please do not PM me. Ask in the forums so that everyone may benefit! Thx! SCAVideos.com DF2Videos.com Rigidheddleweaving.com/videos |
|
|||
|
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.
__________________
Please use the search feature before asking questions, many have been answered. Please do not PM me. Ask in the forums so that everyone may benefit! Thx! SCAVideos.com DF2Videos.com Rigidheddleweaving.com/videos Last edited by grynmoors; 05-18-2009 at 10:59 AM. |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [addon] Google Sitemap Generator | RAMMSTEIN | Template Modifications | 5 | 11-07-2008 03:25 AM |
| Google Video Sitemap | CliftonH | Web Site Promotion | 6 | 08-10-2008 10:20 PM |
| Sitemap | autodafe | Feature Requests | 23 | 02-28-2008 11:08 PM |
| New Google video sitemap !!! | chadon | Feature Requests | 2 | 12-21-2007 05:48 PM |
| Sitemap Generator for vShare | autodafe | General Discussions | 14 | 10-24-2007 03:50 PM |