Skip to content

Instantly share code, notes, and snippets.

<site id='awesome'>
<owner id='jongilkison' name='Jon Gilkison' profile='http://jon/' />
<theme template='template' navigation='left' stylesheet='http://style/sheet'>
<fonts>
<font for='header' value='Arial' />
<font for='links' value='Comic Sans' />
<font for='body' value='Times New Roman' />
</fonts>
<colors>
<color for='header' value='#FFF' />
site:
model: cms.cms_site
attributes:
- { name: 'id', required: 'true', type: 'string' }
children:
- { name: 'owner', type: 'owner' }
- { name: 'theme', type: 'theme' }
owner:
model: cms.cms_owner
attributes:
todo.owner:
node: owner
class: sys.app.dynamic_object
attributes:
- { name: 'name', required: 'true', type: 'string' }
- { name: 'email', required: 'true', type: 'string' }
content:
- { name: 'lists', type: 'hash', contains: 'todo.list', key: 'id' }
imap:
server: imap.gmail.com
port: 993
user: YOUR GMAIL ADDRESS
password: YOUR PASSWORD
mailbox: INBOX