michaelnisi / pickup

Transform XML feeds
MIT License
21 stars 1 forks source link

Parse itunes:new-feed-url tag #8

Open michaelnisi opened 6 years ago

michaelnisi commented 6 years ago

Not sure if I should add this tag.

% curl -i https://feeds.podtrac.com/hyqg9sb75nOH                                                                                                                                                                                                                         !413
HTTP/1.1 301 Moved Permanently
Date: Thu, 07 Dec 2017 05:52:33 GMT
Connection: Keep-Alive
Accept-Ranges: bytes
Cache-Control: private, max-age=85151
Content-Length: 201
Content-Type: text/html; charset=utf-8
X-HW: 1512625953.dop005.fr7.t,1512625953.cds001.fr7.shn,1512625953.dop005.fr7.t,1512625953.cds065.fr7.c
Location: https://rss.art19.com/book-review

<?xml version="1.0"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
        <channel>
                <itunes:new-feed-url>https://rss.art19.com/book-review</itunes:new-feed-url>
        </channel>
</rss>

See https://github.com/michaelnisi/manger/issues/22

From Podcasts Connect:

The podcast URL.

Use the tag to manually change the URL where your podcast is located. This tag is only supported at the channel level (podcast).

http://newlocation.com/example.rss You should maintain your old feed until you have migrated your existing subscribers. For more information, see Update your RSS feed URL.
michaelnisi commented 6 years ago

What’s wrong with HTTP? 🤔