10 lines
263 B
Smalltalk
10 lines
263 B
Smalltalk
accessing
|
|
getMessages
|
|
| lastTweetsRaw lastTweets |
|
|
lastTweetsRaw := self rssFeed xmlDocument xpath: '//item'.
|
|
lastTweets := TweetsCollection new.
|
|
lastTweetsRaw do: [ :rssTweet |
|
|
lastTweets add: ((Tweet new fromNitterRssItem: rssTweet ))
|
|
].
|
|
^ lastTweets
|
|
|