NAME
WWW::Noss::GroupConfig - Class for storing feed group configurations
USAGE
use WWW::Noss::GroupConfig;
my $group = WWW::Noss::GroupConfig->new(
name => 'name',
feeds => [ 'feed1', 'feed2' ],
);
DESCRIPTION
WWW::Noss::GroupConfig is a module that provides a class for storing feed group configurations. This is a private module, please consult the noss manual for user documentation.
METHODS
Not all methods are documented here, as this class is derived from the WWW::Noss::BaseConfig module. Consult its documentation for additional methods.
- $group = WWW::Noss::GroupConfig->new(%param)
-
Returns a blessed WWW::Noss::GroupConfig object based on the parameters provided in the
%param
hash.The following are valid fields for the
%param
hash. The only required field isname
.- name
-
Name of the feed group. Can only contain alphanumeric and underscore characters.
- feeds
-
Array ref of feed names that the group contains.
The following fields from the WWW::Noss::BaseConfig module are also available:
- limit
- respect_skip
- include_title
- exclude_title
- include_content
- exclude_content
- autoread
- default_update
- $name = $group->name()
- $group->set-name($name)
-
Getter/setter for the group's name attribute.
- $feeds = $group->feeds()
- $group->set_feeds($feeds)
-
Getter/setter for the group's feeds attribute.
- $ok = $group->has_feed($feed)
-
Returns true if
$group
has the feed$feed
.
AUTHOR
Written by Samuel Young, <samyoung12788@gmail.com>.
This project's source can be found on its Codeberg page. Comments and pull requests are welcome!
COPYRIGHT
Copyright (C) 2025 Samuel Young
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.