Joomla-menu

This is a menu item defined the joomla admin 'menus' section. Here you define one or more joomla-menus for the component.

Datamenu

The module used with the datafeeds component is called mod_datamenu. This module is added and changed using the 'extensions -> module-manager' part of the admin. Typical position of a module is in the sitebar of the site. One of the functions of the module is te generate a navigaton structure/filter to browse through the items in the datafeeds joomla-menu

JOOMLA-ROOT

This is the installation directory of your joomla website. The same directory where the configuration.php file is located. The component is installed on three locations

  1. components/com_datafeeds
  2. administrator/components/com_datafeeds
  3. modules/mod_datamenu

Feed

Import filter/callback

This page  tries to explain the usage of callback functions. callbacks are php-functions used to filter and manipulate feed data. Each item in a feed is parsed  by the callback function. In the feed configuration the default callback is set to generic_cb. You can change this to your own functions. Callback functions go into the feeds.php script, there is a 'edit callbacks' tab/link in the menu's

 

Netaffiliation productfeeds ( Catalogues ) are supported. The  feeds can be found under 'Tools' in the webmaster area of the Netaffiliation website.

New location

 


 

 

The shareasale network provides CSV (piped) formated datafeeds. Adding the feeds to the component could be very straightforward, unfortunately the share a sale feeds have some issue's:

The component can import any CSV formatted file delimited with tab, ',', ';' or '|' and enclosed with '"' (optional). The CSV files must have a header row:

Getting the affilinet feeds

Downloading the affilinet feeds requires a key/password, but the link created when clicking on the poduct search->product lists (url) gives the wrong password  resulting in a 'wrong credentials'.


The CSV links on this page look like :

http://productdata.download.affili.net/affilinet_products_899_494090.csv?auth=KEY

Go to account->technical settings->csv settings->CSV product data. (url). One the bottom you will find a password ( or generate one), replace KEY the with this one. Or use the link just above the password to download a list of al productfeeds.

put the producturl in the 'feed url' of the feed configuration select the correct class ( most likely CSV ; ") and click apply.

 

affilinet feed of feeds

To use the affilinet feed of feeds you need your CSV password. (SVN:950)

 

Login into affilinet and visit the page : techSettingsProducts

at the bottom you should find the password. Enter this password in the dialogbox in the administrator or save in the preferences.

Curl and redirect issue.

When using curl combined with some security settings ( safe_mode and/or open_baseir) you might have problems downloading the feed: affilnet is redirecting the feeds and your server settings do not allow this. Please copy and paste the url into your webbrowser, and copy the RESULTING url back.

http://publisher.affili.net/Download/AutoDownload.aspx?PartnerID=000&csvPW=xxx&listID=1397  becomes http://productdata.download.affili.net/affilinet_products_1397_000.csv?auth=xxx

just a note

Affilinet sucks big time on their feeds ( at least affilinet-NL), it's a big encoding mess. While most networks got it sorted out, affilinet is still in kindergarden.

Tradetracker

 

Finding identical products

The real problem creating a price comparison website using joomla or any other script is finding identical products. For some product ranges price comparison is possible using unique codes like the EAN or ISBN code. Although even these codes are not as unique as you might hope they a quit good base for price comparison. In some fields like holidays or fashion ean codes are less common or not supplied in the datafeed. Finding identical (or even similar) product required some creative thinking, for accommodations the 'accommodation name' might be good option to use, for mobile phone the brand and type are indicators for more or less identical phones.

 

Siblings

Whatever your choice of 'identical products' is, the component supports finding siblings with the exact same 'key'

How to use

In the feed configuration assign the desired key to a 'Select' field. For example assign the ean field to select7. Assign the same key to the same select field for all your feeds ( at least feeds used in the same group/Select0) . The example below show the 'ean' field from the feed assigned to the database field 'Select 8'

In the menu configuration select assigned field for siblings (in the advanced tab) and the number of siblings to show.

In the example below the items are related using the 'Select 8' database field. For each item a maximum of 5 siblings are shown. For each feed ( = 'Merchant') only one item is show. And the siblings are order, thus this configuration will show the five cheapest merchants.

 

Creating a layout

In the layout use

$this->assignRef('siblings', $this->get( 'Siblings')); 

to get a list of siblings of the displayed items. Loop throught the array to display each sibling.

A layout is not included in the distribution. An example layout and help setting it up can be obtained as part of a support license

 

Example Samsung GSM Telefoons

Example LCD Televisie