From 85da5053cba3ced82f1eabfa6036a0c6ddeca0eb Mon Sep 17 00:00:00 2001 From: Thelie Date: Sun, 17 Oct 2021 14:33:39 +0200 Subject: [PATCH] Update 'src/get-feeds' --- src/get-feeds | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/get-feeds b/src/get-feeds index 37cd1bb..2ff1a34 100644 --- a/src/get-feeds +++ b/src/get-feeds @@ -1,5 +1,22 @@ #!/bin/sh +# Copyright (c) 2021 Daniel Mowitz +# +# This file is part of xslfeed. +# +# xslfeed 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, either version 3 of the License, or +# (at your option) any later version. +# +# xslfeed 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 General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with xslfeed. If not, see . + feeds=`xsltproc /etc/xslfeed/opml2list.xml $HOME/xslfeed/feeds.opml |\ sed -e 's/|//' -e 's/ :/ /' -e 's/: / /' -e 's/- / /' -e 's/ -/ /' \ -e 's/\([^"]\) \([^"]\)/\1_\2/g' -e 's/\([^"]\) \([^"]\)/\1_\2/g' -e 's/"//g' `