View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Kjetil Kjernsmo > AxKit-App-TABOO-0.52 > AxKit::App::TABOO::XSP::Comment



Annotate this POD


Open  0
View/Report Bugs
Module Version: 0.52   Source  


AxKit::App::TABOO::XSP::Comment - News comment management tag library for TABOO


Add the comment: namespace to your XSP <xsp:page> tag, e.g.:


Add this taglib to AxKit (via httpd.conf or .htaccess):

  AxAddXSPTaglib AxKit::App::TABOO::XSP::Comment


This XSP taglib provides a single (for now) tag to store information related to news stories, as it communicates with TABOO Data objects, particulary AxKit::App::TABOO::Data::Comment.

Apache::AxKit::Language::XSP::SimpleTaglib has been used to write this taglib.

Tag Reference ^


It will take whatever data it finds in the Apache::Request object held by AxKit, and hand it to a new AxKit::App::TABOO::Data::Comment object, which will use whatever data it finds useful. It will not store anything unless the user is logged in and authenticated with an authorization level. If an authlevel is not found in the user's session object, it will throw an exceptions with an AUTH_REQUIRED code.

If TABOOAkismetKey is set (and spammers will make you want this really fast), it will check the Akismet anti-spam system if the user has an authlevel less than 2, and return a FORBIDDEN if it is deemed to be spam.

Finally, the Data object is instructed to save itself.

If successful, it will return a store element in the output namespace with the number 1.


Will return an XML representation of the data submitted in the last request, enclosed in a comment-submission element. Particularly useful for previewing a submission.


Will return an XML representation of the data for a previously saved comment, enclosed in a comment-loaded element. It needs to get the comment identified by storyname, sectionid and commentpath attributes or child elements.


See AxKit::App::TABOO.

syntax highlighting: