Commit graph

7 commits

Author SHA1 Message Date
Roberto Polverelli Monti
b5821a2308
rssadd improvement: additionally extract from xml files, not just urls (#885)
* additionally extract from xml files

Before this, rssadd only accepted a URL as argument. Now, if given
an xml file, it will parse it and extract the proper url. This lets it
be used in conjunction with firefox for quickly adding RSS feeds (as
firefox would give it the file rather than its origin URL). This works
on a majority of RSS feeds, but fails on some that miss the proper link
tags. The original behaviour is still mantained alongside the new.

* remove surplus `exit`

* more performant grepping
2021-03-29 21:39:55 -04:00
Luke Smith
9fe6802122
oops for config 2020-04-08 19:10:00 -04:00
Luke Smith
422d106fba
assume default values if xdg dirs not set 2020-04-08 17:21:40 -04:00
Dennis Lee
fa67562835 substitute $HOME/.config with $XDG_CONFIG_HOME 2020-04-04 12:45:33 -07:00
Luke Smith
2b5df860de
#!/bin/sh shebang. newline after universalized. 2020-02-08 18:43:37 -05:00
Luke Smith
1bca65bfc2
portable shebang 2019-08-18 12:28:11 -04:00
Luke Smith
c6e69e9642 massive cleanup 2019-05-19 20:05:14 -04:00
Renamed from .local/bin/tools/rssadd (Browse further)