GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Free SiteMap generator (https://gfy.com/showthread.php?t=563911)

$5 submissions 01-14-2006 07:58 PM

Free SiteMap generator
 
http://www.xml-sitemaps.com/

devilspost 01-14-2006 08:02 PM

site with over 500 pages is 15 bucks.

SmokeyTheBear 01-14-2006 08:14 PM

Code:

<?
    //Do not edit the following, it's compul
    //    sory
    echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
    <urlset xmlns=\"http://www.google.com/schemas/sitemap/0.84\"
    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"
    xsi:schemaLocation=\"http://www.google.com/schemas/sitemap/0.84
    http://www.google.com/schemas/sitemap/0.84/sitemap.xsd\">";
    //Enter your website URL below
    $site = "http://www.gfy.com/";
    //Map the directory that this file is in
    //   
    map(".", $site);
    //Map a higher directory such as yoursit
    //    e.com/articles/old/
    map("articles/old", $site);
    //Do not edit the function below
    function map($dir, $site){
    $dir = opendir($dir);
    while(($file = readdir($dir)) !hahahaha false)
    {
    if($file != "."){
    if($file != ".."){
    //Make sure were only outputing file's a
    //    nd not directories
    if(strpos($file, ".") != ""){
    echo "<url>$site$file</url>\r\n";
    }
    }
    }
    }
    closedir($dir);
    }
    echo "</urlset>";
    ?>

drop in server run

SmokeyTheBear 01-14-2006 08:17 PM

hmm gfy fucks up the code..

http://www.planetsourcecode.com/vb/s...=1820&lngWId=8

$5 submissions 01-14-2006 10:04 PM

Bump for more SE traffic.


All times are GMT -7. The time now is 02:07 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123