enabled support for posts with blank content, fixes del.icio.us/popular feed

This commit is contained in:
Andrew Dolgov 2005-08-29 02:06:34 +01:00
parent caa4e57f27
commit a116f56918
1 changed files with 2 additions and 2 deletions

View File

@ -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));