hazardchem e4ffce9a69 sxmo_rss.sh: Allow up to 2 http requests instead of only handling 1st
This changes to sxmo_rss.sh allows up to 2 http requests to be handled as some
rss feeds provide either a link, or a link and enclosure, an example of this is
PostmarketOS Podcast, with a link to the website and a link to the content in
the same file.

When the script detects more than one it breaks them into:
Link {1st http address}
Enclosure {2nd http address}

Otherwise everything happens as per the script originally.

This change line up with how sfeed_curses presents the links.

Signed-off-by: hazardchem <hazardchem@disroot.org>
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
2023-10-31 11:27:44 +01:00
2023-10-17 09:58:29 +02:00
2023-04-03 10:25:48 +02:00
2022-02-09 20:00:57 -05:00
2022-03-15 08:00:00 -04:00
2023-10-13 09:18:20 +02:00
2022-03-15 08:00:00 -04:00

sxmo-utils

builds.sr.ht status

This repository contains scripts and C programs to support Sxmo.

Note all scripts pass shellcheck and are tab-idented.

<Various scripts and small C programs that glue the Sxmo environment together>
Copyright (C) <2022>  <Sxmo Contributors>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License only.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
Languages
Shell 97.5%
Makefile 1.3%
C 1.2%