Quote:
Originally Posted by CyberSEO
Ok, here is an instruction on how to use the Adult Video Theme with the CyberSEO plugin to make your own auto-populating legal tube site.
1) Syndicate the sponsored video XML feed into CyberSEO.
2) Assign the feed title and set ( very important!) the "Post thumbnail" option to " Generate from the 'thumb' custom field".
3) Scroll to the "Custom fields" box and paste there the following content:
Code:
screen_url->screen_url
screen->screen
clip_url->clip_url
flv->flv
duration->duration
4) Put the PHP code below into the "PHP code <?php .. ?>" box:
Code:
$paysite_url = 'http://www.google.com/';
$post['guid'] = $post['custom_fields']['clip_url'] . $post['custom_fields']['flv'];
if (!cseo_post_exists($post)) {
$post['custom_fields']['duration'] = date('i:s', $post['custom_fields']['duration']);
$screen = $post['custom_fields']['screen'];
if (is_array($screen)) {
$post['custom_fields']['thumb'] = $post['custom_fields']['screen_url'] . $screen[rand(0, count($screen) - 1)];
} else {
$post['custom_fields']['thumb'] = $post['custom_fields']['screen_url'] . $screen;
}
$post['post_excerpt'] = trim($post['post_excerpt']);
$post['post_content'] = '[flv:' . $post['guid'] . ' ' . $post['custom_fields']['thumb'] . ' 750 564 ' . $paysite_url . ']';
$post['post_content'] .= '<h3><a href="' . $paysite_url . '">Watch full-lenght video in HDV quality!</a></h3><p>' . $post['post_excerpt'] . '.</p>';
unset($post['custom_fields']['screen_url']);
unset($post['custom_fields']['screen']);
unset($post['custom_fields']['clip_url']);
unset($post['custom_fields']['flv']);
} else {
$post = false;
}
Don't forget to replace "http://www.google.com/" with your affiliate link.
5) Click "Syndicate This Feed" and enjoy!

|
The sponsor will still have to have the proper feed with the proper sized thumbnails and everything like they do for dumps for the actual tubes to use this though, correct?