detach-recovery #1

Merged
Offray merged 3 commits from detach-recovery into master 2022-04-08 16:24:43 +00:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,3 @@
accessing
id
^ id ifNil: [ id := (self profileImageUrl segments detect: [ :each | each isAllDigits ]) ]
^ id ifNil: [ id := (self profileImageUrl asUrl segments select: [ :each | each isAllDigits ]) first.]

View File

@ -1,4 +1,4 @@
accessing
profileImageUrl
^ profileImageUrl ifNil: [
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') asUrl ]
profileImageUrl := ((self rssFeed xmlDocument xpath: '//image/url') stringValue copyReplaceAll: '%2F' with: '/') ]