New functionality for retaking Indie Web with Brea, now as Lepiter/MiniDocs notebooks.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-11-01 20:04:44 -05:00
parent 1a2f5a3a4a
commit 95a457e31e

View File

@ -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