-
Notifications
You must be signed in to change notification settings - Fork 192
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
Meta tags below <item> tags missing #262
Comments
Thanks for reporting this @Kezzo. It may be a day or so before I can investigate this. I would expect that when the parsing is done (on the |
Here's the only solution I think we can provide: The main deficiency with this ☝️solution (and it's really not solvable without destroying one of the main benefits of having a streaming interface) is that if you are handling the items in a streaming fashion, then you will have already processed all the items before than trailing metadata gets processed. So, you'll miss it unless you do some additional processing after the A related deficiency is that the Another related deficiency is that if channel metadata is interspersed in between items and you and handling items in a streaming fashion, the items would have different meta values as you handle them. But the good news is that with the way you're handling the feed (buffering all the items until you've finished parsing all of them), the meta values should be exactly as you expect. |
Hey @danmactough , thanks a lot for looking into this problem! I looked at the solution you created and think this is a valid fix for the problem and will fulfill my assumption. The deficiencies you mentioned could indeed be considered problematic. Possible solutions are:
Do you think this is something that should be merged into |
FeedParser version: 2.2.9
Node version: 8.10
Problematic feed link: https://feed.pippa.io/public/shows/clublife-by-tiesto
The above link feed includes meta tag below all item tags (shortened):
This is how we parse the feed:
I expected that all tags which are not the tag or are in an tag are included in meta object. This seems to work for all tags above the tags, but doesn't seem to work when a non-item tag is stored below the tags. Because of this the non-item tag (in this case <itunes:category text="Music"/>) can't be retrieved in any way I'm aware of.
The text was updated successfully, but these errors were encountered: