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::Article



Annotate this POD


Open  0
View/Report Bugs
Module Version: 0.4   Source  


AxKit::App::TABOO::XSP::Article - Article management tag library for TABOO


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


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

  AxAddXSPTaglib AxKit::App::TABOO::XSP::Article


This XSP taglib provides tags to store information related to news stories and to fetch and return XML representations of that data, as it communicates with TABOO Data objects, particulary AxKit::App::TABOO::Data::Article.

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


This taglib will be documented further in upcoming releases. While there is quite a lot of working stuff here, it also has some bad issues.

Tag Reference ^


This tag will check and store the data from the required fields. It will check for either uploaded files, and the MIME types of that, or take plain text and save it to a local file. It doesn't do many security checks yet.

If the save was successful, it will redirect to /articles/edit, so that the submitter can continue editing of non-required fields. To control where it redirects to, you should supply an attribute or child element redirect containing the URL of the page to redirect to and retval, with the HTTP return value. The latter defaults to 302.

If something went wrong, the tag will return a nodelist problem. The nodelist will contain the data store name of the field(s) that weren't present, or nosave if the save itself failed.

<get-article filename="foo" primcat="bar"/>

This tag will get an XML representation of the article identified with filename and primcat. The parameters may be given as attributes or child elements.


See AxKit::App::TABOO.

syntax highlighting: