Skip to content

[Feature Request]: Support Importing OPML from RSS Clients #5594

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

Closed
3 tasks done
deepspaceaxolotl opened this issue Aug 21, 2024 · 4 comments · Fixed by #5617
Closed
3 tasks done

[Feature Request]: Support Importing OPML from RSS Clients #5594

deepspaceaxolotl opened this issue Aug 21, 2024 · 4 comments · Fixed by #5617

Comments

@deepspaceaxolotl
Copy link

Guidelines

  • I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
  • I have searched the documentation for information that matches the description of the feature request I want to file, without success.
  • This issue contains only one feature request.

Problem Description

As brought up in #260 and seemingly still the case, FreeTube doesn't support importing OPML files from at least some RSS readers.

Proposed Solution

Support for OPML files from RSS readers for importing channel subscriptions would be appreciated, particularly where there are a lot of channels and no way to export another format that FreeTube supports.

Alternatives Considered

The docs suggest asking for support for a format FreeTube supports to be implemented, but that is not always possible (my preferred RSS client, RSSOwlnix, is not actively under development for instance).

Issue Labels

improvement to existing feature

Additional Information

No response

@absidue
Copy link
Member

absidue commented Aug 21, 2024

Could you please provide some example files. If you feel uncomfortable sharing your own subscriptions, you could use some of the official YouTube's own channels instead e.g. https://youtube.com/@YouTube and https://youtube.com/@YouTubeMusic.

@deepspaceaxolotl
Copy link
Author

Sure, I'll share a file with a few subscriptions. GitHub doesn't let me upload OPMLs so I'll share the contents directly.

<?xml version="1.0" encoding="UTF-8"?>
<opml xmlns:rssowl="http://www.rssowl.org" version="1.1">
  <head>
    <title>RSSOwlnix Subscriptions</title>
    <dateModified>Wed, 21 Aug 2024 15:54:19 UTC</dateModified>
  </head>
  <body>
    <outline text="My Feeds" rssowl:isSet="true" rssowl:id="7">
      <outline text="YouTube" rssowl:isSet="false" rssowl:id="25217">
        <outline text="The McElroy Family" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UC6k_GngLDtxbkUlZOq6_h5g" rssowl:id="25221" />
        <outline text="Kurzgesagt – In a Nutshell" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCsXVk37bltHxD1rDPwtNM8Q" rssowl:id="25227" />
        <outline text="Austin John Plays" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCIIPl-DSCC0prKxGGnJrdGQ" rssowl:id="49405" />
        <outline text="Jaiden Animations" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCGwu0nbY2wSkW8N-cghnLpA" rssowl:id="25258" />
        <outline text="kiwami japan" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCg3qsVzHeUt5_cPpcRtoaJQ" rssowl:id="148483" />
      </outline>
    </outline>
  </body>
</opml>

@absidue
Copy link
Member

absidue commented Aug 21, 2024

Interesting from just looking at the code and that file, it should already work.

Are you getting any specific error messages during the import?

@deepspaceaxolotl
Copy link
Author

TypeError: Cannot read properties of undefined (reading 'name')

One or more subscriptions were unable to be imported.

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

Successfully merging a pull request may close this issue.

2 participants