Quote:
Originally Posted by Oracle Porn
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".