This commit is contained in:
ruidajo 2022-05-21 22:17:47 -05:00
commit 7a7058f30c

View File

@ -1,4 +1,7 @@
accessing
profileImageUrl
| userFeed |
^ profileImageUrl ifNil: [
userFeed := self rssFeed xmlDocument.
(userFeed xpath: '//div[@class="error-panel"]') size = 1 ifTrue: [ ^ nil].
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') ]