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
|
^ self folder
|
||||||
]
|
]
|
||||||
|
|
||||||
|
{ #category : #accessing }
|
||||||
|
TiddlyWiki >> downloadJSONCache [
|
||||||
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
TiddlyWiki >> exportCommonTiddlers [
|
TiddlyWiki >> exportCommonTiddlers [
|
||||||
|
|
||||||
@ -831,8 +835,11 @@ TiddlyWiki >> remote: aUrlString [
|
|||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
TiddlyWiki >> remoteTiddlersContentsString [
|
TiddlyWiki >> remoteTiddlersContentsString [
|
||||||
|
| jsonAddress |
|
||||||
self isInTiddlyHost ifFalse: [ ^ self ].
|
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 }
|
{ #category : #accessing }
|
||||||
|
Loading…
Reference in New Issue
Block a user