URL : http://kalyanchakravarthy.net/projects/tada-notes-v0.2rc
Admin password : tada
Tada notes is a simple note authoring tool, with facility for custom page templates.
Page creation is as simple as opening one of these urls
Content will essentially consist of a page title and page content, which will be placed inside a custom template. Content is authored/rendered using the markdown syntax To edit this page you will have to use this ./edit:index.html
Tada notes is written in php
and all data is stored in an sqlite database
in the form of key value pairs. The piece of software, after build, consists of 3 files. .htaccess
, index.php
, notes.data.sqlite
, markdown.php
.
A template is similar to a page, but it starts with a dot '.', and doesn't have title. And default template is named as .template.html
A page such as /hello/world/foo.html, will use a template file in this priority (high to low) which ever is existing first
- /hello/world/.foo.html (page specific template)
- /hello/world/.template.html (template for same directory order)
- /hello/.template.html (parent directory order)
- /.template.html (root)
This page uses ./.template.html as the default. So it can be edited from here ./edit:.template.html
Or you can also create a page specific template from this edit:.tada-notes.html
Tada notes also support simple template operations such as includes, template variables, etc
To display page content, any template will have to use these following two template variables (without spacing within square brackets ofcourse)
[ [ tpl:title ] ]
[ [tpl:content] ]
One can also set additional variables other than those default vars by using this syntax,
[ [ set foo:hello world whats up man? ] ]
And they can be displayed using,
[ [ tpl:foo ] ]
Any other page can be included within another page by using the following operator,
[ [ include:page/to/include.html ] ]
Currently includes are performed only within in a page and not in template (yep, i know its dumb)
By default all page content is parsed using Markdown parser. If you don't want your text to be parsed you may use the tpl-static operator
[ [ tpl-static ] ]
- (v0.2) - 23 Oct 2012 - Refined the project to have a build process
- (v0.1) - 19 Oct 2010 - First draft for personal use