Implementing download of wikis embedding binary data (i.e. raster images)
This commit is contained in:
parent
46565aa522
commit
fd50a12732
@ -228,6 +228,10 @@ TiddlyWiki >> downloadHTML [
|
||||
^ self folder
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> downloadJSONCache [
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> exportCommonTiddlers [
|
||||
|
||||
@ -831,8 +835,11 @@ TiddlyWiki >> remote: aUrlString [
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> remoteTiddlersContentsString [
|
||||
| jsonAddress |
|
||||
self isInTiddlyHost ifFalse: [ ^ self ].
|
||||
^ (self remote asString, '/tiddlers.json') asZnUrl retrieveContents.
|
||||
jsonAddress := self remote asString, '/tiddlers.json'.
|
||||
^ [jsonAddress asZnUrl retrieveContents]
|
||||
onErrorDo: [ self downloadJSONCache ].
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
|
Loading…
Reference in New Issue
Block a user