Nitter: Improving tweets preview, metadata and collections management.
This commit is contained in:
parent
9fd074b572
commit
6fba4b8186
@ -0,0 +1,7 @@
|
|||||||
|
accessing
|
||||||
|
exportInto: aFolder
|
||||||
|
| file |
|
||||||
|
file := aFolder / self id, 'ston'.
|
||||||
|
^ MarkupFile
|
||||||
|
exportAsFileOn: file
|
||||||
|
containing: (STON toStringPretty: self)
|
@ -3,5 +3,6 @@ store
|
|||||||
| localFolder parameters |
|
| localFolder parameters |
|
||||||
parameters := self queryParameters .
|
parameters := self queryParameters .
|
||||||
parameters class = NitterUser ifFalse: [ ^ self ].
|
parameters class = NitterUser ifFalse: [ ^ self ].
|
||||||
^ localFolder := (self dataStore / parameters userName) ensureCreateDirectory.
|
localFolder := (self dataStore / parameters userName) ensureCreateDirectory.
|
||||||
|
self tweets do: [:each | each exportInto: localFolder ].
|
||||||
|
^ localFolder
|
Loading…
Reference in New Issue
Block a user