Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is RSS from wildcard URL supported? #1

Open
solarchemist opened this issue Jun 30, 2019 · 3 comments
Open

Is RSS from wildcard URL supported? #1

solarchemist opened this issue Jun 30, 2019 · 3 comments

Comments

@solarchemist
Copy link

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 
@judell
Copy link
Owner

judell commented Jul 1, 2019

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.

@solarchemist
Copy link
Author

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.

@judell
Copy link
Owner

judell commented Jul 2, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants