nmdias / FeedKit

An RSS, Atom and JSON Feed parser written in Swift
MIT License
1.19k stars 174 forks source link

Is there a way to access "atom:link" in RSS feed? #134

Open algrid opened 3 years ago

algrid commented 3 years ago

Hi! Thanks for a nice library!

I would like to access atom links in RSS feeds. Is it possible? I can't find a way to do it.

For instance look here: https://feeds.megaphone.fm/VMP9331026707

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <atom:link href="https://feeds.megaphone.fm/VMP9331026707" rel="self" type="application/rss+xml"/>
        ...