<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Комментарии: Генерация Sitemap.XML с помощью DOMDocument</title>
	<atom:link href="http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/</link>
	<description>Статьи по SEO, дизайну и программированию. Переводы на веб-тематику. Исследования и наработки в области интернет-технологий.</description>
	<lastBuildDate>Fri, 03 Feb 2012 14:59:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Автор: Виталий Маташ</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-84935</link>
		<dc:creator>Виталий Маташ</dc:creator>
		<pubDate>Sat, 16 Apr 2011 12:33:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-84935</guid>
		<description>немножко разширил количество поисковиков
&lt;pre&gt;
&lt;code class=&quot;php&quot;&gt;
final function generate(){
		.....
		if($this-&gt;needPing){
			$this-&gt;ping($this-&gt;yandexPingUrl);
			$this-&gt;ping($this-&gt;googlePingUrl);
			$this-&gt;ping($this-&gt;yahooPingUrl);
			$this-&gt;ping($this-&gt;askPingUrl);
			$this-&gt;ping($this-&gt;bingPingUrl);
			
		}

	}
	
	
	final function ping($url){
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_URL, $url);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		$result = curl_exec($ch);
	}
	
	
	final function __construct(){
		$this-&gt;XMLsitemapFile = &#039;http://&#039;.$_SERVER[&#039;HTTP_HOST&#039;].&#039;/sitemap.xml&#039;;
		$this-&gt;googlePingUrl = &#039;http://www.google.com/webmasters/sitemaps/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile);
		$this-&gt;yahooPingUrl = &#039;http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile);
		$this-&gt;yandexPingUrl = &#039;http://webmaster.yandex.ru/wmconsole/sitemap_list.xml?host=&#039;.urlencode($this-&gt;XMLsitemapFile);
		$this-&gt;askPingUrl = &#039;http://submissions.ask.com/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile);	
		$this-&gt;bingPingUrl = &#039;http://www.bing.com/webmaster/ping.aspx?siteMap=&#039;.urlencode($this-&gt;XMLsitemapFile);		
		
.....
	}
}
&lt;/code&gt;
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>немножко разширил количество поисковиков</p>
<pre>
<code class="php">
final function generate(){
		.....
		if($this-&gt;needPing){
			$this-&gt;ping($this-&gt;yandexPingUrl);
			$this-&gt;ping($this-&gt;googlePingUrl);
			$this-&gt;ping($this-&gt;yahooPingUrl);
			$this-&gt;ping($this-&gt;askPingUrl);
			$this-&gt;ping($this-&gt;bingPingUrl);

		}

	}

	final function ping($url){
		$ch = curl_init();
		curl_setopt($ch, CURLOPT_URL, $url);
		curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
		$result = curl_exec($ch);
	}

	final function __construct(){
		$this-&gt;XMLsitemapFile = '<a href="http://&#039;.$_SERVER&#039;HTTP_HOST&#039;.&#039;/sitemap.xml&#039;" rel="nofollow">http://&#039;.$_SERVER&#039;HTTP_HOST&#039;.&#039;/sitemap.xml&#039;</a>;
		$this-&gt;googlePingUrl = '<a href="http://www.google.com/webmasters/sitemaps/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)" rel="nofollow">http://www.google.com/webmasters/sitemaps/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)</a>;
		$this-&gt;yahooPingUrl = '<a href="http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)" rel="nofollow">http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)</a>;
		$this-&gt;yandexPingUrl = '<a href="http://webmaster.yandex.ru/wmconsole/sitemap_list.xml?host=&#039;.urlencode($this-&gt;XMLsitemapFile)" rel="nofollow">http://webmaster.yandex.ru/wmconsole/sitemap_list.xml?host=&#039;.urlencode($this-&gt;XMLsitemapFile)</a>;
		$this-&gt;askPingUrl = '<a href="http://submissions.ask.com/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)" rel="nofollow">http://submissions.ask.com/ping?sitemap=&#039;.urlencode($this-&gt;XMLsitemapFile)</a>;
		$this-&gt;bingPingUrl = '<a href="http://www.bing.com/webmaster/ping.aspx?siteMap=&#039;.urlencode($this-&gt;XMLsitemapFile)" rel="nofollow">http://www.bing.com/webmaster/ping.aspx?siteMap=&#039;.urlencode($this-&gt;XMLsitemapFile)</a>;		

.....
	}
}
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Владимир</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-84533</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Thu, 14 Apr 2011 19:15:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-84533</guid>
		<description>не подскажеш можно ли переписать этот класс class SiteMapUrlGenerator { так чт бы он брал данные из БД таблице Sitemap в которой находяться все пути, приоритеты, дата и т.п.</description>
		<content:encoded><![CDATA[<p>не подскажеш можно ли переписать этот класс class SiteMapUrlGenerator { так чт бы он брал данные из БД таблице Sitemap в которой находяться все пути, приоритеты, дата и т.п.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Владимир</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-83946</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Mon, 11 Apr 2011 09:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-83946</guid>
		<description>и еще сикундачку!неподскажеш как сделать скрытую переадресацию с sitemap.xml на sitemap.php</description>
		<content:encoded><![CDATA[<p>и еще сикундачку!неподскажеш как сделать скрытую переадресацию с sitemap.xml на sitemap.php</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Владимир</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-83945</link>
		<dc:creator>Владимир</dc:creator>
		<pubDate>Mon, 11 Apr 2011 09:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-83945</guid>
		<description>Просто супер,выше всех похвал)))))програмировать на php, mysql только начинаю! я разобрался в этом скрипте,всё получилось, хочу написать подобное!!!неподскажеш можно ли сделать так что бы при обращении на sitemap.php выводилось все то что написано в sitemap.xml. а то когда обращаешся к php-белый экран!</description>
		<content:encoded><![CDATA[<p>Просто супер,выше всех похвал)))))програмировать на php, mysql только начинаю! я разобрался в этом скрипте,всё получилось, хочу написать подобное!!!неподскажеш можно ли сделать так что бы при обращении на sitemap.php выводилось все то что написано в sitemap.xml. а то когда обращаешся к php-белый экран!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Вадим</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-83269</link>
		<dc:creator>Вадим</dc:creator>
		<pubDate>Fri, 08 Apr 2011 09:52:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-83269</guid>
		<description>Отличный скрипт, спасибо! 
