Home Page

Coupons Datafeed for Wordpress

Everybody love WordPress. It's a great platform, but it's not specifically designed for creating deals and coupons websites, so the management of the site is a bit complictaed. OWS Deals/Coupons Datafeed service will complitely automate the whole process. It will post new categories/stores/coupons on your site as well as clean up expired and "dead" coupons.

How to get "OWS Coupons Datafeed" to the Wordpress based website?

1. Download OWS Coupons Datafeed Connector for Wordpress(current version 1.0.5)
2. Unzip the /go/ folder and upload it to the root of your WordPress site.
3. Setup an account at www.couponsdatafeed.com, go to the "Datafeed management", click "Add new Profile", fill your website name and URL, click "Activate Datafeed" checkbox. You should see message saying somethig like "Everything is OK. OWSDC Import for WordPress Ver: 1.0.2 (WordPress 3 Compartible) Detected". If you see message saying Could not activate Datafeed., please check that you put /go/ folder to the correct place. Click "Create New" to add your site.
4. Click "Select Merchants" and enter your affiliate networks info and retreive or select the stores that you would like to promote.
5. Click "back to the Datafeed settings". You should see three links saying "Push Categories to your site ->>", "Push Merchants to your site ->>", "Push Coupons to your site ->>". Click all of them to upload data to your site. Categories will be inserted as categories, stores as tags and coupons as posts.

You also need to adjust your "post" template to make it look like coupon.

For example: this code will make your post look like:
Coupon example for Wordpress
<table class="details" border="0" width="100%">
  <tr><td colspan="2" style="padding: 5px; background-color: #dddddd; font-weight: bold;">
       <?php the_tags('',', ') ?> - <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a> 
     </td>
  </tr>
  <tr>
  <td valign="top">        
    <div class="share_buttons" style="padding: 5px; float: right;"><div class="addthis_toolbox addthis_default_style ">
     <a class="addthis_button_facebook" addthis:url="<?php the_permalink();?>"></a><a class="addthis_button_twitter" addthis:url="<?php the_permalink();?>"></a>
     <a class="addthis_button_email" addthis:url="<?php the_permalink();?>"></a>   <a class="addthis_button_compact" addthis:url="<?php the_permalink();?>"></a>
    </div>
    <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4d37c882062f1536"></script>
    </div><div style="clear:both;"></div>                
    <?php if(trim($post->code)!='') {?>Code: <a href="<?php echo get_bloginfo('url'); ?>/go/<?php the_ID(); ?>">
    <?php echo $post->code; ?></a><br/><?php } ?>
    <?php if($post->expiration_date_dt>'2000-02-02') {?>
      Exp&nbsp;date:<?php echo date('m/d/Y', strtotime($post->expiration_date_dt)); ?><br/><?php } ?>
    <?php $cnt = get_the_content(); if(strlen($cnt) > 1500) echo substr($cnt, 0, 1500) . ' ...'; else echo $cnt; ?> 
  </td>
  <td style="width:120px; padding: 5px; text-align: center;">
    <a href="<?php echo get_bloginfo('url'); ?>/go/<?php the_ID(); ?>" style="text-decoration: none;">
      <img src="http://gtln.us/img/thumbs/<?php echo $post->domain; ?>.jpg" alt="<?php the_title(); ?>" border="0" />
    </a><br/>               
  </td>
  </tr>
  <tr><td colspan="2">Category:<?php the_category(', ') ?></td></tr>
</table>