<?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>Comentários sobre: PHP: Integrando o Twitter ao seu site &#8211; Parte 1</title>
	<atom:link href="http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/</link>
	<description>Henrique Boaventura</description>
	<lastBuildDate>Wed, 01 Feb 2012 18:10:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Por: Henrique Boaventura</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-554</link>
		<dc:creator>Henrique Boaventura</dc:creator>
		<pubDate>Thu, 19 Jan 2012 15:29:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-554</guid>
		<description>A principio sim, nunca levei o feed ao limite para verificar está sob os mesmos limites da API, mas como é acesso e eles contam como acesso, sim, deve ser aplicada a mesma regra.</description>
		<content:encoded><![CDATA[<p>A principio sim, nunca levei o feed ao limite para verificar está sob os mesmos limites da API, mas como é acesso e eles contam como acesso, sim, deve ser aplicada a mesma regra.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Miguel Moure</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-553</link>
		<dc:creator>Miguel Moure</dc:creator>
		<pubDate>Thu, 19 Jan 2012 12:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-553</guid>
		<description>Dessa maneira não tem limite de requisições ao servidor deles?</description>
		<content:encoded><![CDATA[<p>Dessa maneira não tem limite de requisições ao servidor deles?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Henrique Boaventura</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-537</link>
		<dc:creator>Henrique Boaventura</dc:creator>
		<pubDate>Mon, 21 Nov 2011 16:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-537</guid>
		<description>O método &lt;a href=&quot;https://dev.twitter.com/docs/api/1/get/statuses/show/%3Aid&quot; rel=&quot;nofollow&quot;&gt;show&lt;/a&gt; da API retorna essas informações sobre o twitter todas separadas para ti usar.</description>
		<content:encoded><![CDATA[<p>O método <a href="https://dev.twitter.com/docs/api/1/get/statuses/show/%3Aid" rel="nofollow">show</a> da API retorna essas informações sobre o twitter todas separadas para ti usar.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Leonir</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-536</link>
		<dc:creator>Leonir</dc:creator>
		<pubDate>Fri, 18 Nov 2011 17:35:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-536</guid>
		<description>excelente post
esta me dando uma boa luz
mas ainda tenho uma dúvida, como você separa os @user #AssuntosdoMomento e os link do twitt para criar um link?
ex: [link]@FrasesDoCalvin[/link]: É difícil ser religioso quando certas pessoas nunca são incineradas por relâmpagos. [link]#Calvin26Anos[/link] [link]google.com[/link]</description>
		<content:encoded><![CDATA[<p>excelente post<br />
esta me dando uma boa luz<br />
mas ainda tenho uma dúvida, como você separa os @user #AssuntosdoMomento e os link do twitt para criar um link?<br />
ex: [link]@FrasesDoCalvin[/link]: É difícil ser religioso quando certas pessoas nunca são incineradas por relâmpagos. [link]#Calvin26Anos[/link] [link]google.com[/link]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Henrique Boaventura</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-392</link>
		<dc:creator>Henrique Boaventura</dc:creator>
		<pubDate>Mon, 01 Aug 2011 23:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-392</guid>
		<description>Bom, o post ensina como recuperar somente os últimos comentários de determinado usuário. Caso tu queria outros dados, recomendo ler os outros post sobre o mesmo assunto aqui no blog.</description>
		<content:encoded><![CDATA[<p>Bom, o post ensina como recuperar somente os últimos comentários de determinado usuário. Caso tu queria outros dados, recomendo ler os outros post sobre o mesmo assunto aqui no blog.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Débora Santos</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-391</link>
		<dc:creator>Débora Santos</dc:creator>
		<pubDate>Mon, 01 Aug 2011 22:41:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-391</guid>
		<description>Eu gostaria de aprender a colocar apenas um twitt em meu blog juntamente com uma imagem minha acima. &#201; possivel? Obrigada!</description>
		<content:encoded><![CDATA[<p>Eu gostaria de aprender a colocar apenas um twitt em meu blog juntamente com uma imagem minha acima. &Eacute; possivel? Obrigada!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Bruno</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-368</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Wed, 20 Apr 2011 21:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-368</guid>
		<description>Legal de mais!! e muito simples! valeu.</description>
		<content:encoded><![CDATA[<p>Legal de mais!! e muito simples! valeu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Vinícius</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-363</link>
		<dc:creator>Vinícius</dc:creator>
		<pubDate>Wed, 13 Apr 2011 18:28:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-363</guid>
		<description>Pessoal, sou bem leigo em programa&#231;&#227;o. Adaptei um codigo php para repoduzir rss, q segue abaixo. o header nao &#233; original, inclui deposi para tentar achar uma solu&#231;ao para o problema de codifica&#231;&#227;o: somente os rss apresentam problemas de caracteres.
Do jeito que est&#225; abaixo, ele muda o codigo de td a pagina, dai fica o contrario, o rss fica certo e o resto com problema.
Se eu por&#160;header(&#039;Content-Type: application/rss+xml; charset=ISO-8859-1&#039;);
dai qd carrego a pagina aparece na verdade o codigo fonte dela no browser, bem estranho.
&#160;
Alguem teria uma sugestao? o site &#233; bittech.com.br
&#160;
vlw!!
&#160;
&lt;?php
header(&#039;Content-Type: text/html; charset=ISO-8859-1&#039;);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;include(&#039;rss_fetch.inc&#039;);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;// Set error reporting for this
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;error_reporting(E_ERROR);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;// Fetch RSS feed
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;$rss = fetch_rss(&#039;http://www.hardware.com.br/feeds/ultimas-noticias.xml&#039;);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if ($rss)
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // Split the array to show first 5
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; $items = array_slice($rss-&gt;items, 0, 4);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // Cycle through each item and echo
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; foreach ($items as $item )&#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; {
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;echo &#039;&lt;li&gt;&lt;a accept-charset=&quot;utf-8&quot; href=&quot;&#039;.$item[&#039;link&#039;].&#039;&quot;&gt;&#039;.$item[&#039;title&#039;].&#039;&lt;/a&gt;&lt;/li&gt;&#039;;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; }
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;else&#160;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;{
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;echo &#039;&lt;h2&gt;Error:&lt;/h2&gt;&lt;p&gt;&#039;.magpie_error().&#039;&lt;/p&gt;&#039;;
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;}
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;// Restore original error reporting value
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;@ini_restore(&#039;error_reporting&#039;);
&#160;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;?&gt;</description>
		<content:encoded><![CDATA[<p>Pessoal, sou bem leigo em programa&ccedil;&atilde;o. Adaptei um codigo php para repoduzir rss, q segue abaixo. o header nao &eacute; original, inclui deposi para tentar achar uma solu&ccedil;ao para o problema de codifica&ccedil;&atilde;o: somente os rss apresentam problemas de caracteres.<br />
Do jeito que est&aacute; abaixo, ele muda o codigo de td a pagina, dai fica o contrario, o rss fica certo e o resto com problema.<br />
Se eu por&nbsp;header(&#039;Content-Type: application/rss+xml; charset=ISO-8859-1&#039;);<br />
dai qd carrego a pagina aparece na verdade o codigo fonte dela no browser, bem estranho.<br />
&nbsp;<br />
Alguem teria uma sugestao? o site &eacute; bittech.com.br<br />
&nbsp;<br />
vlw!!<br />
&nbsp;<br />
&lt;?php<br />
header(&#039;Content-Type: text/html; charset=ISO-8859-1&#039;);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;include(&#039;rss_fetch.inc&#039;);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Set error reporting for this<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;error_reporting(E_ERROR);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Fetch RSS feed<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;$rss = fetch_rss(&#039;<a href="http://www.hardware.com.br/feeds/ultimas-noticias.xml&#038;#039" rel="nofollow">http://www.hardware.com.br/feeds/ultimas-noticias.xml&#038;#039</a>;);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if ($rss)<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Split the array to show first 5<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $items = array_slice($rss-&gt;items, 0, 4);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Cycle through each item and echo<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach ($items as $item )&nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &#039;&lt;li&gt;&lt;a accept-charset=&quot;utf-8&quot; href=&quot;&#039;.$item[&#039;link&#039;].&#039;&quot;&gt;&#039;.$item[&#039;title&#039;].&#039;&lt;/a&gt;&lt;/li&gt;&#039;;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else&nbsp;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &#039;&lt;h2&gt;Error:&lt;/h2&gt;&lt;p&gt;&#039;.magpie_error().&#039;&lt;/p&gt;&#039;;<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// Restore original error reporting value<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;@ini_restore(&#039;error_reporting&#039;);<br />
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Henrique Boaventura</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-359</link>
		<dc:creator>Henrique Boaventura</dc:creator>
		<pubDate>Sun, 10 Apr 2011 16:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-359</guid>
		<description>Juliano, o código funcionando, basicamente, é copiar o código, colar no editor e salvar :D. Mas se realmente tu quiseres algo &quot;pronto&quot;, no pacote que tu baixa do twitteroauth, tem todos os arquivos para fazer o funcionamento.</description>
		<content:encoded><![CDATA[<p>Juliano, o código funcionando, basicamente, é copiar o código, colar no editor e salvar :D. Mas se realmente tu quiseres algo &#8220;pronto&#8221;, no pacote que tu baixa do twitteroauth, tem todos os arquivos para fazer o funcionamento.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Por: Juliano Guarizzo</title>
		<link>http://blog.hboaventura.com/php-integrando-o-twitter-ao-seu-site-parte-1/comment-page-1/#comment-358</link>
		<dc:creator>Juliano Guarizzo</dc:creator>
		<pubDate>Sat, 09 Apr 2011 12:44:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hboaventura.com/?p=262#comment-358</guid>
		<description>Opa,
Cara, n&#227;o estou conseguindo colocar, ate mesmo pois sou novo em php. estou aprendendo ainda, &#233; possivel, tu postar o download do codigo todo?
Funcionando?</description>
		<content:encoded><![CDATA[<p>Opa,<br />
Cara, n&atilde;o estou conseguindo colocar, ate mesmo pois sou novo em php. estou aprendendo ainda, &eacute; possivel, tu postar o download do codigo todo?<br />
Funcionando?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

