Datafeed Studio v2.2 - Automatic Price Compare/ Amazon Lookups

575AE16B-C238-47F5-B2B0-39148A2A0A28.jpg

A new month, a new release of Datafeed Studio.

2.2 has a host of new features to make your affiliate life easier, and a few back-end fixes to make things tick along faster, especially if you your product database comes in at around the million product mark.

First of all, let’s get on to the good stuff. Affiliate store sites created with Datafeed Studio now have a new “Auto Price Compare?” option.

If you enable this option then the software will attempt to build and display an automatic price comparision ‘box’ for the product currently being viewed based on its title.

Obviously, this isn’t as accurate as manually defining the matching criteria yourself via the ‘Price Compare’ field of a product but in my tests it does a pretty good job, and is a great help if you quickly want to get a store off the ground (or using it as a test of a niche before you devote further time to it).

Naturally, if you have defined the ‘Price Compare’ field already on the product, it will override the automatic price comparison feature.

Pretty cool, huh?

But wait - it gets better :-)

As Chris Tarrant says before he quickly whips the cheque away, “we don’t want to give you that!“. v2.2 also sees the introduction of the similar ‘Auto Amazon‘ feature that can be set at store level.

If enabled, Datafeed Studio will do a web service call to Amazon to get the closest matching product in Amazon’s database - and will add it to the list of matching products when a product is viewed.

This, in combination with the aforementioned ‘Auto Price Compare’ feature makes it a doddle to display products without you manually having to define the exact price matching criteria, or manually adding Amazon products to your Datafeed Studio database via the existing ‘Amazon Search / Amazon Products’ tabs.

Essentially, these two features save a lot of time - and that’s one thing all of us are short of. Previously my Hulk Toys test site was a one product, one display price type site for 90% of the products as I never had the motivation to enter price compare details for ALL the products, but now with the two new Automatic checkboxes ticked, far more products have more than one price automagically showing. Result! :-)

So, what else, Mr Studio?

Well, v2.1 has already made the whole shebang a lot faster with its fancy page caching, but v2.2 also ups the stakes with a far more efficient feed import mechanism.

Why? Well, I began noticing that even though the size of my product database wasn’t growing by much, database queries were slightly longer as the weeks and months went by. Investigating this I found that it was due to MySQL really not liking database tables that have frequent amounts of database inserts and updates as it results in fragmentation (which basically slows everything down).

So from v2.2 does things differently. Essentially when an feed is now imported, the existing products table is copied to a fresh new table and the import is performed against that new table. Finally, the old table is dropped and the new unfragmented table takes its place. This has had a significant effect on performance, and has even cut import times by around 40% for me.

v2.2 also has a new ‘Clone Product’ feature. Regular readers will know that my preferred way of using Datafeed Studio is to create ‘custom products’ with your own unique content, and then set the price compare field on the custom product to show prices from the feeds (many advantages - including your custom content will not disappear if a merchant suddenly drops a product).

The new ‘Clone Product‘ feature is a quick alternative to creating a new product, it will create a new product based on the content of the product you are viewing, with the description, images, price, etc. all copied over for you to customise as you see fit. Just a nice touch, really.

Another nice touch is the ‘Price Compare’ field of a product can now accept standard search phrases such as ‘+xbox +elite’, instead of the full SQL to generate a list of matching products.

Wow, this post is getting far too long and my two young nippers are hovering around me so I better end this quickly, there’s a few other bits’n'bobs, including WebGains parser support, see the full ChangeLog in the distribution for full details.

Grab it here.

(If you are upgrading, you will need to run admin/bin/patch.php from the command-line, or upload and execute ‘patch.sql’ via phpMyAdmin after extracting the zip file to get the full v2.2 experience.)

Datafeed Studio v2.1 - The ‘Meep Meep’ Release!

F5482DCA-1E90-4582-B09F-2CACAD897160.jpg

Whilst building my latest affiliate store for console bundles using Datafeed Studio I decided to add some new features to the application.

The main new feature is cache support across all the affiliate sites and pages created by Datafeed Studio. By setting the $CACHE_TIME_IN_SECONDS value in the main configuration file you can specify how long a page should be cached for. Personally for my sites I have set it to the number of seconds in a day.

Once a page is cached, any subsequent visit to the page will require no database calls whatsoever until the cache time has expired.

That’s not all in the performance stakes though. From v2.1 the SQL used when displaying categories and products has been optimised. Previously when displaying a page with say ten products, this would have required 21 (yes, twenty-one!) database calls. One for the initial product selection, and then two more for each product to gather additional meta information about the product.

From v2.1 a similar page will require just one database call. This, coupled with the new caching feature, should result in much faster response times for your customers.

Apart from that, there are a few presentation changes with themes. First, store themes have a new ‘Buy Now’ button which should increase conversions, secondly themes now include both the main stye.css file and the local CSS file.

Previously the local style.css was a complete copy of the main style.css file and this was the only CSS file included in a page view.

