BabDev / Podcast-Manager

Podcast Manager is a suite of extensions allowing users to host and manage a podcast feed from their Joomla! site.
http://www.babdev.com/extensions/podcast-manager
40 stars 16 forks source link

HTTPS URLs won't validate #207

Open severdia opened 9 years ago

severdia commented 9 years ago

Hi Michael. I recently switched my site over to https and now all the podcast URLs don't validate and get rejected as 404s by iTunes. I could hack it to force http, but it would be great to have a switch in the config to switch between http and https. Can I hire you to make this change to 2.2 beta?

Thanks!

mbabker commented 9 years ago

I'll need to dig into things but there shouldn't be anything blocking HTTPS support (it's all similar code as used in the core CMS). Is it just iTunes not accepting the feed or is there a validation error with something like W3C that can be checked?

On Sunday, May 24, 2015, Ron Severdia notifications@github.com wrote:

Hi Michael. I recently switched my site over to https and now all the podcast URLs don't validate and get rejected as 404s by iTunes. I could hack it to force http, but it would be great to have a switch in the config to switch between http and https. Can I hire you to make this change to 2.2 beta?

Thanks!

— Reply to this email directly or view it on GitHub https://github.com/BabDev/Podcast-Manager/issues/207.

severdia commented 9 years ago

I'm using HTTPS on my site right now:

https://www.playshakespeare.com/podcasts

But all the URLs in the feed also have HTTPS instead of HTTP. Here's the validator:

https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Fwww.playshakespeare.com%2Fpodcasts%3Fformat%3Draw%26amp%3Blayout%3Ddefault%26amp%3Bfeedname%3D1

The atom URL should be absolute as well in order to properly validate.

mbabker commented 9 years ago

The absolute URL thing I can fix. The rest of it I'll need to dig into (including the possibility of that force HTTP/HTTPS option). As for why iTunes is 404ing I haven't the slightest idea as the feed is accessible correctly and I can subscribe to it locally using the tips at https://www.apple.com/itunes/podcasts/specs.html and through curl commands. Something to dig into later.

severdia commented 9 years ago

OK, I resubmitted the feed URL to Apple after running it through Feed.press and it was accepted for review. Here's the URL in the validator:

https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Ffeeds.playshakespeare.com%2FPlayShakespeare-Podcasts

So that would lead me to believe it's an HTTPS issue. Maybe Apple's submission form runs the validator on the feed behind the scenes before accepting it.