<?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>Комментарии: Простейший PHP граббер за 2 минуты</title>
	<atom:link href="http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/</link>
	<description>Разработка сайтов на WordPress &#124; Поисковая оптимизация и продвижение сайтов</description>
	<lastBuildDate>Mon, 12 Dec 2011 07:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Автор: Дмитрий</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1888</link>
		<dc:creator>Дмитрий</dc:creator>
		<pubDate>Thu, 25 Aug 2011 08:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1888</guid>
		<description>Круто! Спасибо, все работает:)</description>
		<content:encoded><![CDATA[<p>Круто! Спасибо, все работает:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: def</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1883</link>
		<dc:creator>def</dc:creator>
		<pubDate>Sat, 06 Aug 2011 19:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1883</guid>
		<description>Разобрался, Если кому нужно в таком виде решает именно мою проблему

&lt;?php
$url = &quot;http://www.siteatwin1251.ru&quot;;
$unique_start = &quot;&quot;;
$unique_end = &quot;&quot;;
function weather($url, $unique_start, $unique_end) {
$code = file_get_contents($url);
$code = iconv(&#039;Windows-1251&#039;, &#039;UTF-8&#039;, $code);
preg_match(&#039;/&#039;.preg_quote($unique_start,
&#039;/&#039;).&#039;(.*)&#039;.preg_quote($unique_end, &#039;/&#039;).&#039;/Us&#039;, $code, $match);
return $match[1];
}
echo weather($url, $unique_start, $unique_end); ?&gt;

Спасибо тебе еще раз!)</description>
		<content:encoded><![CDATA[<p>Разобрался, Если кому нужно в таком виде решает именно мою проблему</p>
<p>&lt;?php<br />
$url = &quot;<a href="http://www.siteatwin1251.ru&quot;" rel="nofollow">http://www.siteatwin1251.ru&quot;</a>;<br />
$unique_start = &quot;&raquo;;<br />
$unique_end = &laquo;&raquo;;<br />
function weather($url, $unique_start, $unique_end) {<br />
$code = file_get_contents($url);<br />
$code = iconv(&#8216;Windows-1251&#8242;, &#8216;UTF-8&#8242;, $code);<br />
preg_match(&#8216;/&#8217;.preg_quote($unique_start,<br />
&#8216;/&#8217;).&#8217;(.*)&#8217;.preg_quote($unique_end, &#8216;/&#8217;).&#8217;/Us&#8217;, $code, $match);<br />
return $match[1];<br />
}<br />
echo weather($url, $unique_start, $unique_end); ?&gt;</p>
<p>Спасибо тебе еще раз!)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: def</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1882</link>
		<dc:creator>def</dc:creator>
		<pubDate>Sat, 06 Aug 2011 18:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1882</guid>
		<description>Спасибо!
С единственной проблемой столкнулся только, мой сайт на utf-8, а сайт-донор на win-1251, в итоге граббер выбирает все как нужно но отображается это все на &quot;албанском&quot;
 что дописать в коде чтобы исправить эту ситуацию?

Еще раз ОГРОМНОЕ спасибо за скрипт)</description>
		<content:encoded><![CDATA[<p>Спасибо!<br />
С единственной проблемой столкнулся только, мой сайт на utf-8, а сайт-донор на win-1251, в итоге граббер выбирает все как нужно но отображается это все на &laquo;албанском&raquo;<br />
 что дописать в коде чтобы исправить эту ситуацию?</p>
<p>Еще раз ОГРОМНОЕ спасибо за скрипт)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: klin</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1774</link>
		<dc:creator>klin</dc:creator>
		<pubDate>Sat, 16 Oct 2010 19:27:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1774</guid>
		<description>у меня не прябятся картинки и урлы так как в коде они выглядят так  без домена. как настроить что бы было 

за ранее спасибо</description>
		<content:encoded><![CDATA[<p>у меня не прябятся картинки и урлы так как в коде они выглядят так  без домена. как настроить что бы было </p>
<p>за ранее спасибо</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Александр</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1734</link>
		<dc:creator>Александр</dc:creator>
		<pubDate>Fri, 18 Jun 2010 16:58:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1734</guid>
		<description>Огромное спасибо! Реально быстро и эффективно! Всё работает! Респект!</description>
		<content:encoded><![CDATA[<p>Огромное спасибо! Реально быстро и эффективно! Всё работает! Респект!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: VaneK</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1724</link>
		<dc:creator>VaneK</dc:creator>
		<pubDate>Wed, 26 May 2010 03:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1724</guid>
		<description>При использовании стандартной функции:&quot;file_get_contents()&quot;, админ сайта быстро узнает что вы у него погоду на свой сайт &quot;копи-пастите&quot; и если ему это не понравится ждите бана по ip.</description>
		<content:encoded><![CDATA[<p>При использовании стандартной функции:&raquo;file_get_contents()&raquo;, админ сайта быстро узнает что вы у него погоду на свой сайт &laquo;копи-пастите&raquo; и если ему это не понравится ждите бана по ip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Mehman</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1651</link>
		<dc:creator>Mehman</dc:creator>
		<pubDate>Sun, 07 Mar 2010 19:31:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1651</guid>
		<description>Блин! Спасибо. Около часа искал, нашёл немало. Ниодин не работал. Этот - работает. Спасибо!</description>
		<content:encoded><![CDATA[<p>Блин! Спасибо. Около часа искал, нашёл немало. Ниодин не работал. Этот &#8211; работает. Спасибо!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Duxe</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1606</link>
		<dc:creator>Duxe</dc:creator>
		<pubDate>Wed, 03 Feb 2010 01:29:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1606</guid>
		<description>Работает, спасибо :)
Теперь займусь перестройкой чужих сайтов ;)</description>
		<content:encoded><![CDATA[<p>Работает, спасибо :)<br />
Теперь займусь перестройкой чужих сайтов ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: ego</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1537</link>
		<dc:creator>ego</dc:creator>
		<pubDate>Mon, 19 Oct 2009 18:53:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1537</guid>
		<description>Steve, грабьте ту страницу, на которую редиректит..</description>
		<content:encoded><![CDATA[<p>Steve, грабьте ту страницу, на которую редиректит..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Автор: Steve</title>
		<link>http://www.egoroff.info/prostejshij-php-grabber-za-2-minuty/comment-page-1/#comment-1528</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sun, 11 Oct 2009 00:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.egoroff.info/?p=241#comment-1528</guid>
		<description>Все бы хорошо, но что делать если на странице с которой хотим получить информацию стоит редирект?</description>
		<content:encoded><![CDATA[<p>Все бы хорошо, но что делать если на странице с которой хотим получить информацию стоит редирект?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

