parse author tag like dc:creator
This commit is contained in:
parent
a8a6c73173
commit
bbb416e58b
|
@ -553,6 +553,11 @@
|
||||||
$entry_comments = strip_tags($item["comments"]);
|
$entry_comments = strip_tags($item["comments"]);
|
||||||
|
|
||||||
$entry_author = db_escape_string(strip_tags($item['dc']['creator']));
|
$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));
|
$entry_guid = db_escape_string(strip_tags($entry_guid));
|
||||||
|
|
||||||
$result = db_query($link, "SELECT id FROM ttrss_entries
|
$result = db_query($link, "SELECT id FROM ttrss_entries
|
||||||
|
|
Loading…
Reference in New Issue