Refreshing remote tiddlers from TiddlyHost.
This commit is contained in:
parent
20553574e4
commit
854a398a50
@ -192,7 +192,7 @@ Tiddler >> exportSTONFileInto: subfolder [
|
||||
Tiddler >> exportSTONFileOptimized [
|
||||
|
||||
| exporter wikiFolder tiddlersFolder |
|
||||
wikiFolder := self wiki file parent.
|
||||
wikiFolder := self wiki folder.
|
||||
exporter := wikiFolder / 'scripts' / 'stringAsFileInto'.
|
||||
exporter exists ifFalse: [ self installTiddlerExporter ].
|
||||
tiddlersFolder := wikiFolder / 'tiddlers'.
|
||||
|
@ -362,6 +362,12 @@ TiddlyWiki >> fromUrl: anUrlString [
|
||||
self fromDictionary: tiddlersDictionary
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> getRemoteTiddlers [
|
||||
self importJSONLink.
|
||||
^ self tiddlers
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> htmlFileExists [
|
||||
self file ifNil: [
|
||||
@ -715,7 +721,7 @@ TiddlyWiki >> tiddlers: anOrderedCollection [
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> tiddlersFolder [
|
||||
|
||||
^ self file parent / 'tiddlers'
|
||||
^ self folder / 'tiddlers'
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
|
Loading…
Reference in New Issue
Block a user