Support » Plugin: Seriously Simple Podcasting » Should Podcast file URL international text be urlencoded?

  • Hello,

    Thank you for this plugin. It’s the best!! ^^

    I’ve run into a problem with Podcast file URLs with international filenames. For example, the mp3 filename is “ชื่อไทย แปลกๆ (เช้า) ๑๒๓.mp3”. Should the international name be urlencoded?

    With the URL *not urlencoded*, eg “http://wordpress.dd/download/ชื่อไทย แปลกๆ (เช้า) ๑๒๓.mp3”, things seem to work fine. Most browsers would urlencode international URL automatically. But, Apple iTunes Podcasts Connect would not validate the feed. It would give an error saying “Can’t download episodes from your feed.” .

    With the URL *urlencoded*, eg “http://wordpress.dd/download/%E0%B8%8A%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B9%84%E0%B8%97%E0%B8%A2%20%E0%B9%81%E0%B8%9B%E0%B8%A5%E0%B8%81%E0%B9%86%20(%E0%B9%80%E0%B8%8A%E0%B9%89%E0%B8%B2)%20%E0%B9%91%E0%B9%92%E0%B9%93.mp3”, things seem to work as well. But “File Size” and “Duration” field of the episode edit page doesn’t get updated automatically when the ‘Update’ button is clicked.

    So, does SSP expect the Podcast file URL to be urlencoded?
    If yes, then perhaps the function get_file_size() and get_file_duration() could take an extra step to urldecode the file and directory path to get the file size and duration.
    If no, then perhaps the feed should automatically urlencode the file and directory path of the enclosure tag.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.