Не придется писать или разбираться самому, все расписано супер!
p.s. что самое главное грамотно составлен.</description>
		<content:encoded><![CDATA[<p>Отличный скрипт, спасибо!<br />
Не придется писать или разбираться самому, все расписано супер!<br />
p.s. что самое главное грамотно составлен.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Виталий</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-54611</link>
		<dc:creator>Виталий</dc:creator>
		<pubDate>Fri, 22 Oct 2010 10:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-54611</guid>
		<description>Можно привязать абсолютно к чему угодно. Главной определить правила выборки в SiteMapUrlGenerator и все, вставляйте в любой проект.</description>
		<content:encoded><![CDATA[<p>Можно привязать абсолютно к чему угодно. Главной определить правила выборки в SiteMapUrlGenerator и все, вставляйте в любой проект.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: privateperson</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-15563</link>
		<dc:creator>privateperson</dc:creator>
		<pubDate>Sat, 05 Dec 2009 13:29:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-15563</guid>
		<description>А к сайту на DLE, возможно ли  прикрутить этот скрипт?</description>
		<content:encoded><![CDATA[<p>А к сайту на DLE, возможно ли  прикрутить этот скрипт?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-9043</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Sat, 06 Jun 2009 17:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-9043</guid>
		<description>&lt;p&gt;Скрипт создает два файла: sitemap.xml и sitemap.txt. Путь их размещения определен в классе Sitemap:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;  // Относительный путь до XML файла карты сайта.
  private $XMLsitemapSaveFile = &#039;../sitemap.xml&#039;;

  // Флаг, существует ли файл sitemap.txt или нет
  private $TXTsitemapExist = False;

  // Относительный путь до TXT файла карты сайта.
  private $TXTsitemapSaveFile = &#039;../sitemap.txt&#039;;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Так же вам необходимо определить логику выборки URL для вашего проекта, делается это в классе SiteMapUrlGenerator.&lt;/p&gt;
&lt;p&gt;Остальное можно ничего не менять.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Скрипт создает два файла: sitemap.xml и sitemap.txt. Путь их размещения определен в классе Sitemap:</p>
<pre><code class="php">  // Относительный путь до XML файла карты сайта.
  private $XMLsitemapSaveFile = '../sitemap.xml';

  // Флаг, существует ли файл sitemap.txt или нет
  private $TXTsitemapExist = False;

  // Относительный путь до TXT файла карты сайта.
  private $TXTsitemapSaveFile = '../sitemap.txt';</code></pre>
<p>Так же вам необходимо определить логику выборки URL для вашего проекта, делается это в классе SiteMapUrlGenerator.</p>
<p>Остальное можно ничего не менять.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Роман</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-8953</link>
		<dc:creator>Роман</dc:creator>
		<pubDate>Thu, 04 Jun 2009 12:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-8953</guid>
		<description>Скажите, должен ли создавать скрипт хотябы файлы, если его положить так как он есть без изменения ?</description>
		<content:encoded><![CDATA[<p>Скажите, должен ли создавать скрипт хотябы файлы, если его положить так как он есть без изменения ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-6629</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Sat, 18 Apr 2009 20:14:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-6629</guid>
		<description>Ну я не отрицаю, что скрипт возможно прожорлив. Думаю каждый для своих целей сможет его оптимизировать, как надо :) Данная реализация без проблем справляется с генерацией карты из 2000 страниц, думаю с большим объемом тоже легко будет работать.</description>
		<content:encoded><![CDATA[<p>Ну я не отрицаю, что скрипт возможно прожорлив. Думаю каждый для своих целей сможет его оптимизировать, как надо <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Данная реализация без проблем справляется с генерацией карты из 2000 страниц, думаю с большим объемом тоже легко будет работать.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Юрий</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-6589</link>
		<dc:creator>Юрий</dc:creator>
		<pubDate>Sat, 18 Apr 2009 09:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-6589</guid>
		<description>Память лишняя занимается скриптом, постоянные переменные лучше добаить перед самой генерацией xml (переменные $_SERVER). Если сайт из 1000 страниц, экономия существенная.</description>
		<content:encoded><![CDATA[<p>Память лишняя занимается скриптом, постоянные переменные лучше добаить перед самой генерацией xml (переменные $_SERVER). Если сайт из 1000 страниц, экономия существенная.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-106</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Thu, 11 Sep 2008 08:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-106</guid>
		<description>^______^
точно )) проглядел наверное :-)</description>
		<content:encoded><![CDATA[<p>^______^<br />
точно )) проглядел наверное <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: John</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-105</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Sep 2008 08:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-105</guid>
		<description>http://www.sitemaps.org/ru/protocol.php   Да нет тут вроде написано что не обязательны они ;-)</description>
		<content:encoded><![CDATA[<p><a href="http://www.sitemaps.org/ru/protocol.php" rel="nofollow">http://www.sitemaps.org/ru/protocol.php</a>   Да нет тут вроде написано что не обязательны они <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-104</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Thu, 11 Sep 2008 08:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-104</guid>
		<description>Да не )) подправим, полезные комменты никогда лишними не бывают :)
Хм, а для чего Вы добавили проверки:
&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;if($this-&gt;urlList[$i]-&gt;getLastmod())
if($this-&gt;urlList[$i]-&gt;getChangefreq())
if($this-&gt;urlList[$i]-&gt;getPriority())&lt;/code&gt;&lt;/pre&gt;
Насколько мне известно данные узлы в Sitemap.XML являются обязательными, их отсутствие может вызвать ошибку у поисковика (предупреждение в разделе веб-мастеров).</description>
		<content:encoded><![CDATA[<p>Да не )) подправим, полезные комменты никогда лишними не бывают <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Хм, а для чего Вы добавили проверки:</p>
<pre><code class="php">if($this-&gt;urlList[$i]-&gt;getLastmod())
if($this-&gt;urlList[$i]-&gt;getChangefreq())
if($this-&gt;urlList[$i]-&gt;getPriority())</code></pre>
<p>Насколько мне известно данные узлы в Sitemap.XML являются обязательными, их отсутствие может вызвать ошибку у поисковика (предупреждение в разделе веб-мастеров).</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: John</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-103</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Sep 2008 07:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-103</guid>
		<description>Мдя удалить наверно лучше мой комент а то все разъехолось 8-)</description>
		<content:encoded><![CDATA[<p>Мдя удалить наверно лучше мой комент а то все разъехолось <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: John</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-102</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Sep 2008 06:52:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-102</guid>
		<description>&lt;p&gt;Разобрался 8-) не увидел просто что он за каталог их выкинул ... вот так переделал:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;$url = $root-&gt;appendChild($this-&gt;dom-&gt;createElement(&#039;url&#039;));
$url-&gt;appendChild($this-&gt;dom-&gt;createElement(&#039;loc&#039;,$this-&gt;urlList[$i]-&gt;getLoc()));
if($this-&gt;urlList[$i]-&gt;getLastmod())$url-&gt;appendChild($this-&gt;dom-&gt;createElement(&#039;lastmod&#039;,$this-&gt;urlList[$i]-&gt;getLastmod()));
if($this-&gt;urlList[$i]-&gt;getChangefreq())$url-&gt;appendChild($this-&gt;dom-&gt;createElement(&#039;changefreq&#039;,$this-&gt;urlList[$i]-&gt;getChangefreq()));
if($this-&gt;urlList[$i]-&gt;getPriority())$url-&gt;appendChild($this-&gt;dom-&gt;createElement(&#039;priority&#039;,$this-&gt;urlList[$i]-&gt;getPriority()));
$this-&gt;TXTsitemapDump .= $this-&gt;urlList[$i]-&gt;getLoc().&quot;\n&quot;;&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Разобрался <img src='http://www.codeisart.ru/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> не увидел просто что он за каталог их выкинул &#8230; вот так переделал:</p>
<pre><code class="php">$url = $root-&gt;appendChild($this-&gt;dom-&gt;createElement('url'));
$url-&gt;appendChild($this-&gt;dom-&gt;createElement('loc',$this-&gt;urlList[$i]-&gt;getLoc()));
if($this-&gt;urlList[$i]-&gt;getLastmod())$url-&gt;appendChild($this-&gt;dom-&gt;createElement('lastmod',$this-&gt;urlList[$i]-&gt;getLastmod()));
if($this-&gt;urlList[$i]-&gt;getChangefreq())$url-&gt;appendChild($this-&gt;dom-&gt;createElement('changefreq',$this-&gt;urlList[$i]-&gt;getChangefreq()));
if($this-&gt;urlList[$i]-&gt;getPriority())$url-&gt;appendChild($this-&gt;dom-&gt;createElement('priority',$this-&gt;urlList[$i]-&gt;getPriority()));
$this-&gt;TXTsitemapDump .= $this-&gt;urlList[$i]-&gt;getLoc()."\n";</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-101</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Thu, 11 Sep 2008 05:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-101</guid>
		<description>John, а Вы переписали класс SiteMapUrlGenerator ?
В вашем случае он будет другой, не такой как в моем примере.</description>
		<content:encoded><![CDATA[<p>John, а Вы переписали класс SiteMapUrlGenerator ?<br />
В вашем случае он будет другой, не такой как в моем примере.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: John</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-100</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 11 Sep 2008 05:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-100</guid>
		<description>&lt;p&gt;Что то не работает после запуска ни чего не происходит, хотя это снизу добавил:&lt;/p&gt;
&lt;pre&gt;&lt;code class=&quot;php&quot;&gt;$sitemap = new Sitemap;
$sitemap-&gt;generate();&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Что то не работает после запуска ни чего не происходит, хотя это снизу добавил:</p>
<pre><code class="php">$sitemap = new Sitemap;
$sitemap-&gt;generate();</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Skaizer</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-21</link>
		<dc:creator>Skaizer</dc:creator>
		<pubDate>Wed, 06 Aug 2008 10:16:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-21</guid>
		<description>&lt;b&gt;сео блоггер&lt;/b&gt;, есть, можете скачать его &lt;a href=&#039;http://www.codeisart.ru/wp-content/uploads/2008/08/class-sitemap-xml-php.zip&#039; rel=&quot;nofollow&quot;&gt;тут&lt;/a&gt;.
В нем требуется переписать только получение данных для генератора, а именно класс &#171;SiteMapUrlGenerator&#187;.</description>
		<content:encoded><![CDATA[<p><b>сео блоггер</b>, есть, можете скачать его <a href='http://www.codeisart.ru/wp-content/uploads/2008/08/class-sitemap-xml-php.zip' rel="nofollow">тут</a>.<br />
В нем требуется переписать только получение данных для генератора, а именно класс &laquo;SiteMapUrlGenerator&raquo;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: сео блоггер</title>
		<link>http://www.codeisart.ru/sitemap-xml-generation-using-domdocument-php/comment-page-1/#comment-20</link>
		<dc:creator>сео блоггер</dc:creator>
		<pubDate>Wed, 06 Aug 2008 08:14:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codeisart.ru/?p=347#comment-20</guid>
		<description>А готового скрипта пока нет?</description>
		<content:encoded><![CDATA[<p>А готового скрипта пока нет?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.codeisart.ru @ 2012-02-04 11:16:53 -->
