diff options
author | Andrew Dolgov <[email protected]> | 2006-09-26 07:44:05 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-09-26 07:44:05 +0100 |
commit | 1f64b1be201ee9b23ea52e4021bc5264697dc5b5 (patch) | |
tree | 1fbe3f769c9db6e0b3b509a13a64f2c064a666f4 /backend.php | |
parent | 7d3ab0dd3029d53ac51b4c9ea0c5cb23836b3bdc (diff) |
import articles which have no link or guid (hello, microsoft); include guids in exported feeds
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 10 |
1 files changed, 7 insertions, 3 deletions
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 "<tr><td><a $link_target href=\"" . $line["link"] . "\">" . $line["title"] . - "</a>$entry_author</td>"; + + if ($line["link"]) { + print "<tr><td><a $link_target href=\"" . $line["link"] . "\">" . + $line["title"] . "</a>$entry_author</td>"; + } else { + print "<tr><td>" . $line["title"] . "$entry_author</td>"; + } $parsed_updated = date(get_pref($link, 'LONG_DATE_FORMAT'), strtotime($line["updated"])); |