Plugin Directory

Changeset 847336


Ignore:
Timestamp:
01/28/2014 11:41:53 PM (12 years ago)
Author:
alanft
Message:

New 0.28 version for checking

Location:
podcast-channels
Files:
1 deleted
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • podcast-channels/tags/0.28/podcast-channels.php

    r91956 r847336  
    55Description: Provide metadata for iTunes and multiple podcast feeds
    66Author: Alan Trewartha
    7 Version: 0.27
     7Version: 0.28
    88Author URI: http://freakytrigger.co.uk/author/alan/
    99*/
     
    9393// interface to getid3 library
    9494function podcast_channels_get_id3($file,$tag, $comment_tag='')
    95 {   require_once(ABSPATH.PLUGINDIR.'/podcast-channels/getid3/getid3/getid3.php');
     95{   if (!class_exists('getID3'))
     96        require_once(ABSPATH . WPINC . '/ID3/getid3.php' );
    9697    $getID3 = new getID3;
    9798    $fileinfo = $getID3->analyze($file);
     
    218219   
    219220            <div style="text-align:right" id='new_channel'>
    220                 <p><? wp_dropdown_categories(''); ?><button class="button" onclick="add_channel('#cat');return false;">Add Category Channel</button></p>
     221                <p><? wp_dropdown_categories('hide_empty=0'); ?><button class="button" onclick="add_channel('#cat');return false;">Add Category Channel</button></p>
    221222                <p><input id=tags type=text> <button class="button" onclick="add_channel('#tags');return false;">Add Conditional Channel</button></p>
    222223            </div>
     
    483484    echo "<itunes:subtitle>".podchan_xml_escape(wp_specialchars(strip_tags($subtitle)))."</itunes:subtitle>";
    484485
    485     echo "<itunes:summary>".podchan_xml_escape(wp_specialchars(strip_tags(get_the_content())))."</itunes:summary>";
     486    echo "<itunes:summary>".podchan_xml_escape(wp_specialchars(strip_tags( substr(apply_filters('the_content', get_the_content()), 0,4000) )))."</itunes:summary>";
    486487   
    487488    if ($enc_metadata['podcast_duration'])
  • podcast-channels/tags/0.28/readme.txt

    r91960 r847336  
    22Contributors: alanft
    33Tags: admin, podcast, podcasting, media, categories
    4 Requires at least: 2.6
    5 Tested up to: 2.7
    6 Stable tag: 0.27
     4Requires at least: 3.6
     5Tested up to: 3.8.1
     6Stable tag: 0.28
     7License: GPLv2 or later
    78
    89Podcast Channels lets you setup 'Category-Casting' -- a different podcast per category.
     
    2829
    2930= Audio Files in the Media Library =
    30 When you upload an audio file, Podcast Channels adds 'Artist', 'Duration' and 'Explicit' fields to the Media Library. It initially fills in the artist and duration with the information found in the ID3 tags*, but you are free to edit the fields.
     31When you upload an audio file, Podcast Channels adds 'Artist', 'Duration' and 'Explicit' fields to the Media Library. It initially fills in the artist and duration with the information found in the ID3 tags, but you are free to edit the fields.
    3132
    3233Remember to set the explicit flag to 'Yes' if the content is not suitable for children. Apple are likely to de-list your podcast from the iTunes directory if you do not.
    3334
    34 (* This plugin comes complete with the getID3 PHP library in a sub-folder. The library can be found at http://www.getid3.org/.)
    3535
    3636= Copyright and Image =
    3737Podcast Channels adds image and copyright info to all your feeds if you specify it in the extra fields in 'Settings > General' (see screenshots).
    3838
    39 = Version History =
     39== Changelog ==
     40
     410.28 - Switched to using the copy of getID3 included in WP since v 3.6
     42
    40430.26 - Add episode author and episode category options - including taking episode author from the ID3 tags. (Plus a number of other bug fixes and improvements.)
    4144
     
    5053
    51540.1 - Just starting out, something to get it working
     55
     56== Upgrade Notice ==
     57
     58= 0.28 =
     59This version fixes a cross-site-scripting related issue.  Upgrade immediately.
     60
    5261
    5362== Installation ==
  • podcast-channels/trunk/podcast-channels.php

    r91956 r847336  
    55Description: Provide metadata for iTunes and multiple podcast feeds
    66Author: Alan Trewartha
    7 Version: 0.27
     7Version: 0.28
    88Author URI: http://freakytrigger.co.uk/author/alan/
    99*/
     
    9393// interface to getid3 library
    9494function podcast_channels_get_id3($file,$tag, $comment_tag='')
    95 {   require_once(ABSPATH.PLUGINDIR.'/podcast-channels/getid3/getid3/getid3.php');
     95{   if (!class_exists('getID3'))
     96        require_once(ABSPATH . WPINC . '/ID3/getid3.php' );
    9697    $getID3 = new getID3;
    9798    $fileinfo = $getID3->analyze($file);
     
    218219   
    219220            <div style="text-align:right" id='new_channel'>
    220                 <p><? wp_dropdown_categories(''); ?><button class="button" onclick="add_channel('#cat');return false;">Add Category Channel</button></p>
     221                <p><? wp_dropdown_categories('hide_empty=0'); ?><button class="button" onclick="add_channel('#cat');return false;">Add Category Channel</button></p>
    221222                <p><input id=tags type=text> <button class="button" onclick="add_channel('#tags');return false;">Add Conditional Channel</button></p>
    222223            </div>
     
    483484    echo "<itunes:subtitle>".podchan_xml_escape(wp_specialchars(strip_tags($subtitle)))."</itunes:subtitle>";
    484485
    485     echo "<itunes:summary>".podchan_xml_escape(wp_specialchars(strip_tags(get_the_content())))."</itunes:summary>";
     486    echo "<itunes:summary>".podchan_xml_escape(wp_specialchars(strip_tags( substr(apply_filters('the_content', get_the_content()), 0,4000) )))."</itunes:summary>";
    486487   
    487488    if ($enc_metadata['podcast_duration'])
  • podcast-channels/trunk/readme.txt

    r91960 r847336  
    22Contributors: alanft
    33Tags: admin, podcast, podcasting, media, categories
    4 Requires at least: 2.6
    5 Tested up to: 2.7
    6 Stable tag: 0.27
     4Requires at least: 3.6
     5Tested up to: 3.8.1
     6Stable tag: 0.28
     7License: GPLv2 or later
    78
    89Podcast Channels lets you setup 'Category-Casting' -- a different podcast per category.
     
    2829
    2930= Audio Files in the Media Library =
    30 When you upload an audio file, Podcast Channels adds 'Artist', 'Duration' and 'Explicit' fields to the Media Library. It initially fills in the artist and duration with the information found in the ID3 tags*, but you are free to edit the fields.
     31When you upload an audio file, Podcast Channels adds 'Artist', 'Duration' and 'Explicit' fields to the Media Library. It initially fills in the artist and duration with the information found in the ID3 tags, but you are free to edit the fields.
    3132
    3233Remember to set the explicit flag to 'Yes' if the content is not suitable for children. Apple are likely to de-list your podcast from the iTunes directory if you do not.
    3334
    34 (* This plugin comes complete with the getID3 PHP library in a sub-folder. The library can be found at http://www.getid3.org/.)
    3535
    3636= Copyright and Image =
    3737Podcast Channels adds image and copyright info to all your feeds if you specify it in the extra fields in 'Settings > General' (see screenshots).
    3838
    39 = Version History =
     39== Changelog ==
     40
     410.28 - Switched to using the copy of getID3 included in WP since v 3.6
     42
    40430.26 - Add episode author and episode category options - including taking episode author from the ID3 tags. (Plus a number of other bug fixes and improvements.)
    4144
     
    5053
    51540.1 - Just starting out, something to get it working
     55
     56== Upgrade Notice ==
     57
     58= 0.28 =
     59This version fixes a cross-site-scripting related issue.  Upgrade immediately.
     60
    5261
    5362== Installation ==
Note: See TracChangeset for help on using the changeset viewer.