Data feed file integration price comparison shopping script

Documentation Wiki - DataFeedFile.com - Online merchant datafeed integration for affiliates : DFFDFFMLFunctions

HomePage | Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Home Affiliate FAQ Merchant FAQ Examples Merchants Networks & Programs Forum Blog Wiki Knowledge Base Login

List of DFFML Supported Functions


While using DFFML you can further process the output of the fieldname into a DFFML supported function.

Most of the functions here are similar to PHP function and have the same parameter requirements.

urlencode
urldecode
ucfirst
lcfirst
ucwords
strtolower
strtoupper
strip_tags
trim
ltrim
rtrim
md5
strlen
htmlentities
html_entity_decode
htmlspecialchars
htmlspecialchars_decode
stripslashes
addslashes
stripcslashes
addcslashes
quotemeta
count
array_sum

date (param1 = date format according to PHP date(..) function standard - defaults to 'M j Y' )
number_format (param1 = decimal place - defaults to 2, param2 = decimal character - defaults to '.' , param3 = thousands separator character - defaults to ',' )
substr (param1 = start position - zero based, param2 = length of string to include - specifying nothing will include the rest of the string starting from param1 )
str_replace (param1 = needle, param2 = replacement character / string )
toggle (param1 = first value to be used, param2 = second value) - this function will toggles output value between param1->param2->param1-param2...

Note: because most of the functions here are inherited from PHP functions, you should go to PHP web site to search for those function explanation.

Example usage
To convert a DFFML placeholder data to all uppercase:
<|DFF|strtoupper()^fieldname|>


To URL encode a particular URL from DFFML placeholder data:
<|DFF|urlencode()^fieldname|>


To format a date to PHP date option 'm/d/y':
<|DFF|date(m/d/y)^fieldname|>


There are no comments on this page. [Add comment]

Integrate price comparison shopping data feed file from thousands of online merchant product data feeds | Valid CSS

Page was generated in 0.0724 seconds