From this version pages load both the main style.css and the local style.css, with the local style.css being empty by default, but loaded after the main style.css so you can override or apply any new customisations you want to the presentation.

This is handy if you have several affiliate sites all using the same Datafeed Studio database and theme type as you can make a “global” change by changing the main style.css file, without having to update each of your sites individually.

For full details of all the changes in v2.1, see the ChangeLog within the Datafeed Studio distribution.

You can download v2.1 here.

Upgrade Notes : If you are upgrading an existing installation note that for this release you must run the patch.php command-line tool located in admin/bin to upgrade your database (alternatively you can import the patch.sql file manually into your MySQL version or using a tool such as phpMyAdmin).

Datafeed Studio V2.0 Released

9B519138-103A-4278-ABAF-9D884B032174.jpg

Ch-ch-ch-changes!

From V2 there is no PHP code in the Datafeed Studio templates!

This should be great news for template designers, as it is now much easier to modify the templates in an HTML editor of your choice without worrying about accidentally altering the obtrusive PHP code.

Technically Datafeed Studio now uses the great PHPTAL template system that gently nudges you down the path of W3C compliant HTML/XHTML designs. For more information see the PHPTAL manual if you are thinking of getting down’n'dirty with the Datafeed Studio templates.

It’s all pretty straight-forward, although it might take a few minutes to understand the changes from previous releases. Essentially, for store and price compare sites, the main layout for a page is now defined in the ‘layout.html’ file within each theme.

Every page within a theme will use that layout, so you can make major structural changes to the theme just by editing that file (in combination with purely presentational changes in the accompanying style.css file).

In the main layout.html file there is one special “div” element with an ID of “content”. The content of this element will be magically replaced depending on what page is being viewed, be it a product page, a content page, blog post, etc.

Each of these pages (product, content, blog, etc.) still has their own specific page which you can customise to your needs, but you only have to worry about that particular context, not the overall layout, as that is “inherited” from the main layout.html.

Enough of the positives, we need some negatives!

There’s only one really, and that is that any custom templates created in earlier versions are no longer compatible. They will have to be migrated to use the new template system. Unfortunately this step was unavoidable, and could mean some short-term pain, for long-term gain.

If you have developed some custom Datafeed Studio templates and would like help migrating them contact me and I’ll do all I can to help. From studying the already migrated themes that come bundled with Datafeed Studio you should be able to understand what’s required, but feel free to contact me if you run into problems.

V2.0 is available to download from here.

If you are upgrading, I strongly recommend moving your existing “templates” folder to “templates_old” prior to unzipping otherwise you will have both old and new template files in your theme folders - which I guarantee will lead to rapid hair loss.

New Admin UI, Integrated Help

It might only be a point release, but today’s release of v1.7.1 of Datafeed Studio is quite a major overhaul of the back-end administration UI, improving the usability and look’n'feel of the whole operation.


As well as the swish new UI, there are now integrated help links within the application that replace the need for the user manual (yes, there actually _was_ a user manual. You didn’t read it either, did you?).

The gory details for 1.7.1 :

  • improved usability and look and feel of admin site
  • default CSS for the store modern theme now uses a more neutral blue style rather than the old ‘Indiana Jones’ style brown
  • integrated help system into the admin site, the old HTML manual is now deprecated
  • fixed bug displaying content pages in side-menu using IE

Download it from here or click here to take it for a test drive.

Got Content?

D7B23799-D61A-4045-BDCE-AE81F1CB6DEA.jpg

Today sees the release of v1.7 of Datafeed Studio.

“So what?” you cry.

Well, what about these killer features?

  • the ability to add static content pages to your stores with the built-in WYSIWYG editor
  • the ability to add a blog to your sites to keep your visitors informed with the latest news about your product niche / your site.

In effect, Datafeed Studio has morphed into a specialised affiliate CMS, combining datafeed driven stores with your unique content. It doesn’t get much better, does it?

The full changelog :

  • new feature - add a blog to your stores
  • new feature - add pages of content to your stores
  • added support for horizontal menu in default store theme
  • fixed various problems when installing in a subfolder of a domain
  • fixed bug displaying products with SEO friendly URLs when using default store theme

Download it here.

New Release with GUI Settings Editor

I’m very pleased to announce the release of v1.6.5 of Datafeed Studio.

This release comes with a major new feature - a GUI Settings editor for your sites, no more editing the PHP configuration files in order to get the site you want.

guieditor.jpg

