]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - inc/3rdparty/makefulltextfeed.php
Fix bugs and improved epub rendering
[github/wallabag/wallabag.git] / inc / 3rdparty / makefulltextfeed.php
index 135964f18477d4ad9ffe2a0d678f033b6664b4c7..4faad6d941904c5526bd4436d1793c4a52bb7b53 100755 (executable)
@@ -749,7 +749,7 @@ foreach ($items as $key => $item) {
                // add effective URL (URL after redirects)\r
                if (isset($effective_url)) {\r
                        //TODO: ensure $effective_url is valid witout - sometimes it causes problems, e.g.\r
-                       //http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir-\96-25th-March-2012-Special-Program-from-Liari-(Karachi)\r
+                       //http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir--25th-March-2012-Special-Program-from-Liari-(Karachi)\r
                        //temporary measure: use utf8_encode()\r
                        $newitem->addElement('dc:identifier', remove_url_cruft(utf8_encode($effective_url)));\r
                } else {\r
@@ -831,7 +831,7 @@ if (!$debug_mode) {
        }\r
        if ($add_to_cache) {\r
                ob_start();\r
-               $output->genarateFeed();\r
+               $output->genarateFeed(false);\r
                $output = ob_get_contents();\r
                ob_end_clean();\r
                if ($html_only && $item_count == 0) {\r
@@ -842,7 +842,7 @@ if (!$debug_mode) {
                }\r
                echo $output;\r
        } else {\r
-               $output->genarateFeed();\r
+               $output->genarateFeed(false);\r
        }\r
        if ($callback) echo ');';\r
 }\r