add repology history connector - randomcrap - random crap programs of varying quality
 (HTM) git clone git://git.codemadness.org/randomcrap
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 9d242b4ca8a7466560449feeeab0785d34f92d45
 (DIR) parent 21a7d24b3f466b0d738d48a4349e9c8325a26f7d
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       Date:   Sat, 26 Aug 2023 12:43:21 +0200
       
       add repology history connector
       
       For keeping track of which distro updated the package of my projects
       
       Diffstat:
         M config/sfeed/connectors/repology_h… |      11 +++++++----
         M config/sfeed/global                 |       3 +++
         C config/sfeed/connectors/repology_h… |       0 
       
       3 files changed, 10 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/config/sfeed/connectors/repology_history_atom.sh b/config/sfeed/connectors/repology_history_atom.sh
       @@ -2,11 +2,13 @@
        # uses webdump to convert a table from TSV to Atom.
        # can be used with sfeed to convert it to other formats.
        #
       -# usage: $0 projectname
       +# Dependencies: webdump-git
        
       -name="$1"
       -curl -s "https://repology.org/project/${name}/history" | \
       -webdump -s table -u 'tr th' | \
       +# https://repology.org/project/${name}/history
       +# repology_history(url)
       +repology_history() {
       +        curl -s "$1" | \
       +        webdump -s table -u 'tr th' | \
        LC_ALL=C awk '
        BEGIN {
                FS = OFS = "\t";
       @@ -23,3 +25,4 @@ END {
                print "</feed>";
        }
        '
       +}
 (DIR) diff --git a/config/sfeed/global b/config/sfeed/global
       @@ -6,6 +6,7 @@ maxjobs=16
        #. ~/.sfeed/connectors/vimeo
        . ~/.sfeed/connectors/github
        . ~/.sfeed/connectors/youtube-videos-with-duration
       +. ~/.sfeed/connectors/repology_history_atom.sh
        
        # parse(name, feedurl, basesiteurl)
        parse() {
       @@ -17,6 +18,8 @@ parse() {
                        github_json_to_atom | sfeed "$3";;
                *://www.youtube.com/**)
                        youtube_with_duration "$2";;
       +        *://repology.org/**)
       +                repology_history "$2" | sfeed "$3";;
                *)
                        sfeed "$3";;
                esac
 (DIR) diff --git a/config/sfeed/connectors/repology_history_atom.sh b/config/sfeed/repology_history_atom.sh