Apache::XBEL - mod_perl handler to transform XBEL into exciting and foofy HTML documents.
<Location /> SetHandler perl-script PerlHandler Apache::XBEL PerlSetVar XbelPath /path/to/yer-xbel-file.xbel PerlSetVar XslPath /path/to/apache-xbel.xsl PerlSetVar CacheDir /path/to/yer-cache-dir # If set to "On", output-escaping will be disabled # for title and description nodes in the XSL stylesheet PerlSetVar DisableEscaping On </Location>
Apache::XBEL is an Apache mod_perl handler that uses XSLT to transform XML Bookmarks Exchange Language (XBEL) files into exciting and foofy dynamic HTML documents.
Documents are rendered as collapsible outlines and individual nodes may be viewed and bookmarked as unique pages, so you don't have to click through a gazillion nested leaves to find what you're looking for.
Once individual nodes/pages have been rendered, they are cached to reduce the load on the server. Cache files are updated whenever any of the widgets involved in the transformation are modified.
required
The path to the XBEL file you are transforming.
The path to the XSL file used to do the transforming.
The path to a directory where the mod_perl interpreter can write cache files.
If set to "On" (case-insenstive) output-escaping will be disabled for title and description nodes in the XSL stylesheet.
Set this as the value of /html[@xml:lang]
1.3
$Date: 2004/03/01 21:25:11 $
Aaron Straup Cope <ascope@cpan.org>
http://pyxml.sourceforge.net/topics/xbel/
http://aaronland.info/perl/apache/xbel/example/1.3
http://aaronland.info/xsl/xbel/apache-xbel
If you are running this handler on a server that is also running AxKit, pre version 1.5, Apache::XBEL may periodically fail and return a server error. Some reports have suggested that reloading the page may cause the widget to load properly. Or not.
Hooks for munging outliner documents with Text::Outline have been removed as of release 1.3. They may come back, at a later date, in a separate Apache::XBEL::Outline package.
Replace nested 'div' elements with some flavour of nested lists and de-couple CSS from apache-xbel.xsl. De-couple JavaScript from apache-xbel.xsl These changes are slated for version 1.4
Support for expanding <alias> elements. This is slated for version 1.5
Support for mod_perl 2.0. This is slated for version 2.0
Please report all bugs to : http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Apache::XBEL
Copyright (c) 2001-2004 Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install Apache::XBEL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::XBEL
CPAN shell
perl -MCPAN -e shell install Apache::XBEL
For more information on module installation, please visit the detailed CPAN module installation guide.