-
Notifications
You must be signed in to change notification settings - Fork 8
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
HTTP only feeds don't work #22
Comments
Hmm. It seems that the site is http-only, and Mastofeeder only supports https sites for the time being. I'll change the issue's title a bit to reflect the issue better |
I'll add a few thoughts about this here for future reference. The real issue is, that the part of the code that guesses the correct interpretation of the dot-formatted username is getting a bit hairy: mastofeeder/src/fetch-url-info.ts Line 58 in f7fa0ae
I'm thinking that this part needs a bit of refactoring, preferably some kind of lightweight abstraction/DSL rather than a procedural approach. That approach should IMO support combining multiple choices into different combinations, e.g.
These two combinations already result in six different URLs:
So we'd need some kind of way to describe this, e.g.: const choices = [
prepend('http', 'https'),
append('', '.xml', '.rss')
// ....etc
] and then some mechanism that produces all combinations of those and checks them until it finds a result |
I'm trying to follow http://radar.spacebar.org/f/a/weblog/rss/1 but cannot; When I go to https://mastofeeder.com/.well-known/webfinger?resource=acct:[email protected] I see no
"rel":"self"
link.Am I doing something wrong?
The text was updated successfully, but these errors were encountered: