<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zamana.eti.br &#187; problemas</title>
	<atom:link href="http://www.zamana.eti.br/blog/tag/problemas/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zamana.eti.br/blog</link>
	<description>Just my Blog</description>
	<lastBuildDate>Thu, 24 Jun 2010 16:21:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>About me wordpress plugin</title>
		<link>http://www.zamana.eti.br/blog/2008/12/27/about-me-wordpress-plugin/</link>
		<comments>http://www.zamana.eti.br/blog/2008/12/27/about-me-wordpress-plugin/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 23:05:31 +0000</pubDate>
		<dc:creator>Rafael Zamana</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Ferramentas]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[about me widget]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[problemas]]></category>
		<category><![CDATA[sam devol]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://www.zamana.eti.br/blog/?p=51</guid>
		<description><![CDATA[I was searching for a good widget that has one editor included, and I found this widget &#8220;About me widget&#8221; for wordpress, and so I found some problems there to. So I decide to review this plugin and try to solve some problems. I already send a communication to Sam Devol about this. The first [...]]]></description>
			<content:encoded><![CDATA[<link rel="stylesheet" href="http://www.zamana.eti.br/blog/wp-content/plugins/flickrimageman/flickrimageman.css" type="text/css" media="screen" /><p>I was searching for a good widget that has one editor included, and I found this widget &#8220;<a href="http://wordpress.org/extend/plugins/about-me-widget/" target="_blank">About me widget</a>&#8221; for wordpress, and so I found some problems there to.</p>
<p>So I decide to review this plugin and try to solve some problems.</p>
<p>I already send a communication to <a href="http://samdevol.com/" target="_blank">Sam Devol</a> about this.</p>
<p>The first problem was that the tinyMCE didn&#8217;t worked. Taking a look I just found that the editor call was wrong.</p>
<p>I going to let my version here until Sam return my email.</p>
<p>Here is it:</p>
<p><a href="http://www.zamana.eti.br/blog/wp-content/uploads/2008/12/about-me-widget.zip">about-me-widget</a></p>
<p>Thanks!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zamana.eti.br/blog/2008/12/27/about-me-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS back on air</title>
		<link>http://www.zamana.eti.br/blog/2008/08/22/rss-back-on-air/</link>
		<comments>http://www.zamana.eti.br/blog/2008/08/22/rss-back-on-air/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 19:36:17 +0000</pubDate>
		<dc:creator>Rafael Zamana</dc:creator>
				<category><![CDATA[Comum]]></category>
		<category><![CDATA[dgm]]></category>
		<category><![CDATA[feedburner]]></category>
		<category><![CDATA[ike]]></category>
		<category><![CDATA[problemas]]></category>
		<category><![CDATA[rss]]></category>

		<guid isPermaLink="false">http://www.zamana.eti.br/blog/?p=25</guid>
		<description><![CDATA[A muito tempo o DGMike (só esperando ele mudar o blog dele para eu poder linkar de verdade) me avisou que o meu rss não estava funcionando direto. Explicação: Uso o FeedBurner para poder gerenciar o Feed, só que com a mudança do site ocorreram alguns problemas no endereço do XML. Como estava com muito [...]]]></description>
			<content:encoded><![CDATA[<link rel="stylesheet" href="http://www.zamana.eti.br/blog/wp-content/plugins/flickrimageman/flickrimageman.css" type="text/css" media="screen" /><p>A muito tempo o DGMike (só esperando ele mudar o blog dele para eu poder linkar de verdade) me avisou que o meu rss não estava funcionando direto.</p>
<p>Explicação:</p>
<p>Uso o <a title="FeedBurner from Google" href="http://www.feedbruner.com.br" target="_blank">FeedBurner</a> para poder gerenciar o Feed, só que com a mudança do site ocorreram alguns problemas no endereço do XML.</p>
<p>Como estava com muito trabalho para fazer, acabei deixando de lado. Peço desculpas, mas agora, voltamos com a programação normal.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zamana.eti.br/blog/2008/08/22/rss-back-on-air/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mudando de casa</title>
		<link>http://www.zamana.eti.br/blog/2008/07/03/mudando-de-casa/</link>
		<comments>http://www.zamana.eti.br/blog/2008/07/03/mudando-de-casa/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 19:38:35 +0000</pubDate>
		<dc:creator>Rafael Zamana</dc:creator>
				<category><![CDATA[Comum]]></category>
		<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Dicas]]></category>
		<category><![CDATA[dgmike]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[paladino]]></category>
		<category><![CDATA[problemas]]></category>
		<category><![CDATA[programacao]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.zamana.eti.br/blog/?p=23</guid>
		<description><![CDATA[Aqueles que normalmente acompanham este blog, perceberam que nos ultimos dias ocorreram certas quedas do site. Explicação: Mudei de servidor. Estou agora em parceria com o DGMike e o Paladino em um servidor no DreamHost. Passamos (DGMike e eu) o site faz uns dois dias para lá. Até o momento tudo bem. Estou curtindo poder [...]]]></description>
			<content:encoded><![CDATA[<link rel="stylesheet" href="http://www.zamana.eti.br/blog/wp-content/plugins/flickrimageman/flickrimageman.css" type="text/css" media="screen" /><p>Aqueles que normalmente acompanham este blog, perceberam que nos ultimos dias ocorreram certas quedas do site.</p>
<p>Explicação:</p>
<p><span id="more-23"></span></p>
<p>Mudei de servidor.</p>
<p>Estou agora em parceria com o <a href="http://dgmike.wordpress.com" target="_blank">DGMike</a> e o Paladino em um servidor no <a title="Dream Host" href="http://www.dreamhost.com" target="_blank">DreamHost</a>.</p>
<p>Passamos (DGMike e eu) o site faz uns dois dias para lá.</p>
<p>Até o momento tudo bem.</p>
<p>Estou curtindo poder trabalhar com <a href="http://pt.wikipedia.org/wiki/Svn" target="_blank">svn</a>.</p>
<p>A muito queria poder estar num servidor assim, já que não encontro servidores com essa opção no Brasil.</p>
<p>Obrigado desde já</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zamana.eti.br/blog/2008/07/03/mudando-de-casa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Expressões Regulares &#8211; Part I</title>
		<link>http://www.zamana.eti.br/blog/2008/02/01/expressoes-regulares-part-i/</link>
		<comments>http://www.zamana.eti.br/blog/2008/02/01/expressoes-regulares-part-i/#comments</comments>
		<pubDate>Fri, 01 Feb 2008 19:51:19 +0000</pubDate>
		<dc:creator>Rafael Zamana</dc:creator>
				<category><![CDATA[Desenvolvimento]]></category>
		<category><![CDATA[Projetos]]></category>
		<category><![CDATA[expressão regular]]></category>
		<category><![CDATA[html tags]]></category>
		<category><![CDATA[imagens]]></category>
		<category><![CDATA[problemas]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://www.zamana.eti.br/wp/2008/02/01/expressoes-regulares-part-i/</guid>
		<description><![CDATA[A um tempo eu venho apanhando de Expressões Regulares (RegEx para os íntimos). Afinal, eu vou comprar o Guia Prático hoje, e pretendo juntar isso a minha coleção de livros que estou lendo (já são 5 ). Hoje ocorreu a necessidade em que eu precisava apanhar uma URL dentro de uma tag img que no [...]]]></description>
			<content:encoded><![CDATA[<link rel="stylesheet" href="http://www.zamana.eti.br/blog/wp-content/plugins/flickrimageman/flickrimageman.css" type="text/css" media="screen" /><p>A um tempo eu venho apanhando de Expressões Regulares (RegEx para os íntimos).</p>
<p>Afinal, eu vou comprar o Guia Prático hoje, e pretendo juntar isso a minha coleção de livros que estou lendo (já são 5 <img src='http://www.zamana.eti.br/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).</p>
<p>Hoje ocorreu a necessidade em que eu precisava apanhar uma URL dentro de uma tag img que no final das contas estava dentro de um &lt;textarea&gt;.</p>
<p><span id="more-9"></span></p>
<p>Eu já sabia que eu teria que usar Expressão Regular, mas ainda assim, para uma conteudo muito especifico.</p>
<p>&lt;textarea (algumas coisas&gt;(outras coisas)&lt;img src=&#8221;<em><strong>(oque eu quero)</strong></em>&#8221; (coisas,etc,etc&#8230;) /&gt;(mais um monte de coisas)&lt;/textarea&gt;</p>
<p>Deu mais ou menos pra entender?!? Eu também fiquei louco&#8230;.</p>
<p>Quebrei a cabeça por uns dois dias, mas no final eu consegui.</p>
<pre class="prettyprint" id="PHP">
$pagina = file_get_contents('pagina.htm');
preg_match_all('@&lt;textarea.*[^&gt;]&gt;.*&lt;img.*src="(.*)(gif|jpg|png)"&gt;.*&lt;\/textarea&gt;@i',$pagina,$matches);</pre>
<p>O problema aqui é que ele separa a url da imagem da sua extensão.</p>
<p>Algo como:</p>
<p>[1] =&gt; http://www.zamana.eti.br/logo</p>
<p>[2] =&gt; jpg</p>
<p>Ainda estou tentando arrumar isso.</p>
<p>Por enquanto vale a introdução</p>
]]></content:encoded>
			<wfw:commentRss>http://www.zamana.eti.br/blog/2008/02/01/expressoes-regulares-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.352 seconds -->
