Ir para conteúdo

POWERED BY:

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

William Bruno

[Resolvido] Como acesso posição [0] de um objeto, sem usar __toSt

Recommended Posts

Boas galera,

 

Já tem um bom tempo que não programo nada "diferente" em php.. travei em uma questão.

Tenho o seguinte objeto:

 

object(SimpleXMLElement)#6 (2) {
 ["@attributes"]=>
 array(1) {
   ["type"]=>
   string(4) "html"
 }
 [0]=>
 string(314) "			<p><a href="http://www.flickr.com/people/xx/">xx</a> postou uma foto:</p>

<p><a href="http://www.flickr.com/photos/xx/" title="xx"><img src="http://farm7.staticflickr.com/6115/xxx_m.jpg" width="180" height="240" alt="xx" /></a></p>

"
}

 

como faço para acessar o conteúdo da posição [0] ali ?

usando __toString eu consigo, porém por algum motivo bem esquisito esse método não está disponível na minha hospedagem.

 

#comofaz?

Compartilhar este post


Link para o post
Compartilhar em outros sites

Eu recebo o XML do feed de um album do Flickr, e preciso parsear esse XML para pegar a foto "pequena".

 

Vou dar uma olhada com DOMDocument.

 

 

@edit

Acho que não rola:

		$dom = new DOMDocument;
	$dom->loadXML($file);
	var_dump( $dom );

saída:

object(DOMDocument)#3 (0) { } 

aceito sugestões.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Já tentei isso @João:

 

var_dump( $entry->content, $entry->content->{0} );

saída:

 

object(SimpleXMLElement)#6 (2) {
 ["@attributes"]=>
 array(1) {
   ["type"]=>
   string(4) "html"
 }
 [0]=>
 string(314) "			<p><a href="http://www.flickr.com/xx">xx</a> postou uma foto:</p>

<p><a href="http://www.flickr.com/photos/xx" title="xx"><img src="http://farm7.staticflickr.com/xx_m.jpg" width="180" height="240" alt="xx" /></a></p>

"
}
object(SimpleXMLElement)#9 (2) {
 ["@attributes"]=>
 array(1) {
   ["type"]=>
   string(4) "html"
 }
 [0]=>
 string(314) "			<p><a href="http://www.flickr.com/xx">xx</a> postou uma foto:</p>

<p><a href="http://www.flickr.com/photos/xx" title="LinuxCon 2011 (26)"><img src="http://farm7.staticflickr.com/xx_m.jpg" width="180" height="240" alt="xx" /></a></p>

"
}

ou seja, a mesma coisa que a entrada.

Compartilhar este post


Link para o post
Compartilhar em outros sites

Oi @Carlos,

 

consegui fazer funcionar o DOMDocument, mas o retorno foi bem esquisito

o código isolado é este:

 

 

<?php
/**
* @class LeitorRss
* @date 31/03/2012
* @author William Bruno
*/
class LeitorRss
{
/**
 * @function flickr
 */	
public function flickr( $url, $max=5 )
{		
	$file = $this->curl_file( $url );
	$xml = simplexml_load_string( $file, 'SimpleXMLElement', LIBXML_NOCDATA );

	foreach( $xml->entry AS $entry )
	{
		var_dump( $entry->content );			
		exit();
	}
}


/**
 * @function curl_file
 */
private function curl_file($url, $timeout=0){
	$ch = curl_init();
	curl_setopt( $ch, CURLOPT_URL, $url );
	//curl_setopt ($ch, CURLOPT_HEADER, 1);
	curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
	curl_setopt( $ch, CURLOPT_CONNECTTIMEOUT, $timeout );
	$content = curl_exec( $ch );
	curl_close( $ch );

	return $content;
}

}//LeitorRss


$leitor = new LeitorRss();
echo $leitor->flickr( 'http://api.flickr.com/services/feeds/photoset.gne?set=72157628091808954&nsid=28875295@N02〈=en-us' );

 

@edit, com DOMDocument, seria assim:

	public function flickr( $url, $max=5 )
{		
	$file = $this->curl_file( $url );


	libxml_use_internal_errors( TRUE );

	$dom = new DOMDocument();
	$dom->loadHTML( $file );
	$xml = simplexml_import_dom( $dom );
	libxml_use_internal_errors( FALSE );


	//$c = $xml->xpath("/entry");

	var_dump( $xml );		
}

mas dai ainda tô tentando entender como parsear esse monstro q ele retornou.

 

 

 

@update, o @João me sugeriu usar um (cast).

 

