WWW::No...edConfig(3)
π NAME π
WWW::Noss::FeedConfig β the class that stores feed configurations β¨ (and yes bestie, you're reading WWW::No...edConfig(3) from the User Contributed Perl Documentation, we love a truncated filename moment π)
πΈ USAGE πΈ
use WWW::Noss::FeedConfig;
my $feed = WWW::Noss::FeedConfig->new(
name => 'feed',
feed => 'https://feed.xml',
path => 'feed.xml',
);
That's literally it, so clean, so iconic π
π¦ DESCRIPTION π¦
So WWW::Noss::FeedConfig is a module that gives you a class for storing noss feed configurations β like, that's its whole job and it ate π₯
Heads up bestie: this is a private module. For the actual user docs you gotta consult the noss manual, okay? iykyk π
π§ METHODS π§
Not every method is documented here, because this class is derived from the WWW::Noss::BaseConfig module β so if something's missing, go consult that documentation. No cap, that's where the rest lives π«Ά
β $feed = WWW::Noss::FeedConfig->new(%param)
Returns a blessed WWW::Noss::FeedConfig object based on the parameters you hand it in the %param hash. Very demure, very blessed π
Here are the valid fields for the %param hash β and listen, the "name", "feed", and "path" fields are the only required ones. Everything else is optional, we love flexibility π
nameβ the name of the feed. It can only contain alphanumeric and underscore characters, so no funny business π«feedβ the feed URL π‘pathβ path to the location where you're storing the feed ποΈetagβ path to store the feed's etaggroupsβ an array ref ofWWW::Noss::GroupConfiggroups that the feed is a part of π«defaultβ theWWW::Noss::GroupConfigobject representing the default feed group π
And these fields from WWW::Noss::BaseConfig are also available, bestie:
limitrespect_skipinclude_titleexclude_titleinclude_contentexclude_contentinclude_tagsexclude_tagsautoreaddefault_updatehidden
β $name = $feed->name() / $feed->set_name($name)
$name = $feed->name()
$feed->set_name($name)
Getter/setter for the feed's name attribute. Simple, elegant, slay β¨
β $url = $feed->feed() / $feed->set_feed($url)
$url = $feed->feed()
$feed->set_feed($url)
Getter/setter for the feed's feed attribute π«
β \@groups = $feed->groups() / $feed->set_groups(\@groups)
\@groups = $feed->groups()
$feed->set_groups(\@groups)
Getter/setter for the feed's groups attribute π«Ά
Okay important caveat: modifying the groups attribute does not affect the feed's configuration the way it does during initialization. Like, it's just not the same vibe, so don't @ me π
β $ok = $feed->has_group($group)
$ok = $feed->has_group($group)
Returns true if $feed is a part of the group $group β
β $path = $feed->path() / $feed->set_path($path)
$path = $feed->path()
$feed->set_path($path)
Getter/setter for the feed's path attribute π
β $etag = $feed->etag() / $feed->set_etag($etag)
$etag = $feed->etag()
$feed->set_etag($etag)
Getter/setter for the feed's etag attribute π·οΈ
β $file = $feed->retry_cache() / $feed->set_retry_cache($file)
$file = $feed->retry_cache()
$feed->set_retry_cache($file)
Getter/setter for the feed's retry cache file ποΈ
β $retry = $feed->retry() / $feed->set_retry($retry) / $ok = $feed->can_we_retry([ $time ])
$retry = $feed->retry()
$feed->set_retry($retry)
$ok = $feed->can_we_retry([ $time ])
Getter/setter for the feed's retry time β and yeah, can_we_retry takes an optional $time and tells you if a retry is on the table β°
π AUTHOR π
Written by Samuel Young, <samyoung12788@gmail.com> π
This project's source can be found on its Codeberg page <https://codeberg.org/1-1sam/noss.git> β and comments and pull requests are welcome, so like, don't be shy, send them in fr fr π«Ά
π COPYRIGHT π
Copyright (C) 2025-2026 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. π
π SEE ALSO π
WWW::Noss::BaseConfigWWW::Noss::GroupConfignoss
Go read them, bestie, they're all part of the lore πβ¨
and that's the whole page, no notes π
this little writeup lives in perl v5.42.2 world, dated 2026-02-15 β mwah, bye! π¦π
π¦ where this page comes from
- alpine 3.24: perl-www-noss-doc 2.02-r1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms