Go Back   BuyScripts Forums > vShare YouTube Clone > vShare Modifications

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 05-16-2009, 02:02 PM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,433
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.
__________________
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
Reply With Quote
  #12 (permalink)  
Old 05-16-2009, 02:19 PM
Member
 
Join Date: May 2009
Posts: 58
Default

google has crawled and indexed 50,000 of my urls so far using my script, so i know it works.

Just add some settings variables at the top of the page, its quite acceptable for clients to edit a few lines
Reply With Quote
  #13 (permalink)  
Old 05-18-2009, 08:28 AM
Junior Member
 
Join Date: May 2009
Posts: 9
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'.
Reply With Quote
  #14 (permalink)  
Old 05-18-2009, 10:04 AM
Member
 
Join Date: May 2009
Posts: 58
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
Reply With Quote
  #15 (permalink)  
Old 05-18-2009, 10:14 AM
Junior Member
 
Join Date: May 2009
Posts: 9
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
Reply With Quote
  #16 (permalink)  
Old 05-18-2009, 10:26 AM
Member
 
Join Date: May 2009
Posts: 58
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";
Reply With Quote
  #17 (permalink)  
Old 05-18-2009, 11:45 AM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,433
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)
__________________
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
Reply With Quote
  #18 (permalink)  
Old 05-18-2009, 11:51 AM
Senior Member
 
Join Date: May 2007
Location: Planet Earth
Posts: 1,433
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.
__________________
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 11:59 AM.
Reply With Quote
  #19 (permalink)  
Old 05-18-2009, 11:59 AM
Junior Member
 
Join Date: May 2009
Posts: 9
Default

So ít don't work voor 2.7 at all pitty :S
what now?
Reply With Quote
  #20 (permalink)  
Old 05-18-2009, 12:01 PM
Member
 
Join Date: May 2009
Posts: 58
Default

Post a link to your sitemap.php and ill have a look at it
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[addon] Google Sitemap Generator RAMMSTEIN Template Modifications 5 11-07-2008 04:25 AM
Google Video Sitemap CliftonH Web Site Promotion 6 08-10-2008 11:20 PM
Sitemap autodafe Feature Requests 23 02-29-2008 12:08 AM
New Google video sitemap !!! chadon Feature Requests 2 12-21-2007 06:48 PM
Sitemap Generator for vShare autodafe General Discussions 14 10-24-2007 04:50 PM


All times are GMT. The time now is 09:20 PM.


Powered by vBulletin. Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO