The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
when grab a embed video the embed code is like this to grab tags from title
preg_match('/<tags>(.*?)<\/tags>/', $matches_tags);
if (isset($matches_tags['1'])) {
preg_match_all('/<tag>(.*?)<\/tag>/', $matches_tags['1'], $matches_urls);
if (isset($matches_urls['2'])) {
$tags = array();
foreach ($matches_urls['2'] as $tag) {
$tags[] = prepare_string(strip_tags(stripslashes($tag)));
}
$video['tags'] = strtolower(implode(' ', $tags));
}
}
if the title is "Hardcore fucked girlfriend"
the code gets those tags " hardcore ,fucked, girlfriend "
Is there a way to get ( hardcore ,fucked, girlfriend ,hardcore fucked, hardcore girlfriend ,fucked hardcore, fucked girlfriend , girlfriend hardcore, girlfriend fucked )
This will be great for seo
Offline
Pages: 1