Here is the step-by-step instruction on how to syndicate tube clips from SignBucks XML feed with
CyberSEO plugin for WordPress and freeware video theme by
http://www.adultsiteskins.com/
1) Add the SignBucks XML feed (
example) to CyberSEO.
2) Assign the feed title and set the "
Post thumbnail" option to "
Generate from the 'thumb' custom field".
3) Scroll to the "
Custom fields" box and paste there the following content:
url_video->url_video
url_thumb->thumb
seconds->duration
keywords->keywords
4) Put the PHP code below into the "
PHP code <?php .. ?>" box:
Code:
$paysite_url = 'http://www.google.com/';
$post['guid'] = $post['custom_fields']['url_video'];
if (!cseo_post_exists($post)) {
$post['custom_fields']['duration'] = date('i:s', $post['custom_fields']['duration']);
$post['post_content'] = '[flv:' . $post['custom_fields']['url_video'] . ' ' . $post['custom_fields']['thumb'] . ' 750 564 ]';
$post['post_content'] .= '<h3><a href="' . $paysite_url . '">Watch full-lenght video in HDV quality!</a></h3><p>' . $post['post_excerpt'] . '.</p>';
$post ['tags_input'] = explode(',', $post['custom_fields']['keywords']);
unset($post['custom_fields']['url_video']);
unset($post['custom_fields']['keywords']);
} else {
$post = false;
}
Don't forget to replace "http://www.google.com/" with your affiliate link.
5) Click "Syndicate This Feed".
Important: The code above assumes that
KVSPlayer (recommend one) or
JWPlayer plugin is already installed and activated on your blog.