Feed Functions
Snip[]

Snip makes it possible to turn one datafeed into multiple feeds, especially useful for the creation of web pages.
The example above will create one feed every 10 products and append the product number to the filename.
Upload[]
New in 2.1.3 is the [upload()] function. Upload accepts one parameter, a filename. It can also accept feed variables, for example, a useful one to use is $$prod_image_caption$$, which is the image caption of the design uploaded in your image basket, typically the filename of the original file.
* [upload(c:\path\to\$$prod_image_caption$$)]
* [upload(c:\path\to\image.jpg)]
Data[]

Data allows you to use, what we call, the Data Store. Data Store is an XML file that lives in the "Settings" folder of the Instant Cafe installation directory and contains any data you wish. When you include the Data function within the Feed Format you can query the Data Store and have the returned data included in your feed.
The example above will insert the full CafePress description of a Dark T-Shirt into the datafeed.
Changes to Data[] in 2.1.0
* Change to data function * Added a forth parameter to the data function which allows you to strip words out of the value returned. ex: [data(designList.4,$$prod_image_id$$,dataImageBasket,myspecialtag)] If the tags returned were: myspecialtag,obama,barack,president The result would be: obama,barack,president (the comma is also stripped) * You can space separate the words. For example: myspecialtag barack * Change to data function The ability to extract attributes. ex: [data(description.1,12345,myfilename)] Would extract "somevalue" fromThe ID is always at 0. * Change to the data function Optional filename paramater: ex: [data(description,12345,myfilename)] myfilename = Instant Cafe Feeder\settings\myfilename.icf


