RSS Feed for Podcast not formatting contact email correctly

About Support Media RSS Feed for Podcast not formatting contact email correctly

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2988
    Avatar for Rich CoxRich Cox
    Participant

    Hi Andy,

    Since the last update, I’ve been trying to setup the podcasting on spotify via your instructions. What seems to be odd, and I’ve checked both my rss feed (on our site) and yours and the .xml file seems to incorrectly format the contact email address; ( I do understand the html ascii codes btw… :-) )

    contact@OBFUSCATED.org.uk <- code is stripped when post sent so I'm talking '& # 0 6 4 ;' etc etc Yours; andymoyle@OBFUSCATED.info

    When going through the spotify setup (the bit where they send you an 8 digit code… The email they send to is listed on their page as;

    Verify that you own this podcast
    We’ll send an 8-digit code to the email address associated with your RSS feed.

    contact@OBFUSCATED.org.uk

    I don’t receive the email from them (not junk’d or spam’d) and am assuming it’s because the format is incorrect?

    I’ve gone through the spotify setup and confirmed my account on another email they sent… so now I’m confused?

    Does SPOTIFY simply take an age to email out these (1 hour) codes?? – or – Is this a fault on their end???

    Thought I’d mention it, just in case others are having the same issue??

    Many thanks…
    Rich.

    #4484
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    That’s interesting. I sorted out an issue with not escaping sermon titles correctly for the feed – so things like “&” in titles needed escaping, so I made sure everything was escaped properly.
    I did that after getting signed up. So I suspect that Spotify don’t want the email address escaped! The specification document doesn’t even mention email ;-) Even though it is required!!!!

    I can’t verify that as I’m sorted!!!

    But if you can change line 1388 of includes/sermon-podcast.php from

    if(!empty($settings))$output .= ”.htmlspecialchars($settings, ENT_XML1, ‘UTF-8’).”;

    to

    if(!empty($settings))$output .= ”.$settings.”;

    And see if that results in a verification email getting to you. If so I will change it for everyone.

    #4485
    Avatar for Rich CoxRich Cox
    Participant

    Thanks Andy… I’m off to check it now.

    #4486
    Avatar for Rich CoxRich Cox
    Participant

    Hi Andy,

    That’s done the trick my friend! :-)

    Thank you so much for your efforts.

    #4487
    Avatar for Rich CoxRich Cox
    Participant

    Hi Andy,

    Just found another instance I think…

    When trying to submit to Itunes, it fails on validation with;

    “Can’t submit your feed. There is no category tag in your feed, or the category tag is empty.”

    #4488
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Will have a look at that.
    Would you mind screenshoting your way through the process, as I did it years ago and it’s all changed!!!

    #4489
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    This time it is line 233 of includes/podcast-settings.php which needs to be

    if(in_array($_POST,$cats)){$xml=stripslashes($_POST);}else{$xml=’Religion & Spirituality -Christianity’;}

    So that it is not double escaped!
    Because the pocast.xml file is cached, you will need to redo the settings for them to change!

    #4490
    Avatar for Rich CoxRich Cox
    Participant

    @andymoyle said:
    Will have a look at that.
    Would you mind screenshoting your way through the process, as I did it years ago and it’s all changed!!!  

    Sure thing…

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.