aboutsummaryrefslogtreecommitdiffhomepage
path: root/inc/3rdparty/makefulltextfeed.php
diff options
context:
space:
mode:
authorMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-24 11:48:00 +0300
committerMaryana Rozhankivska <mariroz@mr.lviv.ua>2014-04-24 11:48:00 +0300
commit827f5b42a667a9ac2ab68701c23885ae6e617907 (patch)
tree46ca80e00ea54f45ea373aeae08add7e48863568 /inc/3rdparty/makefulltextfeed.php
parent2a6440c134ee2d90a84b3e3a2e039d8fb4d83d04 (diff)
downloadwallabag-827f5b42a667a9ac2ab68701c23885ae6e617907.tar.gz
wallabag-827f5b42a667a9ac2ab68701c23885ae6e617907.tar.zst
wallabag-827f5b42a667a9ac2ab68701c23885ae6e617907.zip
fix of rss headers problem
Diffstat (limited to 'inc/3rdparty/makefulltextfeed.php')
-rwxr-xr-xinc/3rdparty/makefulltextfeed.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/3rdparty/makefulltextfeed.php b/inc/3rdparty/makefulltextfeed.php
index 135964f1..4faad6d9 100755
--- a/inc/3rdparty/makefulltextfeed.php
+++ b/inc/3rdparty/makefulltextfeed.php
@@ -749,7 +749,7 @@ foreach ($items as $key => $item) {
749 // add effective URL (URL after redirects) 749 // add effective URL (URL after redirects)
750 if (isset($effective_url)) { 750 if (isset($effective_url)) {
751 //TODO: ensure $effective_url is valid witout - sometimes it causes problems, e.g. 751 //TODO: ensure $effective_url is valid witout - sometimes it causes problems, e.g.
752 //http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir-–-25th-March-2012-Special-Program-from-Liari-(Karachi) 752 //http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir-�-25th-March-2012-Special-Program-from-Liari-(Karachi)
753 //temporary measure: use utf8_encode() 753 //temporary measure: use utf8_encode()
754 $newitem->addElement('dc:identifier', remove_url_cruft(utf8_encode($effective_url))); 754 $newitem->addElement('dc:identifier', remove_url_cruft(utf8_encode($effective_url)));
755 } else { 755 } else {
@@ -831,7 +831,7 @@ if (!$debug_mode) {
831 } 831 }
832 if ($add_to_cache) { 832 if ($add_to_cache) {
833 ob_start(); 833 ob_start();
834 $output->genarateFeed(); 834 $output->genarateFeed(false);
835 $output = ob_get_contents(); 835 $output = ob_get_contents();
836 ob_end_clean(); 836 ob_end_clean();
837 if ($html_only && $item_count == 0) { 837 if ($html_only && $item_count == 0) {
@@ -842,7 +842,7 @@ if (!$debug_mode) {
842 } 842 }
843 echo $output; 843 echo $output;
844 } else { 844 } else {
845 $output->genarateFeed(); 845 $output->genarateFeed(false);
846 } 846 }
847 if ($callback) echo ');'; 847 if ($callback) echo ');';
848} 848}