Commit 6cf9f2a8 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #519362 by mfb, bfoehle: Resolve dc:creator tag as the item author if...

Issue #519362 by mfb, bfoehle: Resolve dc:creator tag as the item author if author tag is not set in aggregator module.
parent 3c1eeea1
......@@ -782,6 +782,11 @@ function aggregator_parse_feed(&$data, $feed) {
}
}
// Resolve dc:creator tag as the item author if author tag is not set.
if (empty($item['AUTHOR']) && !empty($item['DC:CREATOR'])) {
$item['AUTHOR'] = $item['DC:CREATOR'];
}
// Save this item. Try to avoid duplicate entries as much as possible. If
// we find a duplicate entry, we resolve it and pass along its ID is such
// that we can update it if needed.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment