Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Me Fix My YouTube Grabber Sitemap Problem
07-29-2018, 03:17 PM,
Post: #1
Help Me Fix My YouTube Grabber Sitemap Problem
Please after I installed my YouTube grabber script but the sitemap is just displaying blank page.

Here's the code:

<?php
include 'config.php';
header("Content-Type: application/xml; charset=ISO-8859-1");
$file = array_reverse(array_unique(file("sc.dat"),SORT_REGULAR));

$count = count($file);
$limit = $count;
echo'<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="xml-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsiConfusedchemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
';
for ($i=0; $i < $limit; $i++)
{
$chunk=$file[$i];
$chunk=str_replace('
','',$chunk);
$ln=preg_replace("/[^A-Za-z0-9[Confusedpace:]]/","$1",$chunk);
$ln=str_replace(' ','-',$ln);
if(!empty($ln)){
if($i > 49999){ }else{
echo "<url>
<loc>".$homepage."search/$ln.html</loc>
<priority>0.1</priority>
<changefreq>always</changefreq>
</url>";
}
}
}
echo "
</urlset>";
?>


Attached Files
.zip   SLB-VIDEO.zip (Size: 27.12 KB / Downloads: 3)
Reply
07-29-2018, 09:12 PM,
Post: #2
RE: Help Me Fix My YouTube Grabber Sitemap Problem
like this : https://majapahit.net/sitemap.xml
Script MP3 Search engine Just $1
Demo : 
https://yt.mba
https://mp3.mba
Reply
[-] The following 1 user Likes radjaweb's post:
  • wolehartng
08-01-2018, 02:42 AM,
Post: #3
RE: Help Me Fix My YouTube Grabber Sitemap Problem
Yes please help me with it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)