Add Atom support (#17)

This commit is contained in:
2024-04-25 21:19:29 -04:00
parent 9d476b644b
commit ce83b2a389
2 changed files with 200 additions and 83 deletions

View File

@@ -36,7 +36,7 @@ page_head('Welcome'); ?>
if ($item) {
while ($item) { ?>
<p><a href=/item?id=<?=$item['id']?>><?=$item['item_title']?></a><br>
<?=$item['feed_title']?><br><small><em><?=date_time($item['as_of'])?></em></small><?php
<?=htmlentities($item['feed_title'])?><br><small><em><?=date_time($item['as_of'])?></em></small><?php
$item = $result->fetchArray(SQLITE3_ASSOC);
}
} else { ?>