Assim:

$content = trim( $entry->content->__toString() );

retorna:

Fatal error: Call to undefined method SimpleXMLElement::__toString() in

 

Porém, assim:

$content = trim( (string)$entry->content );

funciona!

 

:lol:

Compartilhar este post


Link para o post
Compartilhar em outros sites

isso mesmo que encotrei aqui.. tinha resolvido usando cast

 

print_r( (string)$v1 -> link ); exit;

Compartilhar este post


Link para o post
Compartilhar em outros sites

@William Bruno

 

Seria isso que você queria?

 

XMLDocument.xml

 

 

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<feed xmlns="http://www.w3.org/2005/Atom"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:flickr="urn:flickr:user"
     xmlns:media="http://search.yahoo.com/mrss/">

 <title>Content from RubyConf Brasil 2011 by Locaweb</title>
 <link rel="self" href="http://api.flickr.com/services/feeds/photoset.gne?set=72157628091808954&nsid=28875295@N02&lang=en-us" />
 <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/sets/72157628091808954"/>
 <id>tag:flickr.com,2005:http://www.flickr.com/photos/28875295@N02/sets/72157628091808954</id>
 <icon>http://farm7.staticflickr.com/6099/6329813282_4ae877032e_s.jpg</icon>
 <subtitle>A maior conferência de Ruby da América Latina. Dias 03 e 04 de novembro de 2011 - São Paulo/SP</subtitle>
 <updated>2011-11-09T19:21:30Z</updated>
 <generator uri="http://www.flickr.com/">Flickr</generator>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (735)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813424/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813424/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-04T07:33:20-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-04T07:33:20-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813424/" title="RubyConf Brasil 2011 by Locaweb (735)"><img src="http://farm7.staticflickr.com/6234/6329813424_13f494f33b_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (735)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6234/6329813424_13f494f33b_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (734)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813398/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813398/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-04T07:31:54-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-04T07:31:54-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813398/" title="RubyConf Brasil 2011 by Locaweb (734)"><img src="http://farm7.staticflickr.com/6115/6329813398_eb71b82f57_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (734)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6115/6329813398_eb71b82f57_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (732)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813368/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813368/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-04T07:24:15-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-04T07:24:15-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813368/" title="RubyConf Brasil 2011 by Locaweb (732)"><img src="http://farm7.staticflickr.com/6238/6329813368_7e654bf982_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (732)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6238/6329813368_7e654bf982_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (730)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813306/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813306/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-04T07:23:02-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-04T07:23:02-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813306/" title="RubyConf Brasil 2011 by Locaweb (730)"><img src="http://farm7.staticflickr.com/6034/6329813306_a39f518f80_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (730)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6034/6329813306_a39f518f80_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (729)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813282/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813282/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T19:42:20-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T19:42:20-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813282/" title="RubyConf Brasil 2011 by Locaweb (729)"><img src="http://farm7.staticflickr.com/6099/6329813282_4ae877032e_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (729)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6099/6329813282_4ae877032e_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (725)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813198/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813198/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T19:15:49-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T19:15:49-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813198/" title="RubyConf Brasil 2011 by Locaweb (725)"><img src="http://farm7.staticflickr.com/6234/6329813198_1ca53ef69a_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (725)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6234/6329813198_1ca53ef69a_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (723)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813140/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813140/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T18:28:56-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T18:28:56-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813140/" title="RubyConf Brasil 2011 by Locaweb (723)"><img src="http://farm7.staticflickr.com/6095/6329813140_526f0d5815_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (723)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6095/6329813140_526f0d5815_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (721)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813100/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813100/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T18:11:01-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T18:11:01-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813100/" title="RubyConf Brasil 2011 by Locaweb (721)"><img src="http://farm7.staticflickr.com/6093/6329813100_c03b51498c_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (721)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6093/6329813100_c03b51498c_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (720)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329813088/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329813088/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T18:10:44-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T18:10:44-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813088/" title="RubyConf Brasil 2011 by Locaweb (720)"><img src="http://farm7.staticflickr.com/6230/6329813088_5af3a32710_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (720)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6230/6329813088_5af3a32710_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (716)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812980/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812980/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:55:19-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:55:19-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812980/" title="RubyConf Brasil 2011 by Locaweb (716)"><img src="http://farm7.staticflickr.com/6111/6329812980_f0ae5efcbf_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (716)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6111/6329812980_f0ae5efcbf_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (714)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812928/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812928/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:38:13-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:38:13-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812928/" title="RubyConf Brasil 2011 by Locaweb (714)"><img src="http://farm7.staticflickr.com/6240/6329812928_d20a0db7bf_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (714)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6240/6329812928_d20a0db7bf_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (712)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812880/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812880/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:37:03-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:37:03-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812880/" title="RubyConf Brasil 2011 by Locaweb (712)"><img src="http://farm7.staticflickr.com/6214/6329812880_7f78055d1d_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (712)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6214/6329812880_7f78055d1d_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (711)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812862/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812862/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:35:51-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:35:51-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812862/" title="RubyConf Brasil 2011 by Locaweb (711)"><img src="http://farm7.staticflickr.com/6052/6329812862_a1105331aa_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (711)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6052/6329812862_a1105331aa_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (710)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812820/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812820/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:31:32-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:31:32-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812820/" title="RubyConf Brasil 2011 by Locaweb (710)"><img src="http://farm7.staticflickr.com/6100/6329812820_5b3247a97b_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (710)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6100/6329812820_5b3247a97b_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (709)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812794/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812794/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:24:47-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:24:47-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812794/" title="RubyConf Brasil 2011 by Locaweb (709)"><img src="http://farm7.staticflickr.com/6044/6329812794_9685f23839_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (709)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6044/6329812794_9685f23839_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (707)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812662/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812662/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T17:11:58-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T17:11:58-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812662/" title="RubyConf Brasil 2011 by Locaweb (707)"><img src="http://farm7.staticflickr.com/6038/6329812662_f444b691db_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (707)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6038/6329812662_f444b691db_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (705)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812570/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812570/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T16:47:36-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T16:47:36-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812570/" title="RubyConf Brasil 2011 by Locaweb (705)"><img src="http://farm7.staticflickr.com/6043/6329812570_39d9762f93_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (705)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6043/6329812570_39d9762f93_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (701)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812450/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812450/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T16:24:07-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T16:24:07-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812450/" title="RubyConf Brasil 2011 by Locaweb (701)"><img src="http://farm7.staticflickr.com/6110/6329812450_acd506905a_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (701)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6110/6329812450_acd506905a_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (700)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812408/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812408/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T16:22:21-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T16:22:21-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812408/" title="RubyConf Brasil 2011 by Locaweb (700)"><img src="http://farm7.staticflickr.com/6118/6329812408_30a2dc51fd_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (700)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6118/6329812408_30a2dc51fd_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>

