Changes for page TwitterGroovy

Last modified by Ludovic Dubost on 2010/02/11 15:14

From version 31.1
edited by Ludovic Dubost
on 2010/02/11 16:10
Change comment: There is no comment for this version
To version 32.1
edited by Ludovic Dubost
on 2010/02/11 16:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -39,7 +39,7 @@
39 39   String authorid = authoruri.substring(authoruri.lastIndexOf("/") + 1);
40 40   Date publishDate = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ").parse(entry.published.text().replaceAll("Z","+0000"));
41 41   def user = [ "id" : authorid, "name" : entry.author.name.text(), "screenName" : authorid,
42 - "location" : "", "description" : "", "profileImageUrl": entry.link, "URL" : authoruri, "isProtected" : "", "followersCount" : -1];
42 + "location" : "", "description" : "", "profileImageUrl": entry.link.href, "URL" : authoruri, "isProtected" : "", "followersCount" : -1];
43 43   def st = [ "id" : entry.id.text(), "createdAt" : publishDate, "text" : entry.title.text(), "content" : entry.content.text(), "source" : "", "isTruncated" : false, "inReplyToStatusId": "", "inReplyToUserId": "", "user" : user ];
44 44   list.add(st);
45 45   }