WWW::No...edConfig(3)

πŸ“¦
version 2.02 Β· 2 versions
, in alpine 3.24

πŸ’– 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 etag
  • groups β€” an array ref of WWW::Noss::GroupConfig groups that the feed is a part of πŸ«‚
  • default β€” the WWW::Noss::GroupConfig object representing the default feed group πŸ‘‘

And these fields from WWW::Noss::BaseConfig are also available, bestie:

  • limit
  • respect_skip
  • include_title
  • exclude_title
  • include_content
  • exclude_content
  • include_tags
  • exclude_tags
  • autoread
  • default_update
  • hidden

⭐ $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 (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::BaseConfig
  • WWW::Noss::GroupConfig
  • noss

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