detach-recovery #1
@ -1,3 +1,3 @@
|
|||||||
accessing
|
accessing
|
||||||
id
|
id
|
||||||
^ id ifNil: [id := (self profileImageUrl segments select: [ :each | each asInteger class = LargePositiveInteger]) first.]
|
^ id ifNil: [id := (self profileImageUrl asUrl segments select: [ :each | each isAllDigits ]) first.]
|
@ -1,4 +1,4 @@
|
|||||||
accessing
|
accessing
|
||||||
profileImageUrl
|
profileImageUrl
|
||||||
^ profileImageUrl ifNil: [
|
^ 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: '/') ]
|
Loading…
Reference in New Issue
Block a user