Thread: Tech NATS And Wordpress RSS
View Single Post
Old 01-01-2016, 04:12 PM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,384
Quote:
Originally Posted by Va2k View Post
Hey folks, how do you all use your nats code to plug into wordpress to have them update your blog? I have tried so many and NOTHING really works. The latest plugin is rss importer,

What is it? Come on now tell all! LOL

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.
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote