tinycm rev 29

Some info about plugins
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jan 06 15:01:00 2014 +0000 (2014-01-06)
parents 09f5185ff6e0
children de9aeda8602a
files README plugins/blog/help.txt plugins/skel/skel.cgi
line diff
     1.1 --- a/README	Mon Jan 06 14:49:12 2014 +0000
     1.2 +++ b/README	Mon Jan 06 15:01:00 2014 +0000
     1.3 @@ -41,6 +41,14 @@
     1.4  	$ make install
     1.5  
     1.6  
     1.7 +Plugins
     1.8 +-------
     1.9 +All plugins are located in plugins/* and consist of a SHell script, a config
    1.10 +file and an optionnal help.txt file. To start a new plugin simply copy and
    1.11 +rename the skel directory and files. Then edit the configuration file and
    1.12 +start coding. 
    1.13 +
    1.14 +
    1.15  Standalone Server
    1.16  -----------------
    1.17  On SliTaz you can install a copy of TinyCM anywhere under your $HOME directory
     2.1 --- a/plugins/blog/help.txt	Mon Jan 06 14:49:12 2014 +0000
     2.2 +++ b/plugins/blog/help.txt	Mon Jan 06 15:01:00 2014 +0000
     2.3 @@ -1,4 +1,4 @@
     2.4  
     2.5  The blog plugin use the Wiki syntax for formating text and store all 
     2.6  posts in $content/blog. It can replace the default index to have a
     2.7 -dynamic website home page.
     2.8 +dynamic website home page by adding [BLOG] to the main index.
     3.1 --- a/plugins/skel/skel.cgi	Mon Jan 06 14:49:12 2014 +0000
     3.2 +++ b/plugins/skel/skel.cgi	Mon Jan 06 15:01:00 2014 +0000
     3.3 @@ -1,6 +1,6 @@
     3.4  #!/bin/sh
     3.5  #
     3.6 -# TinyCM Plugin - Skeleton
     3.7 +# TinyCM/TazBug Plugin - Skeleton
     3.8  #
     3.9  . /usr/lib/slitaz/httphelper
    3.10  
    3.11 @@ -12,9 +12,7 @@
    3.12  	echo "<h2>Plugin Skel</h2>"
    3.13  	echo $(date)
    3.14  	
    3.15 -	# Say we use files in $DATA/skel, sort them by date and simply cat
    3.16 -	# the files, this will create a simple blog :-) We may add post via
    3.17 -	# uploads or a HTML form.
    3.18 +	# Let's code!
    3.19  	
    3.20  	html_footer
    3.21  	exit 0