Changeset 639569
- Timestamp:
- 12/15/2012 06:06:34 AM (13 years ago)
- Location:
- syndicate-press/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
syndicate-press-plugin.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
syndicate-press/trunk/readme.txt
r587291 r639569 4 4 Tags: 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 5 5 Requires at least: 2.8 6 Tested up to: 3. 4.17 Stable tag: 1.0.1 76 Tested up to: 3.5 7 Stable tag: 1.0.18 8 8 9 9 Syndicate Press lets you include RSS, RDF or Atom feeds directly in your Wordpress posts, pages, widgets or theme. … … 47 47 48 48 http://syndicatepress.henryranch.net/documentation/changelog/ 49 50 1.0.18: New feature release<br> 51 Added a new short-code parameter, limitArticles, which allows you to override the global article limit for the short-code that the param is included in. Use the new param as follows: [sp# feedList=feedName limitArticles=5]. Change 5 to whatever you want the max number of articles to be. 49 52 50 53 1.0.17: New feature release<br> -
syndicate-press/trunk/syndicate-press-plugin.php
r574403 r639569 5 5 Description: This plugin provides a high performance, highly configurable and easy to use news syndication aggregator which supports RSS, RDF and ATOM feeds. 6 6 Author: HenryRanch LLC (henryranch.net) 7 Version: 1.0.1 77 Version: 1.0.18 8 8 Author URI: http://henryranch.net/ 9 9 License: GPL2 … … 61 61 if (!class_exists("SyndicatePressPlugin")) { 62 62 class SyndicatePressPlugin { 63 var $version = "1.0.1 7";63 var $version = "1.0.18"; 64 64 var $homepageURL = "http://henryranch.net/software/syndicate-press/"; 65 65 … … 279 279 $customConfigOverrides['showImages'] = $list[1]; 280 280 } 281 else if(strpos($param, 'limitArticles') !== false) 282 { 283 $list = explode('=', $param); 284 $customConfigOverrides['limitArticles'] = $list[1]; 285 } 281 286 else if(strpos($param, 'feedList') !== false) 282 287 { … … 630 635 $customConfigInclusiveKeywords = $customConfigOverrides['includeFilterList']; 631 636 $customConfigShowImages = $customConfigOverrides['showImages']; 637 $customConfigLimitArticles = $customConfigOverrides['limitArticles']; 632 638 } 633 639 … … 653 659 $parser->showContentOnlyInLinkTitle = $configOptions['showContentOnlyInLinkTitle']; 654 660 $parser->maxNumArticlesToDisplay = $configOptions['limitFeedItemsToDisplay']; 661 if(isset($customConfigLimitArticles)) 662 { 663 $parser->maxNumArticlesToDisplay = $customConfigLimitArticles; 664 } 655 665 656 666 $parser->exclusiveKeywordList = $configOptions['exclusiveKeywordFilter'] . ',' . $customConfigExclusiveKeywords; … … 669 679 $parser->showArticlePublishTimestamp = $configOptions['showArticlePublishTimestamp']; 670 680 $parser->allowMarkupInDescription = $configOptions['allowMarkupInDescription']; 671 $parser->addNoFollowTag = $configOptions['addNoFollowTag'];672 if($configOptions['timestampFormat'] != '')673 {674 $parser->useCustomTimestampFormat = true;675 $parser->timestampFormatString = $configOptions['timestampFormat'];676 $parser->timestampFormatString = $this->sp_unescapeString($parser->timestampFormatString);677 }681 $parser->addNoFollowTag = $configOptions['addNoFollowTag']; 682 if($configOptions['timestampFormat'] != '') 683 { 684 $parser->useCustomTimestampFormat = true; 685 $parser->timestampFormatString = $configOptions['timestampFormat']; 686 $parser->timestampFormatString = $this->sp_unescapeString($parser->timestampFormatString); 687 } 678 688 $parser->customFeedName = $this->sp_getCustomFeednameForUrl($url); 679 689 if($parser->customFeedName == "") … … 1188 1198 <b><u>Inserting feed content into a Wordpress page or post...</u></b> 1189 1199 <p> 1190 To insert feed contents into a Page or Post, use the following syntax:<br>1200 To insert feed contents into a Page, Post or Text Widget, use the following syntax:<br> 1191 1201 <div style="padding-left: 20px;"> 1192 1202 [sp# feedList=all] - insert all of the feeds in the feed list<br> 1193 1203 <i>In the following examples, <b>feedname</b> will match the name of a feed, or any word within the feed url</i><br> 1194 1204 [sp# feedList=feedname] - insert only the feed with the given name<br> 1205 [sp# feedList=feedname limitArticles=maxNumArticles] - limit the number of articles from the given feedname(s). Overrides the global article limit.<br> 1195 1206 [sp# feedList=feedname1,feedname2,etc...] - insert the feeds with the given names<br> 1196 1207 [sp# feedList=feedname1,feedname2 include=keyword1,keyword2] - insert the feeds with the given names and the given inclusive keyword filters<br> … … 1209 1220 <div style="padding-left: 20px;"> 1210 1221 <p> 1211 By using Syndicate Press you accept full respo sibility and liability for adherance to the terms of service of each feed you syndicate. Please respect the copyright of feed publishers.1222 By using Syndicate Press you accept full responsibility and liability for adherance to the terms of service of each feed you syndicate. Please respect the copyright of feed publishers. 1212 1223 </p> 1213 1224 </div>
Note: See TracChangeset
for help on using the changeset viewer.