Name

OSSTag - A Social Tagging Engine

Copyright (c) 2006 Open Source Development Labs, Inc.


Configuration


        OSSTag is designed for easy integration into existing websites.
        It's output and design can be freely configured via this file.

taglist_betweeneachtag

        This option defines the html-output which will be placed between each Tag 
        when using either the getFormattedTaglist or printFormattedTaglist function.
        tag<between>tag<between>tag
        Example:
        taglist_betweeneachtag = ', '; 
        will result in:
        tag, tag, tag
        taglist_betweeneachtag is placed directly after taglist_aftereatchtag and
        before taglist_beforeeachtag

taglist_beforeeachtag

        This option defines the html-output which will be placed before each Tag 
        when using either the getFormattedTaglist or printFormattedTaglist function.
        <before>tag<before>tag<before>tag
        Example:
        taglist_beforeeachtag = '<a href=".">';
        will result in:
        <a href=".">tag<a href=".">tag<a href=".">tag
        This is also the place to apply stylesheets or other html-formattings to each tag.

taglist_aftereatchtag

        This option defines the html-output which will be placed after each Tag 
        when using either the getFormattedTaglist or printFormattedTaglist function.
        tag<after>tag<after>tag<after>
        Example:
        taglist_aftereatchtag = '</a>';
        will result in:
        tag</a>tag</a>tag</a>

Summary taglist_

        The combination of above taglist examples will result in:
        <a href=".">tag</a>, <a href=".">tag</a>, <a href=".">tag</a>


Examples

plain output configuration example

        use strict;
        1;
        package osstag_config;
        sub getConfig()
        {
                my %config;
                $config{taglist_betweeneachtag} = ', ';
                $config{taglist_beforeeachtag} = '<a href="index.pl">';
                $config{taglist_aftereatchtag} = '</a>';
                return %config;
        }


License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.


Author

Author: Jan Kechel (jan@kechel.de)


Version

Version: 0.1

Date: 27-MAY-2006