Socialmetrica/Socialmetrica.package/Tweet.class/instance/textPreview.st

6 lines
192 B
Smalltalk
Raw Permalink Normal View History

accessing
textPreview
"I'm a utility method to improve the way text is rendered accordin to if it comes from
Nitter or Twitter."
^ (XMLHTMLParser on: self text) parseDocument stringValue