File tree Expand file tree Collapse file tree 4 files changed +0
-4
lines changed
Expand file tree Collapse file tree 4 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,6 @@ abstract class FeedCreator extends HtmlDescribable
5353 protected $ encoding = "UTF-8 " ; //"ISO-8859-1";
5454
5555 protected $ _timeout ; # lib/Creator/FeedCreator.php line 238
56- protected $ truncSize ; # lib/Creator/PIECreator01.php line 29
5756
5857 /**
5958 * Any additional elements to include as an associated array. All $key => $value pairs
Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ public function createFeed()
5959 $ feed .= " <name> " .FeedCreator::iTrunc (htmlspecialchars ($ this ->title ), 100 )."</name>
6060 <description> " .$ this ->getDescription ()."</description>
6161 <visibility>1</visibility> \n" ;
62- $ this ->truncSize = 500 ;
6362
6463 for ($ i = 0 ; $ i < count ($ this ->items ); $ i ++) {
6564 //added here beucase description gets auto surrounded by cdata
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ public function createFeed()
2424 $ feed = "<?php \n" ;
2525 $ feed .= "class FeedItem {} \n" ;
2626 $ feed .= " \$feedTitle=' " .addslashes (FeedCreator::iTrunc (htmlspecialchars ($ this ->title ), 100 ))."'; \n" ;
27- $ this ->truncSize = 500 ;
2827 $ feed .= " \$feedDescription=' " .addslashes ($ this ->getDescription ())."'; \n" ;
2928 $ feed .= " \$feedLink=' " .$ this ->link ."'; \n" ;
3029 $ feed .= " \$feedItem = array(); \n" ;
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ public function createFeed()
2626 $ feed .= $ this ->_createStylesheetReferences ();
2727 $ feed .= "<feed version= \"0.1 \" xmlns= \"http://example.com/newformat# \"> \n" ;
2828 $ feed .= " <title> " .FeedCreator::iTrunc (htmlspecialchars ($ this ->title ), 100 )."</title> \n" ;
29- $ this ->truncSize = 500 ;
3029 $ feed .= " <subtitle> " .$ this ->getDescription ()."</subtitle> \n" ;
3130 $ feed .= " <link> " .$ this ->link ."</link> \n" ;
3231 for ($ i = 0 ; $ i < count ($ this ->items ); $ i ++) {
You can’t perform that action at this time.
0 commit comments