To try out this new feature, log into the demo (http://olaxi.com/admin, username : demo, password : demo) and click on the ‘Setttings‘ action next to the registered site name.

(Remember that this is a read-only demo, any attempts to update values will result in warnings).

The full changelog for v1.6.5 :

  • new GUI editor for site settings
  • standalone ‘Price Compare’ pages can now only be created via the ‘PC Pages’ tab, not from the site screen
  • removed PUBLIC_URL from site configuration settings, this will now be taken from the registered site URL
  • removed PHP short tags from theme editor for improved compatibility with different hosts
  • renamed MyKey to ‘Product Key’ in product display page for consistency

I hope you like this new feature. Note, if you really still want to edit the configuration files manually, this is still possible,the configuration files still live in the site_configs folder as usual.

The latest release is available to download from here.

Datafeed Studio v1.6.4 Released

Yep - a new release!

This is a mix of some fairly minor bug fixes and usability improvements on the admin side.

The most useful addition are two new datafeed filters, that allow you to Prepend or Append your own content strings to any field in a feed, e.g. adding your own suffix to an affiliate URL.

  • added two new filters, prepend and append, that can prefix or suffix field data with content of your choice
  • added status message when filters are added / updated
  • fixed a big with the BuyAt stock checker that may have prevented other filters from working
  • added convenient accesskeys for the admin site tabs, based on the numeric position of the tab, e.g. 1 = Home, 2 = Datafeeds, etc.
  • added a test for the presence of the MySQLi extension during installation
  • now dynamically filters site themes based on the type of site selected in New/Edit Site screen
  • if you create a dynamic product category from your search results, any SQL limit clause in the generated SQL query is now automatically removed as it could previously break pagination of dynamic products
  • the products shown on store home pages can now be generated by a single tag, display_home_category(). This will now display manual / dynamic categories (formerly only manual were allowed), or if the store $HOME_CATEGORY is unset, or set to ‘random’, a random selection of products will be displayed from your database.
  • fixed Case 48 - extra spaces in user queries were returning no results
  • fixed Case 24 - if a product name is overridden, it now correctly shows in the “HOT DEAL” text of the Store modern theme

Phew…

It is available to download from here.

Information for existing Datafeed Studio owners - there are no database changes required for this release.

To upgrade it is recommended to backup your existing installation folder and extract this new version over it. You may then wish to copy back over any custom template modifications you made in previous releases (or simply copy the old “templates” folder completely).

Datafeed Studio v1.6.3 Released

A bug fix release recommended for all users.

New in v1.6.3

  • fixed “Search results for” string on store default search results page, was missing product term
  • increased security on search queries to prevent possible XSS attacks
  • increased security on admin/bin/patch.php to disallow running from web environment
  • support for tab-separated feeds (parser separator of ‘\t’ without the quotes)
  • disallow index.php?id= URLs being indexed via robots.txt
  • fixed store modern theme, would use value of last product title in the list as the text for the product review heading
  • updated .htaccess to allow existing files to bypass index.php routing

Available to download now.

If you are upgrading remember to backup your templates folder before extracting the new version if you want to retain any custom template changes you may have made.

Integrating Datafeed Studio with WordPress

Sometimes you may want to access product information contained within your affiliate datafeeds outside of a Datafeed Studio created site, e.g. inside a WordPress blog.

This post will show you how to easily achieve this if your WordPress site (or similar) resides on the same physical server as your Datafeed Studio installation. To illustrate what is possible I’ve quickly created a new WordPress site for the Pleo Toy. This WordPress theme has three columns.

The middle column is the one we are interested in - it shows all the current prices and retailers of the Pleo according to the data held in our Datafeed Studio installation.

pleoprices.gif

How does this work?

Well, as our site is on the same server as Datafeed Studio we just hook into the datafeed functions with the following few lines of code :

<?php

$DS_LIB= ‘/home/martinwood/src/php/datafeed_studio/lib’;

$PUBLIC_URL = ‘http://dealdrop.co.uk’;

require “$DS_LIB/database.inc”;

require “$DS_LIB/functions.inc”;

$products = get_products($db, “select * from products where (match(name) against (’+pleo’ in boolean m
ode)) order by merchant_name limit 50″);



foreach ($products as $product) {

echo <<<EOHTML

<li><a target=”_blank” href=”{$PUBLIC_URL}/{$product['deep_link']}”>£{$product['display_price']}
@ {$product['merchant_name']}</a></li>

EOHTML;

}

?>

Just paste these into the appropriate file of your WordPress theme and you can get a similar list of product prices, such as these Pleo Prices embedded in your blog or web site.

Neat, huh?

All you need to change above is :

$DS_LIB - the path to the Datafeed Studio installation “lib” folder on your server

$PUBLIC_URL - the main URL of your public Datafeed Studio site

and, of course, you want to change the product name to be something other than ‘pleo’ in the line containing the “get_products” function call :-)

That’s it.

A future article will show a similar method integrating with WordPress custom fields to dynamically do a product price compare within WordPress.

Two New Built-In Parsers

Quick Update - the latest version (V1.6.2) of Datafeed Studio now comes with built-in datafeed parsers for the Paid On Results and ShareASale affiliate networks.

This now means that Datafeed Studio supports feeds from five different affiliate networks. Full list :

  • Affiliate Window
  • BuyAt
  • Paid on Results
  • Share A Sale
  • Trade Doubler

If you have any feedback on these parsers, or have a suggestion for a new one, please don’t hesitate to contact me.

Don’t forget you are not limited to this list, you can easily create your own within the application by specifying the mapping of internal database fields to that of the CSV file you want to parse.

Next Page »