parse author tag like dc:creator
This commit is contained in:
parent
a8a6c73173
commit
bbb416e58b
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue