View Single Post
Old 02-13-2013, 08:04 AM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,383

Quote:
Originally Posted by Oracle Porn View Post
bulk add?
daily scheduling?
Here is how to do it with CyberSEO:

1) Syndicate the XML feed (must be in TubeAce or SmartScripts format).

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:

Code:
screen_url->screen_url
screen->screen
clip_url->clip_url
flv->flv
mp4->mp4
duration->duration
4) Put the PHP code below into the "PHP code <?php .. ?>" box:

Code:
$paysite_url = 'http://www.google.com/';
if (isset($post['custom_fields']['mp4']) && strlen($post['custom_fields']['mp4'])) {
    $post['custom_fields']['flv'] = $post['custom_fields']['mp4'];
    unset($post['custom_fields']['mp4']);
}
$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['custom_fields']['video-hotlink'] = $post['guid'];
    $post['custom_fields']['video-link'] = '<a href="' . $paysite_url . '">Watch full-lenght video in HDV quality!</a>';
    $post['post_content'] = $post['post_excerpt'];
    unset($post['custom_fields']['screen_url']);
    unset($post['custom_fields']['screen']);
    unset($post['custom_fields']['clip_url']);
    unset($post['custom_fields']['flv']);
    unset($post['custom_fields']['flv_embed']);
} else {
    $post = false;
}
Don't forget to replace "http://www.google.com/" with your affiliate link.

5) Click "Syndicate This Feed".
__________________
Obey the Cowgod
just a punk is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote