$found = false;
if(count($arr)) {
- $body = $b['title'] . ' ' . nsfw_extract_photos($b['html']);
+ $body = $b['item']['title'] . "\n" . nsfw_extract_photos($b['html']);
foreach($arr as $word) {
$word = trim($word);
$found = true;
break;
}
- if(stristr($b['item']['tag'], ']' . $word . '[' )) {
+ if(stristr($b['item']['tags'], '>' . $word . '<' )) {
$found = true;
break;
}