Note that there are some explanatory texts on larger screens.

plurals
  1. POjQuery RSS parsing issue with Delicious feed
    primarykey
    data
    text
    <p>I'm trying to parse my delicious links feed to generate custom html. I was not able to parse the item.link and item.creator (index 3,4 of the following rss).</p> <p><code></p> <p> Delicious/myusername http://www.delicious.com/myusername bookmarks posted by myusername </p> <pre><code>&lt;item&gt; &lt;title&gt;Full-function Core Data example app « Peter McIntyre&lt;/title&gt; &lt;pubDate&gt;Mon, 11 Nov 2005 04:02:00 -0730&lt;/pubDate&gt; &lt;guid isPermaLink="false"&gt;http://www.delicious.com/url/8b20ab1d1fa021f744acb67f69e22a36#myusername&lt;/guid&gt; &lt;link&gt;http://petermcintyre.wordpress.com/2010/02/24/full-function-core-data-example-app/&lt;/link&gt; &lt;dc:creator&gt;&lt;![CDATA[myusername]]&gt;&lt;/dc:creator&gt; &lt;comments&gt;http://www.delicious.com/url/8b20ab1d1fa021f744acb67f69e22a36&lt;/comments&gt; &lt;wfw:commentRss&gt;http://feeds.delicious.com/v2/rss/url/8b20ab1d1fa021f744acb67f69e22a36&lt;/wfw:commentRss&gt; &lt;source url="http://feeds.delicious.com/v2/rss/myusername"&gt;myusername's bookmarks&lt;/source&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;iphone,&lt;/category&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;coredata,&lt;/category&gt; &lt;/item&gt; &lt;item&gt; &lt;title&gt;Is there a high-level gestures library for iPhone development? - Stack Overflow&lt;/title&gt; &lt;pubDate&gt;Fri, 24 Sep 2008 09:19:16 +0730&lt;/pubDate&gt; &lt;guid isPermaLink="false"&gt;http://www.delicious.com/url/5082a6b90d2dfecbf9673c3f61e45abc#myusername&lt;/guid&gt; &lt;link&gt;http://stackoverflow.com/questions/907512/is-there-a-high-level-gestures-library-for-iphone-development&lt;/link&gt; &lt;dc:creator&gt;&lt;![CDATA[myusername]]&gt;&lt;/dc:creator&gt; &lt;comments&gt;http://www.delicious.com/url/5082a6b90d2dfecbf9673c3f61e45abc&lt;/comments&gt; &lt;wfw:commentRss&gt;http://feeds.delicious.com/v2/rss/url/5082a6b90d2dfecbf9673c3f61e45abc&lt;/wfw:commentRss&gt; &lt;source url="http://feeds.delicious.com/v2/rss/myusername"&gt;myusername's bookmarks&lt;/source&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;iPhone&lt;/category&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;gesture&lt;/category&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;objc&lt;/category&gt; &lt;category domain="http://www.delicious.com/myusername/"&gt;gesture-recognization&lt;/category&gt; &lt;/item&gt; </code></pre> <p></p> <p></p> <p></code></p> <p>here is my jQuery code, i take rss input from textarea with id "rss" and trying to print the link in firebug console. </p> <p><code>feed = $('#rss').val();</p> <p>$(feed).find('item').each(function(){ console.log($(this).children().eq(3).text());</p> <p>});</code></p> <p>For some reason the complete xml is not rendered correctly, here is the pastebin link of delicious feed <a href="http://pastebin.com/KbDNyL0P" rel="nofollow">http://pastebin.com/KbDNyL0P</a></p> <p><strong>Update:</strong> It seems that I was using some wrong version/distro of jQuery, I copied jQuery from a plugin directory that causes the issue. Lesson learnt: always download from jQuery/GoogleCode site.</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