From 1f64b1be201ee9b23ea52e4021bc5264697dc5b5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 26 Sep 2006 07:44:05 +0100 Subject: import articles which have no link or guid (hello, microsoft); include guids in exported feeds --- backend.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index ebbf33a68..719cb1b16 100644 --- a/backend.php +++ b/backend.php @@ -593,9 +593,13 @@ if ($entry_author) { $entry_author = " - by $entry_author"; } - - print "" . $line["title"] . - "$entry_author"; + + if ($line["link"]) { + print "" . + $line["title"] . "$entry_author"; + } else { + print "" . $line["title"] . "$entry_author"; + } $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), strtotime($line["updated"])); -- cgit v1.2.3