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

[Feature] Subscribe to a dynamic OPML Feed #4191

Closed
reidcooper opened this issue Feb 2, 2022 · 12 comments · Fixed by #4407
Closed

[Feature] Subscribe to a dynamic OPML Feed #4191

reidcooper opened this issue Feb 2, 2022 · 12 comments · Fixed by #4407
Milestone

Comments

@reidcooper
Copy link

Description

I am currently an active user of Inoreader and an exciting feature that they provide is dynamic OPML Subscriptions.

Rather than importing an OPML feed, you would subscribe to it.

In their words:

Importing an OPML
If you import an OPML file in your RSS reader, you are creating a static copy of the reading list. If the owner of the original list updates the list, this change will not be shown in your feed collection.

Subscribing to an OPML
An OPML subscription, however, creates a live connection between the original source and your feed folder. Whenever a feed is added or deleted from the original list, the change will be reflected in your subscriptions. The notification system in Inoreader will notify you that new feeds were imported or existing feeds were removed.

I currently subscribe to the Engineering Blogs List OPML from this Github Repo (https://github.com/kilimchoi/engineering-blogs). The OPML feed that I subscribe to is here engineering_blogs.opml

Since this feed is dynamically updated with new feeds and deletion of stale feeds, the OPML is ever-changing. It's nice to see that those feed changes are reflected in my FreshRSS instance.

Describe the solution you’d like

Provide the ability to subscribe to an OPML feed such as: https://raw.githubusercontent.com/kilimchoi/engineering-blogs/master/engineering_blogs.opml.

Configuration options could be:

  • URL
  • Description of this OPML subscription
  • Folder (all feeds are categorized in this folder)
  • Synchronization Options (Append Only, Full-Sync)
@Alkarex
Copy link
Member

Alkarex commented Feb 5, 2022

Hello,
Adding new feeds automatically would be relatively easy to implement. Automatically removing feeds could be problematic though, as this would delete favourites, labels, etc. Especially problematic if the user was already subscribed to one of the feeds of the OPML.

@Alkarex Alkarex added this to the Backlog milestone Feb 5, 2022
@Alkarex
Copy link
Member

Alkarex commented Feb 5, 2022

What do you think of the value of automatically adding new feeds, but not removing feeds, @reidcooper ?

@reidcooper
Copy link
Author

@Alkarex Thank you for your response and I appreciate your development. I understand what you're saying - the current platform may not easily support auto deletion.

If a user can auto subscribe to new feeds that get appendeD to the OPML file, I think that's a great compromise.

Have you used dynamic OPML feeds before? Pretty neat to use crowd sourced feeds.

@Alkarex Alkarex modified the milestones: Backlog, 1.21.0 Feb 5, 2022
@Alkarex
Copy link
Member

Alkarex commented Feb 5, 2022

In the coming days, I plan to write a new feature, which will allow new types of sources (I won't say much before I have an actual PR to show), and which will make it easier to write what you ask. Keep an eye open, and fill free to link to this issue so that it is not forgotten (there are also many other things stacking up :-P)

@reidcooper
Copy link
Author

@Alkarex Great! I will keep an eye out :) Thanks! No rush.

@Alkarex
Copy link
Member

Alkarex commented Feb 13, 2022

This is the PR I was hinting, introducing the ability to consume different types of sources #4220

@reidcooper
Copy link
Author

@Alkarex , thanks for responding! I read over the PR and I can see the power that this functionality will bring. I wasn't able to see how this could address my feature request.

https://raw.githubusercontent.com/kilimchoi/engineering-blogs/master/engineering_blogs.opml

This OPML file is dynamically generated with new RSS feeds. A list of feeds.

Would your PR (or future) be able to see those RSS feeds from the OPML and then subscribe to those feeds?

@Alkarex
Copy link
Member

Alkarex commented Feb 14, 2022

The PR I refer to is just the first to enable the support of different types of sources. Something that is also needed for what you are asking

Alkarex added a commit to Alkarex/FreshRSS that referenced this issue Jun 7, 2022
@Alkarex Alkarex mentioned this issue Jun 7, 2022
4 tasks
@Alkarex
Copy link
Member

Alkarex commented Jun 8, 2022

I will try to make it happen #4407 . Also, I would like at the same time FreshRSS to be a source of Dynamic OPML, and the main part of that feature is already implemented in the draft PR, but details such as better security tokens must be added.

Background reading:

The easy part is to add new categories and feeds. The more difficult part is to find out what to do with feeds moved, categories renamed, feeds with a URL that has changed / been (permanently) redirected, feeds deleted, feeds referenced in more than one dynamic OPML, etc.

@Alkarex Alkarex modified the milestones: 1.21.0, 1.20.0 Jun 16, 2022
Alkarex added a commit that referenced this issue Jul 4, 2022
* Dynamic OPML draft
#fix #4191

* Export dynamic OPML
http://opml.org/spec2.opml#1629043127000

* Restart with simpler approach

* Minor revert

* Export dynamic OPML also for single feeds

* Special category type for importing dynamic OPML

* Parameter for excludeMutedFeeds

* Details

* More draft

* i18n

* Fix update

* Draft manual import working

* Working manual refresh

* Draft automatic update

* Working Web refresh + fixes

* Import/export dynamic OPML settings

* Annoying numerous lines in SQL logs

* Fix minor JavaScript error

* Fix auto adding new columns

* Add require

* Add missing 🗲

* Missing space

* Disable adding new feeds to dynamic categories

* Link from import

* i18n typo

* Improve theme icon function

* Fix pink-dark
@bursaar
Copy link

bursaar commented Jul 7, 2023

Being able to subscribe to a dynamic OPML is awesome – I'm setting up a household instance of FreshRSS and I'd love for everyone in the family to have the ability to add and remove feeds from a shared category; I feel a dynamic OPML is a nice way to achieve that. For now, we're making do with sharing RSS feeds from a special "Shared With Family" category each of us has in their account, and from a special "Share with Family" label we also each have, but this clobbers the source of the articles and makes the subscribed category kind of hard to read for subscribers, when you have ten or twenty posts dropping into their feed, but all from "Dad's Shared Feeds".

@Alkarex
Copy link
Member

Alkarex commented Jul 7, 2023

@bursaar Please open a new discussion for your use-case, and let's see whether we could find an approach

@marauder37
Copy link

Being able to subscribe to a dynamic OPML is awesome

For me, that's what I wanted to say. Thank you for all your work @Alkarex

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

Successfully merging a pull request may close this issue.

4 participants