NfNitLoop / feoblog

A distributed, cryptographically-verifiable blog / social network
Other
71 stars 4 forks source link

Allow Items to "embed" other Items. #92

Open NfNitLoop opened 2 years ago

NfNitLoop commented 2 years ago

Unlike file attachments, these allow embedding other FeoBlog Items "into" an item that needs to reference them.

Implementations should store embedded Items in a content-addressable store so that commenting/sharing doesn't end up creating duplicates of items.

This unblocks #6

[^1]: TBD: better term? We already have a ReplyRef type.

NfNitLoop commented 2 years ago

One question, tangentially related to this: If I embed an Item, and it has attachments, do we let attachments get posted to it? Or do I need to explicitly make those part of my top-level item? Perhaps the Embed Protobuf type will need to list attachments so that they're all available at the top level?

NfNitLoop commented 1 year ago

Thus items can be replied to and discussed in context without necessarily making them broadly available on servers that do not wish to host them.

Hmm, except it is available, just via the "embedding" user's uid/sig. I'd like servers to be able to ban users/content as necessary in the future.

So, maybe a compromise: