$entry_comments = $item["comments"];
+ $entry_author = db_escape_string($item['dc']['creator']);
+
$entry_guid = db_escape_string($entry_guid);
$result = db_query($link, "SELECT id FROM ttrss_entries
no_orig_date,
date_entered,
comments,
- num_comments)
+ num_comments,
+ author)
VALUES
('$entry_title',
'$entry_guid',
$no_orig_date,
NOW(),
'$entry_comments',
- '$num_comments')");
+ '$num_comments',
+ '$entry_author')");
} else {
// we keep encountering the entry in feeds, so we need to
// update date_entered column so that we don't get horrible
var omode;
- if (firsttime_update) {
+ if (firsttime_update && !navigator.userAgent.match("Opera")) {
firsttime_update = false;
omode = "T";
} else {