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)
-   -   Will pay $25 for a Google Sitemap setup (https://gfy.com/showthread.php?t=555857)

luv$ 12-23-2005 12:08 PM

Will pay $25 for a Google Sitemap setup
 
In regards to this thread - I have a laundry list of things I have to do to prepare for our trip, and I wouldn't normally do this, but if someone could help me out I'd appreciate it.

5 minutes of your time for $25 !!!

Just in a rush, and want it setup b4 I go.

210570373

Thanks!

Gonna go change litter now. :helpme

Buddah00 12-23-2005 12:11 PM

http://www.sitemapbuilder.net/default.aspx

luv$ 12-23-2005 12:24 PM

Thanks to spacedog I got it figured out and taken care of at no cost - you can too @ http://www.adulthosts.be/ror-sitemap-generator/

Friggin cake!

Thanks to everyone for their help, btw - I really appreciate it!

SmokeyTheBear 12-23-2005 12:31 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.ashburnham-insurance.co.uk/";
    //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 directory and it will create a google sitemap for you.

spacedog 12-23-2005 12:34 PM

Quote:

Originally Posted by luv$
Thanks to spacedog I got it figured out and taken care of at no cost - you can too @ http://www.adulthosts.be/ror-sitemap-generator/

Friggin cake!

Thanks to everyone for their help, btw - I really appreciate it!


Glad to help.

Happy Holidays

Basic_man 12-23-2005 12:44 PM

Quote:

Originally Posted by SmokeyTheBear
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.ashburnham-insurance.co.uk/";
    //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 directory and it will create a google sitemap for you.

How does that work exactly ?

luv$ 12-23-2005 12:50 PM

Quote:

Originally Posted by SmokeyTheBear
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.ashburnham-insurance.co.uk/";
    //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 directory and it will create a google sitemap for you.


Ok, couple of questions - do I save it as a .txt, .html, .xml and do I name it anything specific?

And then, do I put that in every directory I want a sitemap for, like my forums folder or by placing it in my root htdocs it covers everything?

Thanks man :)

Stallion 12-23-2005 01:02 PM

thanks for the great tools!

devilspost 12-23-2005 01:40 PM

Quote:

Originally Posted by luv$
Ok, couple of questions - do I save it as a .txt, .html, .xml and do I name it anything specific?

And then, do I put that in every directory I want a sitemap for, like my forums folder or by placing it in my root htdocs it covers everything?

Thanks man :)

What he said :)

SmokeyTheBear 12-23-2005 01:49 PM

Quote:

Originally Posted by luv$
Ok, couple of questions - do I save it as a .txt, .html, .xml and do I name it anything specific?

And then, do I put that in every directory I want a sitemap for, like my forums folder or by placing it in my root htdocs it covers everything?

Thanks man :)

a couple lines got axed by gfy parsing..

http://www.planet-source-code.com/URLSEO/vb/scripts/ShowCode!asp/txtCodeId!1820/lngWid!8/anyname.htm

try that page cut and paste code , save as php , then navigate to it via browser it will create the file , there are settings int he file to specify folders to crawl

BigCashCrew 12-23-2005 02:13 PM

Quote:

Originally Posted by spacedog
Glad to help.

Happy Holidays

Hey, thanks for the good tip bro :)

luv$ 12-23-2005 02:29 PM

Quote:

Originally Posted by SmokeyTheBear
a couple lines got axed by gfy parsing..

http://www.planet-source-code.com/URLSEO/vb/scripts/ShowCode!asp/txtCodeId!1820/lngWid!8/anyname.htm

try that page cut and paste code , save as php , then navigate to it via browser it will create the file , there are settings int he file to specify folders to crawl

Got it, thanks. All set!

I'm heading out now - have a merry christmas smokes.


All times are GMT -7. The time now is 03:25 PM.

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