cLog
cLog is designed to be a RESTTA proof-of-concept protocol. It is based loosely on the diagrams seen on the RESTTA page. What it allows people to do is to keep logs of comments they've made on other sites. These comments are stored and displayed on the users personal sites or blogs.
Why use cLog? If people log their comments on your blog to their blog, then your blog potentially gets additional traffic, and you have additional links leading to your site or blog.
RESTTA Detail
The following is the RESTTA detail describing the resources at play in the protocol. The information is used to construct and parse RESTTA documents. The current version of this protocol is 1.0.
appClass
- name: cLog
- version: 1.0
- detail: http://peopletab.com/cLog.html
resource
-
clog_processor:
The clog_processor resource takes the comment information and presents a confirmation screen to the user upon authenticating the user. If the user confirms, the comment is logged and the user is redirected back to the remote site. It takes the following inputs:
-
from:
URL encoded URI string of the remote site which the user made the comment on.
-
comment:
URL encoded comment text that is to be logged.
-
from:
Sample RESTTA file
<?xml version='1.0'?> <restta version="0.2"> <appClass name="cLog" version="1.0" detail="http://peopletab.com/cLog.html"> <pathPrefix>/wp</pathPrefix> <resource name="clog_processor"> <input name="from" type="get" > <queryKey>from</queryKey> </input> <input name="comment" type="get" > <queryKey>comment</queryKey> </input> <uriPattern> /wp-admin/admin.php?page=clog-confirm </uriPattern> </resource> </appClass> </restta>
Wordpress Plugin
Comment Log (or clog) is a plugin that allows you to store a copy of a comment you make on another site. This is done through implementing the RESTTA-based cLog API. As long as the remote site supports the API, you can keep track of any comments you make. This plugin also allows those that comment on your blog to keep track of their comments.
Download
The latest version can be downloaded HERE
Installation
- Upload `commentlog` directory to the `/wp-content/plugins/` directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Edit the restta.xml file in the commentlog directory if your wp installation is in a directory (e.g. mysite.com/wp/).
Edit the pathPrefix element to surround the path (e.g.
/wp ) - Move the restta.xml file to the document root if you currently do not have a restta file located there. If you do, edit the "appClass" element into the existing document by editing it to include the "cLog" appClass element with the other appClasses.