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

Allow editing of feed URLs #3247

Open
nicbarajas opened this issue Aug 9, 2021 · 7 comments
Open

Allow editing of feed URLs #3247

nicbarajas opened this issue Aug 9, 2021 · 7 comments

Comments

@nicbarajas
Copy link

nicbarajas commented Aug 9, 2021

This may be similar to #2082, but I was hoping for the ability to edit the feed URL rather than having to delete and create a new feed. The idea would be that renaming the feed could bring up a dialog that includes the feed URL, similar to how a new feed is added.

My use case is that I’ve previously added feed URLs with the wrong domain or path, so while an RSS feed would correctly resolve, it would have the wrong content. It would speed up the process of adjusting feeds to include this editing capability.

@Wevah
Copy link
Member

Wevah commented Aug 9, 2021

If this is for the Mac version, Command-I will open the info window where the feed and homepage URLs are visible, though unfortunately not editable.

@nicbarajas nicbarajas changed the title Allow editing or display of feed URLs Aug 9, 2021
@nicbarajas
Copy link
Author

Thanks! I’ve updated the issue to clarify the request, since the info panel appears to be available on all platforms.

@brentsimmons
Copy link
Collaborator

The issue with this is that we use the feed URL as the identifier for the feed. It’s part of the identifier for all the articles in a feed, too. Editing a feed URL then means all those articles have to have their identifiers updated with the new feed URL. That’s a lot of data updating, and it would need to be correct every time.

@lin1005q
Copy link

I want to update the feed url because my cloud server expired. I use a lot of middle server generated feeds like RSSHub.

And stared a lot of articles.

Is there a solution, such as directly modifying the internal db file , modifying ipA to ipB

@brentsimmons
Copy link
Collaborator

Because every feed is identified by its URL, and feed URL is encoded in each article’s ID, it would be quite difficult to manually edit the database to update a feed URL (you’d lose all its articles).

You could write a script to do it — but you’d have to look at our code carefully to see how these things are done in NetNewsWire and then make sure your code does the same thing.

Sorry it’s not easier than that! I understand wanting to edit a feed URL and retaining the articles.

@pringshia
Copy link

Thanks for the explanation @brentsimmons, I can see how this is a tough change given that the feed is IDed on its URL, and not some surrogate ID.

One workaround I'm toying around with is setting up a personal proxy server for hosting my feeds, which in turn will just do URL redirects to the actual feed location. This way I can swap out URLs easily through a configuration change while not having to change my personal URL slug (this is a common enough use-case for me to make this implementation worth it).

@lin1005q
Copy link

lin1005q commented Apr 1, 2024

Thanks for the explanation @brentsimmons, Is it possible to configure the alternate url of the feed so that the unique ID required for internal storage uses the old url?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants