Note that there are some explanatory texts on larger screens.

plurals
  1. POreading twitter's rss search feed with simple xml
    primarykey
    data
    text
    <p>Having some trouble selecting some nodes in the rss feed for twitter's search</p> <p>the rss url is here</p> <pre><code>http://search.twitter.com/search.rss?q=twitfile </code></pre> <p>each item looks like this</p> <pre><code>&lt;item&gt; &lt;title&gt;RT @TwittBoy: TwitFile - Comparte tus archivos en Twitter (hasta 200Mb) http://bit.ly/xYNsM&lt;/title&gt; &lt;link&gt;http://twitter.com/MarielaCelita/statuses/5990165590&lt;/link&gt; &lt;description&gt;RT &amp;lt;a href=&amp;quot;http://twitter.com/TwittBoy&amp;quot;&amp;gt;@TwittBoy&amp;lt;/a&amp;gt;: &amp;lt;b&amp;gt;TwitFile&amp;lt;/b&amp;gt; - Comparte tus archivos en Twitter (hasta 200Mb) &amp;lt;a href=&amp;quot;http://bit.ly/xYNsM&amp;quot;&amp;gt;http://bit.ly/xYNsM&amp;lt;/a&amp;gt;&lt;/description&gt; &lt;pubDate&gt;Mon, 23 Nov 2009 22:45:39 +0000&lt;/pubDate&gt; &lt;guid&gt;http://twitter.com/MarielaCelita/statuses/5990165590&lt;/guid&gt; &lt;author&gt;MarielaCelita@twitter.com (M.Celita Lijer&amp;#243;n)&lt;/author&gt; &lt;media:content type="image/jpg" width="48" height="48" url="http://a3.twimg.com/profile_images/537676869/orkut_normal.jpg"/&gt; &lt;google:image_link&gt;http://a3.twimg.com/profile_images/537676869/orkut_normal.jpg&lt;/google:image_link&gt; &lt;/item&gt; </code></pre> <p>My php is below</p> <pre><code> foreach ($twitter_xml-&gt;channel-&gt;item as $key) { $screenname = $key-&gt;{"author"}; $date = $key-&gt;{"pubDate"}; $profimg = $key-&gt;{"google:image_link"}; $link = $key-&gt;{"link"}; $title = $key-&gt;{"title"}; echo" &lt;li&gt; &lt;a href=$link&gt;&lt;img width=48 height=48 src=\"$profimg\"&gt;&lt;/a&gt; &lt;h5&gt;&lt;a href=$link&gt;$author&lt;/a&gt;&lt;/h5&gt; &lt;p class=info&gt;&lt;a href=$link&gt;$title&lt;/a&gt;&lt;/p&gt; &lt;/li&gt; "; </code></pre> <p>Problem is nothing is being echoed, i mean from the rss feed, if there are 20 results, its looping 20 times, just no data</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload