WordPress.org

Plugin Directory

Changeset 455327 for syndicate-press


Ignore:
Timestamp:
10/25/11 04:21:08 (2 years ago)
Author:
hranchFundi
Message:

v 1.0.3
Fixed a quote and slash escaping issue in the custom feed separator html and in the feed not found custom html.
Added amazon links into the admin page

Location:
syndicate-press/trunk
Files:
2 edited

Legend:

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

    r448256 r455327  
    22Contributors: hranchFundi  
    33Donate link: http://henryranch.net/software/syndicate-press/ 
    4 Tags: RSS,RDF,Atom,feed,syndicate,syndication,news,aggregator,aggregation,plugin,active,maintained,custom 
     4Tags: RSS,RDF,Atom,feed,syndicate,syndication,news,aggregator,aggregation,plugin,active,maintained,custom,widget,post,plugin,posts,admin,sidebar,theme,comments,images,twitter,page,google,links 
    55Requires at least: 2.8 
    66Tested up to: 3.2.1 
    7 Stable tag: 1.0.2 
     7Stable tag: 1.0.3 
    88 
    99Syndicate Press lets you include RSS, RDF or Atom feeds directly in your Wordpress posts, pages, widgets or theme.  
     
    1313Syndicate Press lets you include RSS, RDF or Atom feeds directly in your Wordpress Posts, Pages, Widgets or anywhere in your theme. Syndicate Press features an easy to use admin page and includes great features such as feed caching, filters and numerous display options. 
    1414 
    15 Unlike a number of the news syndication plugins for Wordpress, Syndicate Press does not force arbitrary formatting or CSS styling on the feed contents.  This allows the feed items to be displayed in your site like they are a fully integrated part of your content. 
     15Unlike a number of other news syndication plugins for Wordpress, Syndicate Press does not force arbitrary formatting or CSS styling on the feed contents.  This allows the feed items to be displayed in your site like they are a fully integrated part of your content. 
    1616 
    1717Syndicate Press is actively maintained and regularly updated with new features and enhancements. The Syndicate Press development team at <a href="http://henryranch.net/software/syndicate-press/">henryranch.net</a> has focused on ease of use, performance, stability and functionality to bring you a great plugin that will help keep your Wordpress site up to date with the latest in news feeds from every corner of the world. 
     
    3434== Screenshots == 
    3535 
    36 * See http://henryranch.net/software/syndicate-press/ 
     36Please see the following pages for examples of the syndicated news feeds on a Wordpress blog: 
     37* http://henryranch.net/news/ 
     38* http://henryranch.net/news/real-time-earthquake-news/ 
     39* http://henryranch.net/news/science-technology/ 
    3740 
    3841== Changelog == 
    3942 
    40 * See http://henryranch.net/software/syndicate-press/ 
     43* http://henryranch.net/software/syndicate-press/syndicate-press-releases/ 
     44 
     451.0.3: Fixed a quote and slash escaping issue in the custom feed separator html and in the feed not found custom html. 
     46 
     471.0.2: Added an article link to the '...' when an article is truncated by Syndicate Press.  Automatically replacing the feed:// protocol designator with http:// 
     48 
     491.0.1: Added an 'Update Settings' button to the top of the Admin Page.  Fixed a bug where a space between the | character and the feed URL (when using a custom feed name) resulted in the feed URL not being found. 
     50 
     511.0: Initial release to the Wordpress plugin repository 
    4152 
    4253== Arbitrary section == 
  • syndicate-press/trunk/syndicate-press-plugin.php

    r448256 r455327  
    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.2 
     7Version: 1.0.3 
    88Author URI: http://henryranch.net/ 
    99License: GPL2 
     
    6262if (!class_exists("SyndicatePressPlugin")) { 
    6363    class SyndicatePressPlugin { 
    64         var $version = "1.0.2"; 
     64        var $version = "1.0.3"; 
    6565        var $homepageURL = "http://henryranch.net/software/syndicate-press/"; 
    6666         
     
    248248                                if($configOptions['feedSeparationHTMLCode'] != "") 
    249249                                { 
    250                                     $content .= $configOptions['feedSeparationHTMLCode']; 
     250                                    $content .= $this->sp_unescapeString($configOptions['feedSeparationHTMLCode']); 
    251251                                } 
    252252                            } 
     
    267267            } 
    268268            return $content; 
     269        } 
     270         
     271        function sp_unescapeString($str) 
     272        { 
     273            return stripslashes(stripslashes($str)); 
    269274        } 
    270275         
     
    569574            catch(Exception $e) 
    570575            { 
    571                 return str_replace("{feedname}", $url, $configOptions['feedNotAvailableHTMLCode']); 
     576                return str_replace("{feedname}", $url, $this->sp_unescapeString($configOptions['feedNotAvailableHTMLCode'])); 
    572577                //return 'Error parsing content from '.$url.':<br>'.$e->getMessage(); 
    573578            } 
     
    791796                if (isset($_POST['syndicatePressFeedSeparationHTMLCode'])) { 
    792797                    $configOptions['feedSeparationHTMLCode'] = apply_filters('feedSeparationHTMLCode_save_pre', $_POST['syndicatePressFeedSeparationHTMLCode']); 
     798                    $configOptions['feedSeparationHTMLCode'] = mysql_real_escape_string($configOptions['feedSeparationHTMLCode']); 
    793799                } 
    794800                if (isset($_POST['syndicatePressFeedNotAvailableHTMLCode'])) { 
    795801                    $configOptions['feedNotAvailableHTMLCode'] = apply_filters('feedNotAvailableHTMLCode_save_pre', $_POST['syndicatePressFeedNotAvailableHTMLCode']); 
    796                 } 
     802                    $configOptions['feedNotAvailableHTMLCode'] = mysql_real_escape_string($configOptions['feedNotAvailableHTMLCode']); 
     803                } 
    797804                 
    798805                update_option($this->adminOptionsName, $configOptions); 
     
    961968i.e. To insert a horizontal line: &lt;hr&gt;</em><br> 
    962969</div> 
    963 <textarea name="syndicatePressFeedSeparationHTMLCode" style="width: 95%; height: 100px;"><?php _e(apply_filters('format_to_edit',$configOptions['feedSeparationHTMLCode']), 'SyndicatePressPlugin') ?></textarea> 
     970<textarea name="syndicatePressFeedSeparationHTMLCode" style="width: 95%; height: 100px;"><?php _e($this->sp_unescapeString(apply_filters('format_to_edit',$configOptions['feedSeparationHTMLCode'])), 'SyndicatePressPlugin') ?></textarea> 
    964971</div> 
    965972Custom content to show when a feed is unavailable:<br> 
     
    970977<div style="padding-left: 20px;"> 
    971978</div> 
    972 <textarea name="syndicatePressFeedNotAvailableHTMLCode" style="width: 95%; height: 100px;"><?php _e(apply_filters('format_to_edit',$configOptions['feedNotAvailableHTMLCode']), 'SyndicatePressPlugin') ?></textarea> 
     979<textarea name="syndicatePressFeedNotAvailableHTMLCode" style="width: 95%; height: 100px;"><?php _e($this->sp_unescapeString(apply_filters('format_to_edit',$configOptions['feedNotAvailableHTMLCode'])), 'SyndicatePressPlugin') ?></textarea> 
    973980</div> 
    974981</div> 
     
    10411048</div> 
    10421049 
     1050<br>&nbsp<br> 
     1051<div style='background: #ffc; border: 1px solid #333; margin: 2px; padding: 5px'> 
     1052<h3 style="text-align:center">Other ways to support this plugin</h3> 
     1053<p> 
     1054In addition to direct donations, you can also support Syndicate Press by following one of the Amazon book links below and buying a book. 
     1055</p> 
     1056<p align="center"> 
     1057 
     1058<br>&nbsp<br> 
     1059<table style="margin-left: auto; margin-right: auto"> 
     1060<tr> 
     1061<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=0470592745&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td> 
     1062<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=0470937815&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td> 
     1063</tr> 
     1064<tr> 
     1065<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=0470560541&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td> 
     1066<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=1849514100&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe> 
     1067</td> 
     1068</tr> 
     1069<tr> 
     1070<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=B00168NGGU&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td> 
     1071<td style="padding: 10px;"><iframe src="http://rcm.amazon.com/e/cm?t=henrantecandl-20&o=1&p=8&l=as1&asins=B004DNWI8W&ref=qf_sp_asin_til&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=000000&bg1=FFFFFF&f=ifr" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></td> 
     1072</tr> 
     1073</table> 
     1074 
     1075</p> 
     1076</div> 
     1077 
    10431078</td> 
    10441079</tr> 
Note: See TracChangeset for help on using the changeset viewer.