Issue 3911: Fetch keywords for feeds
This commit is contained in:
parent
e76ea3f5b8
commit
3cb906c420
5 changed files with 8 additions and 6 deletions
|
|
@ -344,7 +344,7 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) {
|
|||
$item["title"] = '';
|
||||
}
|
||||
|
||||
if ($contact["fetch_further_information"]) {
|
||||
if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] < 3)) {
|
||||
$preview = "";
|
||||
|
||||
// Handle enclosures and treat them as preview picture
|
||||
|
|
@ -384,6 +384,9 @@ function feed_import($xml,$importer,&$contact, &$hub, $simulate = false) {
|
|||
if (!strstr($item["body"], '[url') && ($item['plink'] != '')) {
|
||||
$item["body"] .= "[hr][url]".$item['plink']."[/url]";
|
||||
}
|
||||
if ($contact["fetch_further_information"] == 3) {
|
||||
$item["tag"] = add_page_keywords($item["plink"], false, $preview, true, $contact["ffi_keyword_blacklist"]);
|
||||
}
|
||||
}
|
||||
|
||||
if (!$simulate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue