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