Improving data extraction.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2022-12-26 16:31:32 -05:00
parent 030f54cfd7
commit e9b199f77f

View File

@ -8,7 +8,7 @@ Class {
'journal', 'journal',
'importJournal' 'importJournal'
], ],
#category : 'TiddlyWiki-Model' #category : #'TiddlyWiki-Model'
} }
{ #category : #accessing } { #category : #accessing }
@ -23,8 +23,8 @@ FedWikiPage >> dataDictionary [
{ #category : #accessing } { #category : #accessing }
FedWikiPage >> fromDataDictionary [ FedWikiPage >> fromDataDictionary [
title := self dataDictionary at: 'title'. title := self title.
story := self dataDictionary at: 'story'. story := self story.
self importJournal ifTrue: [ journal := self dataDictionary at: 'journal']. self importJournal ifTrue: [ journal := self dataDictionary at: 'journal'].
] ]
@ -71,12 +71,12 @@ FedWikiPage >> scheme [
{ #category : #accessing } { #category : #accessing }
FedWikiPage >> story [ FedWikiPage >> story [
^ story ^ self dataDictionary at: 'story'
] ]
{ #category : #accessing } { #category : #accessing }
FedWikiPage >> title [ FedWikiPage >> title [
^ title. ^ self dataDictionary at: 'title'
] ]
{ #category : #accessing } { #category : #accessing }