summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-09-26 07:44:05 +0100
committerAndrew Dolgov <[email protected]>2006-09-26 07:44:05 +0100
commit1f64b1be201ee9b23ea52e4021bc5264697dc5b5 (patch)
tree1fbe3f769c9db6e0b3b509a13a64f2c064a666f4 /backend.php
parent7d3ab0dd3029d53ac51b4c9ea0c5cb23836b3bdc (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.php10
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"]));