Collecting oracles from template wiki.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-11-28 13:55:12 -05:00
parent 8a1d90d06f
commit 6815aa9158
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,6 @@
accessing
populateOracles
^ wiki
| oraclesTiddler |
oraclesTiddler := self wiki templateWiki tiddlers
detect: [:tiddler | (tiddler title) = 'Tablas Generadoras' ].
^ oraclesTiddler text lines allButFirst collect: [:each | each splitOn: '|']

View File

@ -1,7 +1,7 @@
accessing
wiki
^ wiki ifNil: [
wiki := (TiddlyWiki new)
^ wiki ifNil: [ wiki := TiddlyWiki new
name: 'Firelights/Vivarium games wiki';
template: 'https://vivarium.tiddlyhost.com/'
]
template: 'https://vivarium.tiddlyhost.com/'.
]