Wiki Page Package

A Wiki Page Package is a folder that contains an indexed list of IPFS multihash entries to individual paragraph items in IPFS.

Software would then reconstitute the wiki page json from the individual items. This could be the server or a virtual file system of some kind. Perhaps we could use Vinyl or an extended version of Vinyl, or a package.json based format.

This feels like writing a Fuse file system specifically for wiki.

# Structure

Since every page-item has a type and an id, we can look to store these in the following way. Let's take the example below:

{ "type": "paragraph", "id": "f3866b393adbb138", "text": "A Wiki Page Package is a folder that contains an indexed list of IPFS multihash entries to individual paragraph items in IPFS." }

The id can become the name of an IPFS Folder, and we can then export the json in a canonical form to an ips file that can be referenced using the following form:

{ "title": "Wiki Page Package", "story": [ {multihash}, {multihash}, {multihash}, {multihash} ], "journal": [ { "type": "create", "item": { "title": "Wiki Page Package", "story": [] }, "date": 1503007220546 }, { "item": { "type": "factory", "id": "d5c53e2f2b40c677" }, "id": "d5c53e2f2b40c677", "type": "add", "date": 1503007222093 }, ] }

The journal should also be exported to a versioning system format of some sort.