Fixing bug with profile webpage. Starting improved data extraction.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-03-31 16:09:15 -05:00
parent f27a065925
commit 204a462a2a
4 changed files with 8 additions and 2 deletions

View File

@ -14,7 +14,7 @@ asCardElement
webpageButton := BrButton new webpageButton := BrButton new
aptitude: BrGlamorousButtonWithLabelAptitude new; aptitude: BrGlamorousButtonWithLabelAptitude new;
label: (self url asString copyReplaceAll: self url scheme, '://' with: '') allButLast; label: self guiLinkLabel;
action: [ WebBrowser openOn: self url asString ]. action: [ WebBrowser openOn: self url asString ].
textInfoPane := BrVerticalPane new textInfoPane := BrVerticalPane new

View File

@ -0,0 +1,2 @@
accessing
getMessages

View File

@ -0,0 +1,4 @@
accessing
guiLinkLabel
self url ifNil: [^ ''].
^ (self url asString copyReplaceAll: self url scheme, '://' with: '') allButLast

View File

@ -1,3 +1,3 @@
accessing accessing
tweets tweets
^ tweets ifNil: [ tweets := TweetsCollection new] ^ tweets ifNil: [ self tweets: self getMessages ]