WordPress.org

Plugin Directory

Changeset 521675 for syndicate-press


Ignore:
Timestamp:
03/21/12 04:00:54 (2 years ago)
Author:
hranchFundi
Message:

v1.0.9 added the showImages parameter to the bbcode to enable display of feed images for all feeds included by that bbcode snippet

Location:
syndicate-press/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • syndicate-press/trunk/readme.txt

    r513348 r521675  
    55Requires at least: 2.8 
    66Tested up to: 3.3.1 
    7 Stable tag: 1.0.8 
     7Stable tag: 1.0.9 
    88 
    99Syndicate Press lets you include RSS, RDF or Atom feeds directly in your Wordpress posts, pages, widgets or theme.  
     
    4848http://henryranch.net/software/syndicate-press/syndicate-press-releases/ 
    4949 
     501.0.9: Added the showImages parameter to the bbcode to enable display of feed images for all feeds included by that bbcode snippet.  i.e. [sp# feedname showImages=true] 
     51 
    50521.0.8: Added ability to define inclusive and exclusive filters within the bbcode i.e. [sp# feedname include=keyword exclude=keyword] 
    5153Moved the custom formatting config out of the Display Options tab and into the new Custom Formatting tab 
  • syndicate-press/trunk/syndicate-press-plugin.php

    r513346 r521675  
    55Description: This plugin provides a high performance, highly configurable and easy to use news syndication aggregator which supports RSS, RDF and ATOM feeds. 
    66Author: HenryRanch LLC (henryranch.net) 
    7 Version: 1.0.8 
     7Version: 1.0.9 
    88Author URI: http://henryranch.net/ 
    99License: GPL2 
     
    6161if (!class_exists("SyndicatePressPlugin")) { 
    6262    class SyndicatePressPlugin { 
    63         var $version = "1.0.8"; 
     63        var $version = "1.0.9"; 
    6464        var $homepageURL = "http://henryranch.net/software/syndicate-press/"; 
    6565         
     
    248248                            $customConfigOverrides['excludeFilterList'] = $list[1]; 
    249249                        } 
     250                        else if(strpos($param, 'showImages') !== false) 
     251                        { 
     252                            $list = explode('=', $param); 
     253                            $customConfigOverrides['showImages'] = $list[1]; 
     254                        } 
    250255                    } 
    251256                    foreach($availableFeeds as $availableFeed) 
     
    562567                $customConfigExclusiveKeywords = $customConfigOverrides['excludeFilterList']; 
    563568                $customConfigInclusiveKeywords = $customConfigOverrides['includeFilterList']; 
     569                $customConfigShowImages = $customConfigOverrides['showImages']; 
    564570            } 
    565571             
     
    608614                $parser->maxHeadlineLength = $configOptions['maxHeadlineLength']; 
    609615                $parser->allowImagesInDescription = $configOptions['displayImages']; 
     616                if(isset($customConfigShowImages)) 
     617                { 
     618                    $parser->allowImagesInDescription = $customConfigShowImages; 
     619                    $parser->allowMarkupInDescription = 'true'; 
     620                } 
    610621                $parser->parseFeed($cachedInputFeedFile); 
    611622                $content = $parser->getHtml(); 
Note: See TracChangeset for help on using the changeset viewer.