orrg

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/orrg.git
Log | Files | Refs | README | LICENSE

commit 589d4a8d337c759535a8d7eee270f25667aaec18
parent 89d2888f0c1880256b7e86745b75f7e282a7b54a
Author: René Wagner <rwagner@rw-net.de>
Date:   Sun,  3 Jan 2021 10:36:27 +0100

update links

Diffstat:
MREADME.md | 16++++++----------
Mindex.pl | 4++--
Mlib/orrg.pm | 2+-
Morrg.pl | 4++--
Mpopular.pl | 2+-
Mrecent.pl | 2+-
6 files changed, 13 insertions(+), 17 deletions(-)

diff --git a/README.md b/README.md @@ -1,16 +1,11 @@ # orrg (online rss feed reader for gemini) +public instance: [gemini://orrg.clttr.info] + *orrg* is a cgi script for [gemini](gemini://gemini.circumlunar.space) servers. It delivers an easy way to consume atom or rss feeds shipped over http(s) within gemini. -Lists of popular and recently visited feeds help you discover new things. - -Visit the [demo](gemini://gmndemo.clttr.info/orrg/orrg.pl?https:%2F%2Fgit.sr.ht%2F~rwa%2Forrg%2Flog%2Frss.xml) ([through http proxy](https://portal.mozz.us/gemini/gmndemo.clttr.info/orrg.pl%3Fhttps:%252F%252Fgit.sr.ht%252F~rwa%252Forrg%252Flog%252Frss.xml)) that shows the commit log of this repo. -The demo might break regularly as i use it for integration testing during development. - -### contact - -Preferably over the [mailing list](https://lists.sr.ht/~rwa/gmni-perl-cgi). +Lists of popular and recently visited feeds as well as viewing a random feed help you discover new things. ## features @@ -19,14 +14,15 @@ Preferably over the [mailing list](https://lists.sr.ht/~rwa/gmni-perl-cgi). - include links to originating site and every article - strip html tags from item description - lists of popular and recently visited feeds +- random feed selector -gemini-support is currently implemented using [gcat](https://github.com/aaronjanse/gcat) till popular perl libs have catched up. :) +gemini-protocol-support is currently implemented using [gcat](https://github.com/aaronjanse/gcat) till popular perl libs have catched up. :) ## non-features *orrg* will never be a full-fletched feed aggregator with archiving and searching capabilities. -Given this restrictions is not suitable for highly traffic feeds which are updated very often. But it should work quite well for slow paced feeds of blogs and so on. +Given this restrictions is not suitable for high traffic feeds which are updated very often. But it should work quite well for slow paced feeds of blogs and so on. # installation diff --git a/index.pl b/index.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright René Wagner 2020 # licenced under BSD 3-Clause licence -# https://git.sr.ht/~rwa/orrg +# https://src.clttr.info/rwa/orrg use strict; use URI::Escape; @@ -43,5 +43,5 @@ sub body '=> popular.pl top 10 popular feeds', '', '', - '=> https://git.sr.ht/~rwa/orrg powered by orrg'); + '=> https://src.clttr.info/rwa/orrg powered by orrg'); } diff --git a/lib/orrg.pm b/lib/orrg.pm @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright René Wagner 2020 # licenced under BSD 3-Clause licence -# https://git.sr.ht/~rwa/orrg +# https://src.clttr.info/rwa/orrg package orrg; use strict; diff --git a/orrg.pl b/orrg.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright René Wagner 2020 # licenced under BSD 3-Clause licence -# https://git.sr.ht/~rwa/orrg +# https://src.clttr.info/rwa/orrg use strict; use URI::Escape; @@ -50,7 +50,7 @@ sub create_response $feed->description eq '' or push @body, trim_ws($feed->description); $feed->image eq '' or push @body, '=> '. $feed->image .' feed image'; $feed->link eq '' or push @body, ('=> '.$feed->link.' open website', ''); - + foreach my $it ($feed->get_item()) { push @body, @{item($it)}; } push @body, ('', '', '=> index.pl [home]'); diff --git a/popular.pl b/popular.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright René Wagner 2020 # licenced under BSD 3-Clause licence -# https://git.sr.ht/~rwa/orrg +# https://src.clttr.info/rwa/orrg use strict; no warnings 'experimental'; diff --git a/recent.pl b/recent.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # Copyright René Wagner 2020 # licenced under BSD 3-Clause licence -# https://git.sr.ht/~rwa/orrg +# https://src.clttr.info/rwa/orrgg use strict; no warnings 'experimental';