mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
add $no_photos parameter to add_page_info_data()
This commit is contained in:
parent
26fd6b1c33
commit
5fe7a21482
2 changed files with 8 additions and 8 deletions
|
@ -402,7 +402,7 @@ class Feed {
|
|||
// We always strip the title since it will be added in the page information
|
||||
$item["title"] = "";
|
||||
$item["body"] = $item["body"].add_page_info($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_blacklist"]);
|
||||
$item["tag"] = add_page_keywords($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_blacklist"]);
|
||||
$item["tag"] = add_page_keywords($item["plink"], $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_blacklist"]);
|
||||
$item["object-type"] = ACTIVITY_OBJ_BOOKMARK;
|
||||
unset($item["attach"]);
|
||||
} else {
|
||||
|
@ -410,7 +410,7 @@ class Feed {
|
|||
if (!empty($tags)) {
|
||||
$item["tag"] = $tags;
|
||||
} else {
|
||||
$item["tag"] = add_page_keywords($item["plink"], false, $preview, true, $contact["ffi_keyword_blacklist"]);
|
||||
$item["tag"] = add_page_keywords($item["plink"], $preview, true, $contact["ffi_keyword_blacklist"]);
|
||||
}
|
||||
$item["body"] .= "\n".$item['tag'];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue