Not found user: starting implementation.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-05-21 21:45:14 -05:00
parent f9b7fdf6bb
commit 71484b16b0
1 changed files with 3 additions and 0 deletions

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: '/') ]