diff options
author | Roberto Polverelli Monti <rpolverelli@gmail.com> | 2021-03-30 01:39:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-29 21:39:55 -0400 |
commit | b5821a2308a20de5ad867456a3e8a02b4681bdfd (patch) | |
tree | 25cccce88c39a46ef97fc01878a7237c87ec51bf /.local/bin/rssadd?id=b5821a2308a20de5ad867456a3e8a02b4681bdfd | |
parent | ea93a82326351e1e4090f810866c8ce0bab30fde (diff) |
`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
Diffstat (limited to '.local/bin/rssadd?id=b5821a2308a20de5ad867456a3e8a02b4681bdfd')
0 files changed, 0 insertions, 0 deletions