/usr/share/perl5/Jifty/Plugin/SiteNews.pm is in libjifty-plugin-sitenews-perl 0.90000-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | use warnings;
use strict;
package Jifty::Plugin::SiteNews;
use base qw'Jifty::Plugin';
our $VERSION = '0.9';
=head1 NAME
Jifty::Plugin::SiteNews - Provide site news in your app
=head1 DESCRIPTION
Provides a way to include site news in your Jifty app. To use it, you
will need to add a news model:
package YourApp::Model::News;
use Jifty::DBI::Schema;
use YourApp::Record schema {
# ..additional properties go here, like 'author'
};
use Jifty::Plugin::SiteNews::Mixin::Model::News;
You will also need to alias the view somewhere; from YourApp::View:
require Jifty::Plugin::SiteNews::View::News;
alias Jifty::Plugin::SiteNews::View::News under '/news';
=head1 AUTHOR
Alex Vandiver
=head1 LICENSE
Copyright 2005-2009 Best Practical Solutions, LLC.
This program is free software and may be modified and distributed under the same terms as Perl itself.
=cut
1;
|