Changeset 847336
- Timestamp:
- 01/28/2014 11:41:53 PM (12 years ago)
- Location:
- podcast-channels
- Files:
-
- 1 deleted
- 4 edited
- 1 copied
-
tags/0.28 (copied) (copied from podcast-channels/trunk)
-
tags/0.28/getid3 (deleted)
-
tags/0.28/podcast-channels.php (modified) (4 diffs)
-
tags/0.28/readme.txt (modified) (3 diffs)
-
trunk/podcast-channels.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
podcast-channels/tags/0.28/podcast-channels.php
r91956 r847336 5 5 Description: Provide metadata for iTunes and multiple podcast feeds 6 6 Author: Alan Trewartha 7 Version: 0.2 77 Version: 0.28 8 8 Author URI: http://freakytrigger.co.uk/author/alan/ 9 9 */ … … 93 93 // interface to getid3 library 94 94 function 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' ); 96 97 $getID3 = new getID3; 97 98 $fileinfo = $getID3->analyze($file); … … 218 219 219 220 <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> 221 222 <p><input id=tags type=text> <button class="button" onclick="add_channel('#tags');return false;">Add Conditional Channel</button></p> 222 223 </div> … … 483 484 echo "<itunes:subtitle>".podchan_xml_escape(wp_specialchars(strip_tags($subtitle)))."</itunes:subtitle>"; 484 485 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>"; 486 487 487 488 if ($enc_metadata['podcast_duration']) -
podcast-channels/tags/0.28/readme.txt
r91960 r847336 2 2 Contributors: alanft 3 3 Tags: admin, podcast, podcasting, media, categories 4 Requires at least: 2.6 5 Tested up to: 2.7 6 Stable tag: 0.27 4 Requires at least: 3.6 5 Tested up to: 3.8.1 6 Stable tag: 0.28 7 License: GPLv2 or later 7 8 8 9 Podcast Channels lets you setup 'Category-Casting' -- a different podcast per category. … … 28 29 29 30 = 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.31 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. 31 32 32 33 Remember 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. 33 34 34 (* This plugin comes complete with the getID3 PHP library in a sub-folder. The library can be found at http://www.getid3.org/.)35 35 36 36 = Copyright and Image = 37 37 Podcast Channels adds image and copyright info to all your feeds if you specify it in the extra fields in 'Settings > General' (see screenshots). 38 38 39 = Version History = 39 == Changelog == 40 41 0.28 - Switched to using the copy of getID3 included in WP since v 3.6 42 40 43 0.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.) 41 44 … … 50 53 51 54 0.1 - Just starting out, something to get it working 55 56 == Upgrade Notice == 57 58 = 0.28 = 59 This version fixes a cross-site-scripting related issue. Upgrade immediately. 60 52 61 53 62 == Installation == -
podcast-channels/trunk/podcast-channels.php
r91956 r847336 5 5 Description: Provide metadata for iTunes and multiple podcast feeds 6 6 Author: Alan Trewartha 7 Version: 0.2 77 Version: 0.28 8 8 Author URI: http://freakytrigger.co.uk/author/alan/ 9 9 */ … … 93 93 // interface to getid3 library 94 94 function 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' ); 96 97 $getID3 = new getID3; 97 98 $fileinfo = $getID3->analyze($file); … … 218 219 219 220 <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> 221 222 <p><input id=tags type=text> <button class="button" onclick="add_channel('#tags');return false;">Add Conditional Channel</button></p> 222 223 </div> … … 483 484 echo "<itunes:subtitle>".podchan_xml_escape(wp_specialchars(strip_tags($subtitle)))."</itunes:subtitle>"; 484 485 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>"; 486 487 487 488 if ($enc_metadata['podcast_duration']) -
podcast-channels/trunk/readme.txt
r91960 r847336 2 2 Contributors: alanft 3 3 Tags: admin, podcast, podcasting, media, categories 4 Requires at least: 2.6 5 Tested up to: 2.7 6 Stable tag: 0.27 4 Requires at least: 3.6 5 Tested up to: 3.8.1 6 Stable tag: 0.28 7 License: GPLv2 or later 7 8 8 9 Podcast Channels lets you setup 'Category-Casting' -- a different podcast per category. … … 28 29 29 30 = 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.31 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. 31 32 32 33 Remember 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. 33 34 34 (* This plugin comes complete with the getID3 PHP library in a sub-folder. The library can be found at http://www.getid3.org/.)35 35 36 36 = Copyright and Image = 37 37 Podcast Channels adds image and copyright info to all your feeds if you specify it in the extra fields in 'Settings > General' (see screenshots). 38 38 39 = Version History = 39 == Changelog == 40 41 0.28 - Switched to using the copy of getID3 included in WP since v 3.6 42 40 43 0.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.) 41 44 … … 50 53 51 54 0.1 - Just starting out, something to get it working 55 56 == Upgrade Notice == 57 58 = 0.28 = 59 This version fixes a cross-site-scripting related issue. Upgrade immediately. 60 52 61 53 62 == Installation ==
Note: See TracChangeset
for help on using the changeset viewer.