Ashley Pond V — 바보 양키스 > Catalyst-Plugin-ReferingKeyword > Catalyst::Plugin::ReferingKeyword

Download:
Catalyst-Plugin-ReferingKeyword-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Catalyst::Plugin::ReferingKeyword - Catch the keyword from a search that brought a visitor to your CatApp.

VERSION ^

0.01

SYNOPSIS ^

 use Catalyst qw(
                 Unicode
                 ReferingKeyword
                 );

 # ...then later, in a template perhaps

 You seek <i>[% c.refering_keyword || "nothing in particular" %]</i>.

DESCRIPTION ^

The aim is pretty simple though the task can be quite convoluted. Take, when available, the refering (sic, we use refering b/c someone somewhere decided to use referer, sigh) query string, when it exists, and try to parse out the real search term the user had entered on the refering site.

This is a sort of a toy plugin right now. Feedback might help turn it into something more robust and fully documented.

DIAGNOSTICS ^

Failures will typically be empty when there was one that could have been caught or the wrong part of a query, such as "true." Improvements to the algorithm are welcome.

CONFIGURATION AND ENVIRONMENT ^

Next version. :)

BUGS AND LIMITATIONS ^

No bugs have been reported.

Please report any bugs or feature requests to bug-catalyst-plugin-referingquery@rt.cpan.org, or through the web interface at http://rt.cpan.org.

TODO ^

Open algorithm to tweaking or other backends. Expand POD. Write more tests than the stock stuff.

AUTHOR ^

Ashley Pond V <ashley@cpan.org>.

LICENCE AND COPYRIGHT ^

Copyright (c) 2007, Ashley Pond V. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.

DISCLAIMER OF WARRANTY ^

Because this software is licensed free of charge, there is no warranty for the software, to the extent permitted by applicable law. Except when otherwise stated in writing the copyright holders and/or other parties provide the software "as is" without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The entire risk as to the quality and performance of the software is with you. Should the software prove defective, you assume the cost of all necessary servicing, repair, or correction.

In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who may modify and/or redistribute the software as permitted by the above licence, be liable to you for damages, including any general, special, incidental, or consequential damages arising out of the use or inability to use the software (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the software to operate with any other software), even if such holder or other party has been advised of the possibility of such damages.

syntax highlighting: