New functionality for retaking Indie Web with Brea, now as Lepiter/MiniDocs notebooks.
This commit is contained in:
parent
1a2f5a3a4a
commit
95a457e31e
@ -27,6 +27,14 @@ GrafoscopioNode class >> fromFile: aFileReference [
|
||||
^ (STON fromString: aFileReference contents) first parent
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
GrafoscopioNode class >> fromLink: aStonLink [
|
||||
| notebook |
|
||||
notebook := (STON fromString: aStonLink asUrl retrieveContents utf8Decoded) first parent.
|
||||
notebook addRemoteLocation: aStonLink.
|
||||
^ notebook
|
||||
]
|
||||
|
||||
{ #category : #accessing }
|
||||
GrafoscopioNode >> addRemoteLocation: anURL [
|
||||
self remoteLocations add: anURL
|
||||
|
Loading…
Reference in New Issue
Block a user