ccTiddly REST API
Get page
Example:
http://cctiddly.sourceforge.net/msghandle.php?action=revisionDisplay&title=About&revision=6
Response:
About About !About\nccTiddly is a tiddly adaptation based on PHP and MySQL to store tiddlers. This is a server side adaptation which allow its user to change their TiddlyWiki over HTTP. It is also possible to generate a standalone version with this!\n\n!Target audiance/uses\n*Online edittable TW\n**Blog\n**news site\n**personal ToDo list\n**online bookmark (with TiddlySnip, still in development)\n*As a collaboration tool\n\n!Features\n|!Add/Edit/Save tiddler over the web|basic tiddly wiki functions allow user to create, edit and delete tiddler but over the internet|\n|!Standalone generation|allow generation of standalone version if required, which is the one available on http://tiddlywiki.com|\n|!Access control|password protect the tiddly so only certain user can change its content over the net, hide ones you don't want anyone but you to see. All in the new privilege system!|\n|!Multiple config file|multiple config file for multiple ccT. One setup, multiple ccTiddly!|\n|!Select particular config file|ability to use a certain config file, which allow multiple tiddly host with one URL|\n|!Versioning|All versions of tiddlers kept|\n|!Import your TW|you can import your TW into ccT fo use and convert back to original TW when you need to bring it around on flashdisk|\n|!Multi-lingual|It may not be in your language now but you can easily translate to your own language|\n|!Tag filter|You can filter out your tiddlers by tag| ccTiddly 200610221408 200601140131 other 6
Description;
/*** ''display tiddler revision'' *when user click on revision list, the tiddler would be changed to display the body, tag and title of the tiddler *Format returned from web (separate by linebreak "\n") ##title (current) ##oldtitle ##body ##modifier ##modified ##created ##tags ##version ##fields (currently not used) ##updateTimeline ***/
Some documentation from the code:
handle:{ //path of file for handling request, can be used to put in GET variable
rss: "msghandle.php?action=rss",
uploadStoreArea: "msghandle.php?action=upload", //for uploading the whole storearea
saveTiddler: "msghandle.php?action=saveTiddler",
removeTiddler: "msghandle.php?action=removeTiddler",
revisionList: "msghandle.php?action=revisionList",
revisionDisplay: "msghandle.php?action=revisionDisplay"
},
handle_msg:{ //message sent to server for action, used for posting message to server. null = not used
rss: "action=rss",
uploadStoreArea: "action=upload",
saveTiddler: "action=saveTiddler",
removeTiddler: "action=removeTiddler"
},