mmcdole / gofeed

Parse RSS, Atom and JSON feeds in Go
MIT License
2.51k stars 204 forks source link

no parse content #193

Closed sasomiv closed 1 year ago

sasomiv commented 1 year ago

Expected behavior

parsing tag

Actual behavior

no parsing tag

Steps to reproduce the behavior

feed.Items[0].Content Note: Please include any links to problem feeds, or the feed content itself! rss:


<channel>
        <item turbo="true">
            <turbo:content>
                <![CDATA[
                    <!-- ARTICLE -->
                ]]>
            </turbo:content>
        </item>
    </channel>
</rss>```
mmcdole commented 1 year ago

@sasomiv are you sure?

I see it parsing when I execute ftest against it:


{
    "items": [
        {
            "extensions": {
                "turbo": {
                    "content": [
                        {
                            "name": "content",
                            "value": "\u003c!-- ARTICLE --\u003e",
                            "attrs": {},
                            "children": {}
                        }
                    ]
                }
            }
        }
    ],
    "feedType": "rss",
    "feedVersion": ""
}```
mmcdole commented 1 year ago

Let me know if I was mistaken!