extractus / feed-extractor

Simplest way to read & normalize RSS/ATOM/JSON feed data
https://extractor-demos.pages.dev/feed-extractor
MIT License
167 stars 33 forks source link

Medium feeds - no description tag, only content:encoded -> empty description #105

Closed lwojcik closed 1 year ago

lwojcik commented 1 year ago

Hi again!

I found another edge case and this time it's Medium feeds being naughty. They contain no description tag, only content:encoded with HTML content.

Example: https://medium.com/feed/@ameliakusiak

Traditionally, it can be worked around with getExtraEntryFields.

ndaidong commented 1 year ago

@lwojcik let's me see. I remember that I've worked with some RSS from Medium before.

ndaidong commented 1 year ago

@lwojcik I've found the cause. Medium feed applies RSS 2.0 standard but it does not use description tag, but content:encoded tag as same as Atom standard. This has been fixed with v7.0.3 by some tweeks.

lwojcik commented 1 year ago

Updated to v7.0.3, problem solved. Thank you very much!