Code Fixes Provided
-
To fix it, you can replace the Yahoo call processing with this:
$content = str_replace("'", "", strip_tags($content)); $yql_query = "SELECT * FROM contentanalysis.analyze WHERE text='$content'"; $data = file_get_contents('https://query.yahooapis.com/v1/public/yql?unique=1&q=' . urlencode($yql_query).'&format=json'); $data = json_decode($data); if (!empty($data->query->results->entities)) { $entities = $data->query->results->entities; foreach ($entities as $entity) { foreach ($entity as $whatever) { $ret[] .= $whatever->text->content; } } }
in the auto_tag_yahoo function. Also, add:
'numberposts' => 999999,
to the $args array in the tools_handler() function. If anyone makes further fixes, please send them to me at [email protected].
- The topic ‘Code Fixes Provided’ is closed to new replies.