1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-24 05:31:28 +00:00

import articles which have no link or guid (hello, microsoft); include guids in exported feeds

This commit is contained in:
Andrew Dolgov
2006-09-26 07:44:05 +01:00
parent 7d3ab0dd30
commit 1f64b1be20
2 changed files with 18 additions and 5 deletions

View File

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