hi all,
i know atom is xml. And i know they are slightly different.
My question is : instead of using xml, can i use atom and datasource.setdataurl(ATOM) and withdraw data from it ?
if it can be done, what should i put under setRecordPath(), refering to the below atom that i got from twitter. THANKS
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns:google="http://base.google.com/ns/1.0" xml:lang="en-US" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns="http://www.w3.org/2005/Atom" xmlns:twitter="http://api.twitter.com/">
<id>tag:search.twitter.com,2005:search/twitter</id>
<link type="text/html" rel="alternate" href="http://search.twitter.com/search?q=twitter"/>
<link type="application/atom+xml" rel="self" href="http://search.twitter.com/search.atom?q=twitter"/>
<title>twitter - Twitter Search</title>
<link type="application/opensearchdescription+xml" rel="search" href="http://search.twitter.com/opensearch.xml"/>
<link type="application/atom+xml" rel="refresh" href="http://search.twitter.com/search.atom?q=twitter&since_id=1271847833"/>
<updated>2009-03-03T01:36:35Z</updated>
<openSearch:itemsPerPage>15</openSearch:itemsPerPage>
<link type="application/atom+xml" rel="next" href="http://search.twitter.com/search.atom?max_id=1271847833&page=2&q=twitter"/>
<entry>
<id>tag:search.twitter.com,2005:1271847833</id>
<published>2009-03-03T01:36:35Z</published>
<link type="text/html" rel="alternate" href="http://twitter.com/andyvengence/statuses/1271847833"/>
<title>I love how twitter gives you a "nah, nevermind. were cool" option when you block someone. Lmao...i got a kick out of that.</title>
<content type="html">I love how <b>twitter</b> gives you a "nah, nevermind. were cool" option when you block someone. Lmao...i got a kick out of that.</content>
<updated>2009-03-03T01:36:35Z</updated>
<link type="image/png" rel="image" href="http://s3.amazonaws.com/twitter_production/profile_images/85342200/m_542a51099b25ce411f855343eceb7df8_normal.jpg"/>
<twitter:source><a href="http://help.twitter.com/index.php?pg=kb.page&id=75">txt</a></twitter:source>
<author>
<name>andyvengence (andrew choynowski)</name>
<uri>http://twitter.com/andyvengence</uri>
</author>
</entry>
<entry>
<id>tag:search.twitter.com,2005:1271847788</id>
<published>2009-03-03T01:36:34Z</published>
<link type="text/html" rel="alternate" href="http://twitter.com/johnbdavis/statuses/1271847788"/>
<title>Re: Gmail down. Gmail actually seems OK. But tonight, I had no luck accessing via Safari v4 (wtf?). Thanks for the scoop twitter search.</title>
<content type="html">Re: Gmail down. Gmail actually seems OK. But tonight, I had no luck accessing via Safari v4 (wtf?). Thanks for the scoop <b>twitter</b> search.</content>
<updated>2009-03-03T01:36:34Z</updated>
<link type="image/png" rel="image" href="http://s3.amazonaws.com/twitter_production/profile_images/66510964/John1_normal.jpg"/>
<twitter:source><a href="http://www.tweetdeck.com/">TweetDeck</a></twitter:source>
<author>
<name>johnbdavis (John Davis)</name>
<uri>http://twitter.com/johnbdavis</uri>
</author>
</entry>
<entry>
<id>tag:search.twitter.com,2005:1271847749</id>
<published>2009-03-03T01:36:33Z</published>
<link type="text/html" rel="alternate" href="http://twitter.com/mandyelric/statuses/1271847749"/>
<title>arrumando meu twitter ;)</title>
<content type="html">arrumando meu <b>twitter</b> ;)</content>
<updated>2009-03-03T01:36:33Z</updated>
<link type="image/png" rel="image" href="http://static.twitter.com/images/default_profile_normal.png"/>
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
<author>
<name>mandyelric (Amanda Oliveira)</name>
<uri>http://twitter.com/mandyelric</uri>
</author>
</entry>
<entry>
<id>tag:search.twitter.com,2005:1271847721</id>
<published>2009-03-03T01:36:33Z</published>
<link type="text/html" rel="alternate" href="http://twitter.com/paulcarr/statuses/1271847721"/>
<title>@dotBen Also, as far as monitoring me is concerned, it's not exactly difficult, what with the column, blog, Twitter and soon another book.</title>
<content type="html"><a href="http://twitter.com/dotBen">@dotBen</a> Also, as far as monitoring me is concerned, it's not exactly difficult, what with the column, blog, <b>Twitter</b> and soon another book.</content>
<updated>2009-03-03T01:36:33Z</updated>
<link type="image/png" rel="image" href="http://s3.amazonaws.com/twitter_production/profile_images/53213320/2432746299_a6fc436a87_b_normal.jpg"/>
<link type="application/atom+xml" rel="thread" href="http://search.twitter.com/search/thread/1271847721.atom"/>
<twitter:source><a href="http://twitter.com/">web</a></twitter:source>
<author>
<name>paulcarr (paulcarr)</name>
<uri>http://twitter.com/paulcarr</uri>
</author>
</entry>
</feed>