h_notify icon indicating copy to clipboard operation
h_notify copied to clipboard

Is RSS from wildcard URL supported?

Open solarchemist opened this issue 6 years ago • 3 comments

Do you support getting RSS from a wildcard URL (domain), i.e., something like this?

notify_rss_url_activity(url='https://theatlantic.com/*', token=default_token, pickle='akVkkdfu')

When I tried the above I got NameError: name 'notify_rss_url_activity' is not defined. I was able to run the RSS recipe in examples.py without errors.

On a fresh Ubuntu 18.04 VM, I had to install the following pip packages first:

sudo apt install python3-pip
pip3 install feedgen markdown python-dateutil pytz wheel 

solarchemist avatar Jun 30 '19 23:06 solarchemist

No, thanks for pointing this out, the RSS pattern was never fully fleshed out and currently only supports the group facet. I'll aim to generalize that.

judell avatar Jul 01 '19 15:07 judell

For any future reader who is just looking for a way to get RSS output from the Hypothesis Stream for a wildcard URL, this is actually already supported (as pointed out to me by @judell in an email thread):
https://hypothes.is/stream.atom?wildcard_uri=https://elifesciences.org/*

Hypothes.is has a guide on how to use domain-level search here, and another on RSS/Atom feeds here. As evidenced by the RSS feed above, it seems the functionalities can also be combined.

solarchemist avatar Jul 01 '19 22:07 solarchemist

it seems the functionalities can also be combined.

Yes. The caveat: no way to authenticate to an Atom/RSS feed, so the feed works for annotations and replies in the Public layer but not in private groups. The RSS solution here is mainly for that purpose.

On Mon, Jul 1, 2019 at 3:49 PM Taha Ahmed [email protected] wrote:

For any future reader who is just looking for a way to get RSS output from the Hypothesis Stream for a wildcard URL, this is actually already supported (as pointed out to me by @judell https://github.com/judell in an email thread): https://hypothes.is/stream.atom?wildcard_uri=https://elifesciences.org/*

Hypothes.is has a guide on how to use domain-level search here https://web.hypothes.is/help/how-to-use-domain-level-search/, and another on RSS/Atom feeds here https://web.hypothes.is/help/atom-rss-feeds-for-annotations/. As evidenced by the RSS feed above, it seems the functionalities can also be combined.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/judell/h_notify/issues/1?email_source=notifications&email_token=AAALLLMUOQFMWDF7YFCL24LP5KCZHA5CNFSM4H4NWDJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY7R42A#issuecomment-507453032, or mute the thread https://github.com/notifications/unsubscribe-auth/AAALLLPPRX7H5V5CAEFSED3P5KCZHANCNFSM4H4NWDJA .

judell avatar Jul 02 '19 00:07 judell