Dojo-way-of-parsing-feed
dojo.require("dojox.atom.io.model");
dojo.require("dojox.atom.io.Connection");
var conn = new dojox.atom.io.Connection();
var ems="<%=contextPath %>/proxy/https/lc01.atech.com/profiles/atom/profile.do?email=pele@atech.com";
conn.getFeed(ems, function(feed){
kk=feed;
a=kk.entries;
a[0].title.value;
});
dojo.require("dojox.atom.io.model");
dojo.require("dojox.atom.io.Connection");
var conn = new dojox.atom.io.Connection();
var ems="<%=contextPath %>/proxy/https/lc01.atech.com/profiles/atom/profile.do?email=pele@atech.com";
conn.getFeed(ems, function(feed){
kk=feed;
a=kk.entries;
a[0].title.value;
});
No comments:
Post a Comment