Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

[BUG] feedly opml not imported #20

Open
verajosemanuel opened this issue Jun 3, 2021 · 4 comments
Open

[BUG] feedly opml not imported #20

verajosemanuel opened this issue Jun 3, 2021 · 4 comments
Assignees
Labels
bug Something isn't working info needed There is a lack of informations

Comments

@verajosemanuel
Copy link

verajosemanuel commented Jun 3, 2021

Describe the bug
unable to import feedly opml

To Reproduce
Steps to reproduce the behavior:

  1. Download feedly opml
  2. open neix for importing "neix -i feedly_file.opml"
  3. nothing happened

[neix] 0 feed(s) was imported

Expected behavior
Neix should import all feeds from opml file.

Desktop (please complete the following information):

  • OS: Arch
  • Version 0.1.3
@verajosemanuel verajosemanuel added the bug Something isn't working label Jun 3, 2021
@qw3rtty
Copy link
Owner

qw3rtty commented Jun 3, 2021

Thanks for opening the issue!
I will check it.

@qw3rtty qw3rtty self-assigned this Jun 3, 2021
@qw3rtty
Copy link
Owner

qw3rtty commented Sep 3, 2021

@verajosemanuel
Can you provide a OPML file from feedly?

@qw3rtty qw3rtty added the info needed There is a lack of informations label Sep 11, 2021
@PeterDigger
Copy link

PeterDigger commented Oct 8, 2021

Describe the bug
Unable to import feedly opml

To Reproduce
Steps to reproduce the behavior:

  1. Download feedly opml
  2. Open neix for importing "neix -i feedly_file.opml"
  3. nothing happened

[neix] 0 feed(s) was imported

Expected behavior
Neix should import all feeds from opml file.

Desktop (please complete the following information):

OS: Gentoo
Version 0.1.5

Greetings @TomSchwarz. Here's the example of OMPL file from my alt account at feedly.

(feedly.opml) [Downloaded on 8 October 2021]

<?xml version="1.0" encoding="UTF-8"?>

<opml version="1.0">
    <head>
        <title>User432's subscriptions in feedly Cloud</title>
    </head>
    <body>
        <outline text="Cooking" title="Cooking">
            <outline type="rss" text="Babish Culinary Universe" title="Babish Culinary Universe" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCJHA_jMfCvEnv-3kRjTCQXw" htmlUrl="https://www.youtube.com/channel/UCJHA_jMfCvEnv-3kRjTCQXw"/>
            <outline type="rss" text="Recipes - Binging With Babish" title="Recipes - Binging With Babish" xmlUrl="https://www.bingingwithbabish.com/recipes?format=RSS" htmlUrl="https://www.bingingwithbabish.com/recipes/"/>
            <outline type="rss" text="You Suck At Cooking" title="You Suck At Cooking" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCekQr9znsk2vWxBo3YiLq2w" htmlUrl="https://www.youtube.com/channel/UCekQr9znsk2vWxBo3YiLq2w"/>
        </outline>
        <outline text="Tech" title="Tech">
            <outline type="rss" text="Linus Tech Tips" title="Linus Tech Tips" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCXuqSBlHAE6Xw-yeJA0Tunw" htmlUrl="https://www.youtube.com/channel/UCXuqSBlHAE6Xw-yeJA0Tunw"/>
            <outline type="rss" text="Marques Brownlee" title="Marques Brownlee" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ" htmlUrl="https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ"/>
        </outline>
    </body>
</opml>

Each outline tag with title of "Cooking" and "Tech" are the name of the folder in Feedly. The rest listed in the nest are name of the RSS and RSS urls.

Psst IMHO this bug label should be in feature because currently Neix can't adapt to different types of RSS feed config file (optimistically). I do know in the manual has clearly stated "Have to be the same format as the default feed config file." Thank you Tom and others collaborators for maintaining such awesome project.

Edit: I realized there's a wiki page regarding migrating via OPML. Welp, I'll take back the things that I have said for the labelling

@qw3rtty
Copy link
Owner

qw3rtty commented Oct 9, 2021

@PeterDigger Thanks for your comment! I really appreciate it!

I got the problem, there are outline-tags in outline-tags. The current importer does not check if there are children in the current outline-tag. So this should be checked recursively.

This should be a smaller fix. I will do it as soon as I can. Thanks for your effort to paste in the example!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working info needed There is a lack of informations
Projects
None yet
Development

No branches or pull requests

3 participants