From 45361e4e98000637fb2c117de44c785b61204447 Mon Sep 17 00:00:00 2001 From: Frederik Loeffert Date: Wed, 26 Feb 2014 16:21:44 +0100 Subject: [PATCH] README docu updated --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 78a636d..a72de64 100644 --- a/README.md +++ b/README.md @@ -13,24 +13,24 @@ It's up to you how you use it and which data you want to export to the server. O All you have to do is to provide a tree of content nodes as a JSON encoded RepoNode. + | Attribute | Type | Usage | | ------------- |:-------------:| -----:| | Id | string | unique id to identify the node | -| Updated | int | last modification date as unix timestamp | | MimeType | string | mime-type of the node, e.g. text/html, image/png, ... | +| LinkId | map[string]map[string]string | (symbolic) link/alias to another node | | Handler | string | define a handler to easily control the output rendering | | Regions | []string | define regions for multi-market websites | +| Groups | []string | access control | +| States | []string | server states | | URIs | map[string]map[string]string | a map of unique URIs for each region and language to resolve and link to the node | -| DestinationId | string | alias or symlink handling | | Names | map[string]map[string]string | a name for this node in every region and language | | Hidden | map[string]map[string]bool | hide in menu specific for region and language | -| States | []string | server states | -| Groups | []string | access control | +| DestinationId | string | alias or symlink handling | | Data | map[string]interface{} | payload data | -| Content | map[string]interface{} | ??? | | Nodes | map[string]*RepoNode | child nodes | | Index | []string | ??? | -| LinkIds | map[string]map[string]string | ??? | + ### Tips