enabled support for posts with blank content, fixes del.icio.us/popular feed
This commit is contained in:
parent
caa4e57f27
commit
a116f56918
|
@ -119,7 +119,7 @@
|
||||||
if (!$entry_guid) $entry_guid = $item["link"];
|
if (!$entry_guid) $entry_guid = $item["link"];
|
||||||
|
|
||||||
if (!$entry_guid) continue;
|
if (!$entry_guid) continue;
|
||||||
|
|
||||||
$entry_timestamp = "";
|
$entry_timestamp = "";
|
||||||
|
|
||||||
$rss_2_date = $item['pubdate'];
|
$rss_2_date = $item['pubdate'];
|
||||||
|
@ -149,7 +149,7 @@
|
||||||
if (!$entry_content) $entry_content = $item["content:escaped"];
|
if (!$entry_content) $entry_content = $item["content:escaped"];
|
||||||
if (!$entry_content) $entry_content = $item["content"];
|
if (!$entry_content) $entry_content = $item["content"];
|
||||||
|
|
||||||
if (!$entry_content) continue;
|
// if (!$entry_content) continue;
|
||||||
|
|
||||||
$content_hash = "SHA1:" . sha1(strip_tags($entry_content));
|
$content_hash = "SHA1:" . sha1(strip_tags($entry_content));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue