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

API to convert url to feed url #1099

Closed
Pimmetje opened this issue Apr 12, 2019 · 10 comments
Closed

API to convert url to feed url #1099

Pimmetje opened this issue Apr 12, 2019 · 10 comments
Labels
Feature-Request Issue is a feature request

Comments

@Pimmetje
Copy link

Pimmetje commented Apr 12, 2019

To make it easier for RSS readers to use / intergrate RSS-Bridge it would be nice to have a API to convert URL's to Feed url's

For example https://twitter.com/ruudjolie could be converted to atom as https://rss-bridge.site/?action=display&bridge=Twitter&u=ruudjolie&format=Atom

One request could give a bunch of results and maybe even extra options. Than it's up to the client to take the correct one.

Anyone else thinks this is a useful feature?

Edit:
I just found something that looks similar:
https://github.com/RSS-Bridge/rss-bridge/wiki/Actions#detect
Not sure if it is useful in my usecase. But if u could change it to give a json response with the url. And maybe a bit more options that would be very nice.

@somini
Copy link
Contributor

somini commented Apr 13, 2019

Works for me, I did not know about this feature.

https://rss-bridge.tld/?action=detect&format=Atom&url=https://twitter.com/ruudjolie

Returns a 301 for

https://rss-bridge.tld/?action=display&u=ruudjolie&bridge=Twitter&format=Atom

If the URL is unknown, it returns a 400.

What more options are needed?

@Pimmetje
Copy link
Author

Pimmetje commented Apr 14, 2019

Works for me, I did not know about this feature.

I think the search on the main page should have a guess option that use this feature. But for it to work we should implement this for check for more bridges, And perhaps add unit tests as well.

I think it's better to have a json response. I and can think of url's that can have multiple feeds. In case of github there are also some feeds that github supplies. (maybe those could be added as well)
I think it would be nice to supply a list with feeds to a other application that can use. For example by allowing the user to select one of the options.

More in the sense of RSS reader.
User story add page without official feed

  1. Insert RSS feed.
  2. RSS reader calls API with https://twitter.com/ruudjolie
  3. Reader shows list of feeds. (or in case of one result skips this)
    3a.User can select one to add to the feed reader.
  4. Feed is added to the reader.

This way the user has to do less interactions before getting the feed in the feed reader.
The list of different feeds could be based on options (with reply's or without). Or in case of youtube there could be playlist and movie feeds etc.

@ghost
Copy link

ghost commented Apr 17, 2019

Created something similar for myself. And many other Rss Bridge additions. Only one problem ... I do not have a clue how GitHub and forking / pulling etc works. Sounds weird ? Sorry. Never used it.

Provide me with some nice info and will publish my own additions asap. Thanks in advance.

@somini
Copy link
Contributor

somini commented Apr 17, 2019

Created something similar for myself. And many other Rss Bridge additions. Only one problem ... I do not have a clue how GitHub and forking / pulling etc works. Sounds weird ? Sorry. Never used it.

Provide me with some nice info and will publish my own additions asap. Thanks in advance.

As an example, Github itself provides this: https://lab.github.com/

@ghost
Copy link

ghost commented Apr 18, 2019

I was thinking about some solution which helps you and other people maybe even more. Getting really a lot of customization requests since yesterday and - as always - I like to help everyone solving their issues :

Will create a service - announcing it at https://www.facebook.com/Free-WebServices-Social-Rss-Bridges-327883021177972/ -. Anyone who likes to have an - additional / extra / own - service based on the existing Rss Bridge application is able to request it. I will create the service and host it for free.

This way you will be able to use Rss Bridge the way you want it. Some link will be available with a version of the application with all custom solutions in it too. Of course more than a single request will be allowed and created if you want in an existing environment if you requested anything earlier.

Hopefully many of you are helped with this solution. For now enjoy your day!

@logmanoriginal
Copy link
Contributor

logmanoriginal commented Apr 30, 2019

I think the search on the main page should have a guess option that use this feature.

The simplest way is to update the message displayed on an empty search box

image

For example

image

I think it's better to have a json response.

This could be added to the detect action via arguments (i.e. &response_type=json). Alternatively a separate action altogether.

I think it would be nice to supply a list with feeds to a other application that can use.

Do you know of any application that has a standard interface for this?

@logmanoriginal logmanoriginal added the Feature-Request Issue is a feature request label Apr 30, 2019
@Pimmetje
Copy link
Author

Pimmetje commented May 10, 2019

Do you know of any application that has a standard interface for this?

I don't. Most of them just require the feed itself. But this could be used by a plugin for similar. I would love to add something like this to for example https://github.com/shgysk8zer0/awesome-rss

@logmanoriginal
Copy link
Contributor

Not sure if I understand you correctly, but the HTML version for a feed also contains the links for the Atom and RSS feeds (not just the buttons, but actual links). These links should appear on the button in the address bar (using the plugin you mentioned). Is this what you are searching for?

@ghost
Copy link

ghost commented May 14, 2019

@Pimmetje Please contact me directly ... I am getting confused about your ideas now. And I think what you want is something similar I have or is almost the same. May I ask you to contact me at :

https://www.facebook.com/tdings74 If you want of course!

@Pimmetje
Copy link
Author

@Mrcoding Send u a message.

logmanoriginal added a commit that referenced this issue Jun 13, 2019
The search bar should indicate that searching by URL is
supported.

References #1099
somini added a commit to somini/rss-bridge that referenced this issue Oct 14, 2019
This is a temporary hack for testing, this should be integrated on the
main page.

All credit to @mw80

See RSS-Bridge#1099
infominer33 pushed a commit to web-work-tools/rss-bridge that referenced this issue Apr 17, 2020
The search bar should indicate that searching by URL is
supported.

References RSS-Bridge#1099
@dvikan dvikan closed this as completed Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Request Issue is a feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants