Quote:
Originally Posted by Va2k
|
See sig. Here is a quote from the support forum:
Quote:
Many customers are asking me on how to import the standard NATS XML feeds. So, here is the instruction:
1) Add the feed.
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->url
thumbnail->thumb
entry->entry
4) Put the PHP code below into the “PHP code <?php .. ?>” box:
PHP Code:
$paysite_url = 'http://www.google.com/'; $post['post_excerpt'] = $post['post_title'] = html_entity_decode($post['custom_fields_attr']['entry']['NAME'], ENT_QUOTES); $post['guid'] = $post['custom_fields']['url']; if (!cseo_post_exists($post)) { $post['post_content'] = '[flv:' . $post['guid'] . ' ' . $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>'; unset($post['custom_fields']['url']); } else { $post = false; }
Don’t forget to replace "google.com" with your affiliate link.
5) Click “Syndicate This Feed”.
Important: The code above assumes that KVS Player or KVS Player Pro plugin is already installed and activated on your blog.
|
P.S. The CyberSEO plugin allows your to syndicate any XML feed. Not just NATS. Literally
ANY. There are no alternative plugins for WordPress that can do something even similar.