$item['uri-id'] = ItemURI::insert(['uri' => $item['uri'], 'guid' => $item['guid']]);
- Tag::storeFromBody($item['uri-id'], $item["body"], '#');
+ Tag::storeFromBody($item['uri-id'], $item["body"]);
// We store the data from "dfrn:diaspora_signature" in a different table, this is done in "Item::insert"
$dsprsig = XML::unescape(XML::getFirstNodeValue($xpath, "dfrn:diaspora_signature/text()", $entry));
$item["tag"] .= $termhash . "[url=" . $termurl . "]" . $term . "[/url]";
- Tag::storeByHash($item['uri-id'], $termhash, $term, $termurl);
+ Tag::store($item['uri-id'], Tag::IMPLICIT_MENTION, $term, $termurl);
}
}
}