<entry>
   <title>RubyConf Brasil 2011 by Locaweb (699)</title>
   <link rel="alternate" type="text/html" href="http://www.flickr.com/photos/locaweb/6329812372/in/set-72157628091808954/"/>
   <id>tag:flickr.com,2005:/photo/6329812372/in/set-72157628091808954</id>
   <published>2011-11-09T19:21:30Z</published>
   <updated>2011-11-09T19:21:30Z</updated>
   <flickr:date_taken>2011-11-03T16:21:06-08:00</flickr:date_taken>
   <dc:date.Taken>2011-11-03T16:21:06-08:00</dc:date.Taken>
   <content type="html">			<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812372/" title="RubyConf Brasil 2011 by Locaweb (699)"><img src="http://farm7.staticflickr.com/6106/6329812372_73a0bec935_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (699)" /></a></p>

</content>
   <author>
     <name>Locaweb</name>
     <uri>http://www.flickr.com/people/locaweb/</uri>
     <flickr:nsid>28875295@N02</flickr:nsid>
   </author>
   <link rel="enclosure" type="image/jpeg" href="http://farm7.staticflickr.com/6106/6329812372_73a0bec935_b.jpg" />
   <category term="ruby" scheme="http://www.flickr.com/photos/tags/" />
   <category term="akita" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyonrails" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbrasil" scheme="http://www.flickr.com/photos/tags/" />
   <category term="rubyconfbr2011" scheme="http://www.flickr.com/photos/tags/" />
</entry>


</feed>

 

 

 

teste.php

<?php

$DOMDocument = new DOMDocument( '1.0', 'UTF-8' );
$DOMDocument->load( 'XMLDocument.xml' );

foreach( $DOMDocument->getElementsByTagName( 'content' ) as $content )
{
   $result[ ] = trim( $content->nodeValue );
}

var_dump( $result );

 

Saída:

 

 

array
 0 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813424/" title="RubyConf Brasil 2011 by Locaweb (735)"><img src="http://farm7.staticflickr.com/6234/6329813424_13f494f33b_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (735)" /></a></p>' (length=346)
 1 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813398/" title="RubyConf Brasil 2011 by Locaweb (734)"><img src="http://farm7.staticflickr.com/6115/6329813398_eb71b82f57_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (734)" /></a></p>' (length=346)
 2 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813368/" title="RubyConf Brasil 2011 by Locaweb (732)"><img src="http://farm7.staticflickr.com/6238/6329813368_7e654bf982_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (732)" /></a></p>' (length=346)
 3 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813306/" title="RubyConf Brasil 2011 by Locaweb (730)"><img src="http://farm7.staticflickr.com/6034/6329813306_a39f518f80_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (730)" /></a></p>' (length=346)
 4 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813282/" title="RubyConf Brasil 2011 by Locaweb (729)"><img src="http://farm7.staticflickr.com/6099/6329813282_4ae877032e_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (729)" /></a></p>' (length=346)
 5 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813198/" title="RubyConf Brasil 2011 by Locaweb (725)"><img src="http://farm7.staticflickr.com/6234/6329813198_1ca53ef69a_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (725)" /></a></p>' (length=346)
 6 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813140/" title="RubyConf Brasil 2011 by Locaweb (723)"><img src="http://farm7.staticflickr.com/6095/6329813140_526f0d5815_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (723)" /></a></p>' (length=346)
 7 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813100/" title="RubyConf Brasil 2011 by Locaweb (721)"><img src="http://farm7.staticflickr.com/6093/6329813100_c03b51498c_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (721)" /></a></p>' (length=346)
 8 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329813088/" title="RubyConf Brasil 2011 by Locaweb (720)"><img src="http://farm7.staticflickr.com/6230/6329813088_5af3a32710_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (720)" /></a></p>' (length=346)
 9 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812980/" title="RubyConf Brasil 2011 by Locaweb (716)"><img src="http://farm7.staticflickr.com/6111/6329812980_f0ae5efcbf_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (716)" /></a></p>' (length=346)
 10 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812928/" title="RubyConf Brasil 2011 by Locaweb (714)"><img src="http://farm7.staticflickr.com/6240/6329812928_d20a0db7bf_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (714)" /></a></p>' (length=346)
 11 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812880/" title="RubyConf Brasil 2011 by Locaweb (712)"><img src="http://farm7.staticflickr.com/6214/6329812880_7f78055d1d_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (712)" /></a></p>' (length=346)
 12 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812862/" title="RubyConf Brasil 2011 by Locaweb (711)"><img src="http://farm7.staticflickr.com/6052/6329812862_a1105331aa_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (711)" /></a></p>' (length=346)
 13 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812820/" title="RubyConf Brasil 2011 by Locaweb (710)"><img src="http://farm7.staticflickr.com/6100/6329812820_5b3247a97b_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (710)" /></a></p>' (length=346)
 14 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812794/" title="RubyConf Brasil 2011 by Locaweb (709)"><img src="http://farm7.staticflickr.com/6044/6329812794_9685f23839_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (709)" /></a></p>' (length=346)
 15 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812662/" title="RubyConf Brasil 2011 by Locaweb (707)"><img src="http://farm7.staticflickr.com/6038/6329812662_f444b691db_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (707)" /></a></p>' (length=346)
 16 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812570/" title="RubyConf Brasil 2011 by Locaweb (705)"><img src="http://farm7.staticflickr.com/6043/6329812570_39d9762f93_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (705)" /></a></p>' (length=346)
 17 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812450/" title="RubyConf Brasil 2011 by Locaweb (701)"><img src="http://farm7.staticflickr.com/6110/6329812450_acd506905a_m.jpg" width="160" height="240" alt="RubyConf Brasil 2011 by Locaweb (701)" /></a></p>' (length=346)
 18 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812408/" title="RubyConf Brasil 2011 by Locaweb (700)"><img src="http://farm7.staticflickr.com/6118/6329812408_30a2dc51fd_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (700)" /></a></p>' (length=346)
 19 => string '<p><a href="http://www.flickr.com/people/locaweb/">Locaweb</a> posted a photo:</p>

<p><a href="http://www.flickr.com/photos/locaweb/6329812372/" title="RubyConf Brasil 2011 by Locaweb (699)"><img src="http://farm7.staticflickr.com/6106/6329812372_73a0bec935_m.jpg" width="240" height="160" alt="RubyConf Brasil 2011 by Locaweb (699)" /></a></p>' (length=346)

 

 

Compartilhar este post


Link para o post
Compartilhar em outros sites

×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.