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
on 2010/02/11 16:10
Change comment:
There is no comment for this version
To version 33.1
edited by Ludovic Dubost
on 2010/02/11 15:14
on 2010/02/11 15:14
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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[1].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 }