Adult Script Pro Community Forums

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.

#1 2011-11-30 10:26:23

Eri
Member
Registered: 2011-03-18
Posts: 977

grab more tags

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 smile


Best Adult Affilitate Network:
ExoClick
Best Deals on Dedicated Servers - CDN
INXY

Offline

Board footer

Powered by FluxBB