Blame view

sm/smgen.php 679 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  <?php
  // PHP xml sitemap generator
  
  // smgen script is a xml sitemap generator
  //  * it doesn't need databases
  //  * fast page fetching using curl-multi
  //  * generates sitemaps for google and yahoo
  //  * increase your daily visits
  
  $CONFIG["agent"] = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513";
  $CONFIG["baseurl"] = "http://extremstyle.ua/test.php";
  $CONFIG["priority"] = 0.5;
  $CONFIG["sitemap_file"] = dirname(__FILE__)."/sitemap.xml";
  
  require_once(dirname(__FILE__).'/net.func.php');
  require_once(dirname(__FILE__).'/html.func.php');
  require_once(dirname(__FILE__).'/misc.func.php');
  require_once(dirname(__FILE__).'/spider.func.php');
  
  spider();
  
  ?>