Optimizing tiddlers JSON exportation with external programs.
This commit is contained in:
parent
009bd3e059
commit
b44e39da48
@ -30,6 +30,15 @@ TiddlyWiki class >> fromJSONUrl: anUrlString [
|
||||
name: anUrlString
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki class >> installJsonExporter [
|
||||
ZnClient "Descarga el archivo
|
||||
https://mutabit.com/repos.fossil/mutabit/uv/wiki/scripts/exportJsonFile
|
||||
a la subcarpeta del wiki ./scripts/exportJsonFile.
|
||||
y lo hace ejecutable.
|
||||
"
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> addToConfigFile [
|
||||
| cleaned newConfig |
|
||||
@ -154,6 +163,14 @@ TiddlyWiki >> exportJSONFile [
|
||||
^ MarkupFile exportAsFileOn: self jsonFile containing: rawJsonTiddlers
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> exportJSONFileOptimized [
|
||||
| exporter |
|
||||
exporter := self file parent / 'scripts' / 'export' / 'exportJsonFile'.
|
||||
exporter exists ifFalse: [ self class installJsonExporter].
|
||||
"Ejecutar el exportador de JSON con OSSubprocess."
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> exportJSONSubtiddlers: subtiddlersCollection [
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user