parse author tag like dc:creator

This commit is contained in:
Andrew Dolgov 2006-11-22 08:21:12 +01:00
parent a8a6c73173
commit bbb416e58b

View file

@ -551,8 +551,13 @@
$content_hash = "SHA1:" . sha1(strip_tags($entry_content));
$entry_comments = strip_tags($item["comments"]);
$entry_author = db_escape_string(strip_tags($item['dc']['creator']));
if (!$entry_author) {
$entry_author = db_escape_string(strip_tags($item['author']));
}
$entry_guid = db_escape_string(strip_tags($entry_guid));
$result = db_query($link, "SELECT id FROM ttrss_entries