solid-client icon indicating copy to clipboard operation
solid-client copied to clipboard

easy access to all 'default containers' recommended for solid servers

Open elf-pavlik opened this issue 9 years ago • 2 comments

https://github.com/solid/solid-spec/blob/master/recommendations-server.md#default-containers

recommends

  • (root)
  • (profile)
  • (settings)
  • (inbox)

currently solid client provides .storage which matches (root) from above list, it should in similar way provide easy access to all the containers recommended for servers (currently only 3 other than root)

seeAlso: https://gitter.im/solid/chat?at=58165a3f83a2008d22ed8151

elf-pavlik avatar Oct 30 '16 22:10 elf-pavlik

I think this use case is already handled. Root is profile.storage, profile is the profile itself, settings is profile.preferences, inbox is profile.inbox.

dmitrizagidulin avatar Nov 01 '16 19:11 dmitrizagidulin

settings is profile.preferences

https://github.com/solid/solid-client/blob/master/lib/solid/profile.js#L203

this.preferences.uri = parseLink(parsedProfile, webId, ns.pim('preferencesFile'))

preferences (file) differs from settings (directory/container) https://github.com/solid/solid-client/blob/6f4538e73861ae956fe24aece8aaf135ac99e01a/lib/solid/profile.js#L14

profile is the profile itself

and where does it have IRI of profile container recommended for servers? it doesn't seem to discover that container but only append data from individual resources considered a part of Extended Profile but none of those resources have a requirement to stay hosted in any of the profile.storage containers.

Root is profile.storage

👍

inbox is profile.inbox

👍

TOTAL: 2 out of 4

elf-pavlik avatar Nov 01 '16 23:11 elf-pavlik