forked from wallabag/wallabag
fix of rss headers problem
This commit is contained in:
6
inc/3rdparty/makefulltextfeed.php
vendored
6
inc/3rdparty/makefulltextfeed.php
vendored
@ -749,7 +749,7 @@ foreach ($items as $key => $item) {
|
||||
// add effective URL (URL after redirects)
|
||||
if (isset($effective_url)) {
|
||||
//TODO: ensure $effective_url is valid witout - sometimes it causes problems, e.g.
|
||||
//http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir-<2D>-25th-March-2012-Special-Program-from-Liari-(Karachi)
|
||||
//http://www.siasat.pk/forum/showthread.php?108883-Pakistan-Chowk-by-Rana-Mubashir-<2D>-25th-March-2012-Special-Program-from-Liari-(Karachi)
|
||||
//temporary measure: use utf8_encode()
|
||||
$newitem->addElement('dc:identifier', remove_url_cruft(utf8_encode($effective_url)));
|
||||
} else {
|
||||
@ -831,7 +831,7 @@ if (!$debug_mode) {
|
||||
}
|
||||
if ($add_to_cache) {
|
||||
ob_start();
|
||||
$output->genarateFeed();
|
||||
$output->genarateFeed(false);
|
||||
$output = ob_get_contents();
|
||||
ob_end_clean();
|
||||
if ($html_only && $item_count == 0) {
|
||||
@ -842,7 +842,7 @@ if (!$debug_mode) {
|
||||
}
|
||||
echo $output;
|
||||
} else {
|
||||
$output->genarateFeed();
|
||||
$output->genarateFeed(false);
|
||||
}
|
||||
if ($callback) echo ');';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user