Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed May 15, 2010
1 parent 35fb692 commit b021602
Showing 1 changed file with 11 additions and 25 deletions.
36 changes: 11 additions & 25 deletions README
@@ -1,25 +1,11 @@
Spry.Data.YQLDataSet

_|_|_|
A extension for Spry Data Sets _| _|_|_| _| _|_| _| _|

_|_| _| _| _|_| _| _|
Twitter example _| _| _| _| _| _|
var ds1 = new Spry.Data.YQLDataSet( 'select * from twitter.user.timeline where (id = "3rdEden")', "entry", { timeout: 10000 } ); _|_|_| _|_|_| _| _|_|_|

_| _|
Reading and processing external feeds: _| _|_|


var ds3 = new Spry.Data.YQLDataSet( 'select * from feed where url="http://blogs.adobe.com/spryteam/atom.xml" LIMIT 5', "entry" ); A YQL Powered Spry Data Set.
ds3.addObserver({ See the Wiki for more information.
onPostLoad:function(){
var data = ds3.data,
i = data.length;

// loop over the data
while( i-- ){
// as we can just modify the data as we like
data[i].author = data[i].author.name;

// you don't have to use existing data reference, just create a new one on the fly
data[i].url = data[i].link.href;
}
}
});

0 comments on commit b021602

Please sign in to comment.