WWW::Noss::FeedReader − RSS/Atom feed reader
use
WWW::Noss::FeedReader qw(read_feed);
my ($channel, $entries) = read_feed($feed);
WWW::Noss::FeedReader is a module that provides the read_feed() subroutine for reading RSS and Atom feeds. This is a private module, please consult the noss manual for user documentation.
Subroutines are
not exported automatically.
(\%channel, \@entries) = read_feed($feed)
Reads the given WWW::Noss::FeedConfig object and returns the channel and entry data. Returns both as "undef" on failure.
"\%channel" should look something like this:
{
nossname => ...,
nosslink => ...,
title => ...,
link => ...,
description => ...,
updated => ...,
author => ...,
category => [ ... ],
generator => ...,
image => ...,
rights => ...,
skiphours => [ ... ],
skipdays => [ ... ],
}
"\@entries" will be a list of hash refs that look something like this:
{
nossid => ...,
status => ...,
feed => ...,
title => ...,
link => ...,
author => ...,
category => [ ... ],
summary => ...,
published => ...,
updated => ...,
uid => ...,
displaytitle => ...,
}
Written by Samuel Young, <[email protected]>.
This project's source can be found on its Codeberg page <https://codeberg.org/1-1sam/noss.git>. Comments and pull requests are welcome!
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.
WWW::Noss::FeedConfig, noss