<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://docs.sailthru.com/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel>
        <title>Sailthru Docs</title>
        <description></description>
        <link>http://docs.sailthru.com/</link>
        <lastBuildDate>Mon, 14 May 2012 16:00:08 -0500</lastBuildDate>
        <generator>FeedCreator 1.7.2-ppt DokuWiki</generator>
        <image>
            <url>http://docs.sailthru.com/lib/images/favicon.ico</url>
            <title>Sailthru Docs</title>
            <link>http://docs.sailthru.com/</link>
        </image>
        <item>
            <title>api:product-453q4523</title>
            <link>http://docs.sailthru.com/api/product-453q4523</link>
            <description>Overview


Push a new piece of content to Sailthru, or update an existing piece of content, triggering any applicable alerts.

Specification

Base URL

https://api.sailthru.com/content

POST mode

Required Parameters
 Parameter  Description  Example  url  The unique URL of the content  &lt;http://example.com/product-url&gt; 
Optional Parameters
 Parameter  Description  Example  title  The human-friendly title of the content  Name of Product  date  The created time of the content (if not provided, defa…</description>
            <author>Will Farrell</author>
        <category>api</category>
            <pubDate>Mon, 14 May 2012 15:34:51 -0500</pubDate>
        </item>
        <item>
            <title>syntax:link-rewriting</title>
            <link>http://docs.sailthru.com/syntax/link-rewriting</link>
            <description>If you create a link that contains Zephyr code as part of the link, such as


http://example.com/path?email={email}


The link is bundled together as a single distinct rewritten link. Therefore you can track the performance of that link across users, rather than have it render and track as thousands or millions of different individual links.</description>
            <author>Danny</author>
        <category>syntax</category>
            <pubDate>Fri, 27 Apr 2012 14:25:50 -0500</pubDate>
        </item>
        <item>
            <title>function:social_share</title>
            <link>http://docs.sailthru.com/function/social_share</link>
            <description>social_share(string share_mode, string url_text)


Returns a URL that contains a link that will allow the user to share url in Twitter or Facebook.

For example, you could have separate links to individually &quot;like&quot; each of the articles in your newsletter.</description>
            <author>Praj Tuladhar</author>
        <category>function</category>
            <pubDate>Sat, 21 Apr 2012 22:07:23 -0500</pubDate>
        </item>
        <item>
            <title>api:technical-details</title>
            <link>http://docs.sailthru.com/api/technical-details</link>
            <description>We recommend that you use our pre-existing API Libraries for using our API. These libraries are debugged and in widespread use.

But, there are situations where you may need or want to write your own library, or otherwise directly access the API. This document explains the details.</description>
            <author>Ian White</author>
        <category>api</category>
            <pubDate>Sat, 21 Apr 2012 17:03:18 -0500</pubDate>
        </item>
        <item>
            <title>api:job</title>
            <link>http://docs.sailthru.com/api/job</link>
            <description>Overview

Start, or get the status of, a background job, such as a data import or export.

Jobs are asynchronous -- they may take minutes or hours to run, depending on how large they are. Therefore, the job POST call will return a job_id, which you can use later to request the current status of the job with the GET call.</description>
            <author>Ian White</author>
        <category>api</category>
            <pubDate>Sat, 21 Apr 2012 17:01:23 -0500</pubDate>
        </item>
        <item>
            <title>api:user</title>
            <link>http://docs.sailthru.com/api/user</link>
            <description>Get or set information about one of your users.

This is a more advanced version of the email API call, and can be used even for users who do not have email addresses.

Base URL

https://api.sailthru.com/user

GET mode


Get information about one of your users.</description>
            <author>Ian White</author>
        <category>api</category>
            <pubDate>Fri, 20 Apr 2012 11:47:00 -0500</pubDate>
        </item>
        <item>
            <title>function</title>
            <link>http://docs.sailthru.com/function</link>
            <description>*  abs - return the absolute value of a number
	*  ad - return the HTML of an adFlight ad placement
	*  adinfo - return meta information about an adFlight ad placement
	*  contains - return whether a list or string contains an item or substring
	*  bucket_list - move elements of a list into separate &quot;buckets&quot; based on criteria
	*  date - return a formatted date
	*  filter - apply a lambda function to filter out elements of a list
	*  first - get the first word in a string or first element of a l…</description>
            <author>Ian White</author>
            <pubDate>Wed, 18 Apr 2012 22:52:30 -0500</pubDate>
        </item>
        <item>
            <title>horizon:concierge</title>
            <link>http://docs.sailthru.com/horizon/concierge</link>
            <description>The easiest way to set up the Concierge is to use our Concierge Setup Wizard. Alternatively, you can follow the steps below. 

Step 1: Horizon


If you haven't already, you must setup Horizon&lt;http://docs.sailthru.com/horizon/setup&gt;, Sailthru's behavioral intelligence tool, on your site. Once you've done so, proceed with the following instructions.</description>
            <author>Will Farrell</author>
        <category>horizon</category>
            <pubDate>Tue, 17 Apr 2012 18:12:36 -0500</pubDate>
        </item>
        <item>
            <title>function:api_user</title>
            <link>http://docs.sailthru.com/function/api_user</link>
            <description>api_user(options, [, email])


Make a user API Request

	*  options A Key/Value Hash containing one or all items
		*  key the key type of id, (see  keys)
		*  fields the fields to return (see  fields)
		*  keys set some or all of the user keys (see  keys)
		*  keysconflict define behavior if keys conflict with existing keys (see  keysconflict)
		*  lists key/value hash; each key is the name of a list, and each value is 1 to subscribe the user from that list and 0 to remove the user from the list…</description>
            <author>Praj Tuladhar</author>
        <category>function</category>
            <pubDate>Fri, 13 Apr 2012 15:46:29 -0500</pubDate>
        </item>
        <item>
            <title>trigger</title>
            <link>http://docs.sailthru.com/trigger</link>
            <description>Overview


A trigger, more specifically a transactional trigger, allows you to execute an action in Sailthru after a specific user action takes place as a result of a sent template.
Sending a transactional email with an associated trigger allows automatic updating of lists, sending of transactional emails, and even the execution of custom Zephyr scripts, all which can be set to occur upon send, open, click, or purchase.</description>
            <author>Praj Tuladhar</author>
            <pubDate>Fri, 13 Apr 2012 15:42:08 -0500</pubDate>
        </item>
        <item>
            <title>horizon:setup</title>
            <link>http://docs.sailthru.com/horizon/setup</link>
            <description>New to Horizon? Learn more first.

Step 1: Contact Us &amp; Horizon CNAME

	*  First of all, email support@sailthru.com to enable your account for Horizon data tracking.

	*  Second, Establish a CNAME in your DNS zonefile
HostSubdomainhorizon.yourdomain.comhorizon.sailthru.com
	*  Enter your full horizon subdomain, i.e. horizon.yourdomain.com, under the &quot;Horizon Subdomain&quot; field in your Sailthru Account settings.</description>
            <author>Danny</author>
        <category>horizon</category>
            <pubDate>Thu, 05 Apr 2012 12:36:57 -0500</pubDate>
        </item>
        <item>
            <title>function:time</title>
            <link>http://docs.sailthru.com/function/time</link>
            <description>time([&lt;string input&gt;][,&lt;int now&gt;])


When called with no parameters, returns the current UNIX timestamp (the number of seconds since January 1 1970 00:00:00 GMT).

When a string input parameter is passed, attempts to convert the string to a timestamp, in a manner similar to (but not identical to) PHP's strtotime function.</description>
            <author>Ian White</author>
        <category>function</category>
            <pubDate>Tue, 27 Mar 2012 14:37:02 -0500</pubDate>
        </item>
        <item>
            <title>function:assert - created</title>
            <link>http://docs.sailthru.com/function/assert</link>
            <description>assert(mixed expression[, string failuremessage])


Assert that expression is true. If expression evaluates to false, null, 0, or &quot;&quot;, terminates execution of the Zephyr script.

Terminating execution via a failed assert() will have the following consequences:</description>
            <author>Ian White</author>
        <category>function</category>
            <pubDate>Thu, 22 Mar 2012 15:44:09 -0500</pubDate>
        </item>
        <item>
            <title>horizon:content-spider</title>
            <link>http://docs.sailthru.com/horizon/content-spider</link>
            <description>Note: This page discusses content relating to Horizon, Sailthru's behavioral intelligence feature.


Overview


When Sailthru detects a new URL on your site that it has not seen before, it will automatically spider that URL. The spider does not &quot;crawl&quot; through pages automatically following links. It simply will hit new URLs once.</description>
            <author>David Studinski</author>
        <category>horizon</category>
            <pubDate>Wed, 14 Mar 2012 17:14:47 -0500</pubDate>
        </item>
        <item>
            <title>faq</title>
            <link>http://docs.sailthru.com/faq</link>
            <description>*  Q. What is a smart list? 
	*  A. Smart Lists are live segments. You can generate a smart list using specific criteria (such as openers, or people located in New York City) and each time a user comes on to the source list with matching criteria, they are added to the appropriate smart lists.</description>
            <author>Ben Bartholomew</author>
            <pubDate>Tue, 13 Mar 2012 10:22:15 -0500</pubDate>
        </item>
        <item>
            <title>function:list</title>
            <link>http://docs.sailthru.com/function/list</link>
            <description>list(mixed value)


Converts value to a list, according to the following rules:

	*  If passed a list, returns that list
	*  If passed null, returns null
	*  If passed anything else, returns list with exactly one item in it (value)

Example


{list([1,2,3])} ----&gt; [1,2,3]
{list(&quot;test&quot;)}  ----&gt; [&quot;test&quot;]
{list(null)}    ----&gt;</description>
            <author>Ian White</author>
        <category>function</category>
            <pubDate>Fri, 02 Mar 2012 12:34:56 -0500</pubDate>
        </item>
        <item>
            <title>api:purchase</title>
            <link>http://docs.sailthru.com/api/purchase</link>
            <description>Overview

Record that a user has made a purchase, or has added items to their purchase total. You should call this when a user adds an item to their shopping cart (if you want to send abandoned-shopping-cart emails) with the incomplete parameter. Otherwise, you should call this whenever a user completes final purchase.</description>
            <author>David Studinski</author>
        <category>api</category>
            <pubDate>Thu, 01 Mar 2012 15:42:05 -0500</pubDate>
        </item>
        <item>
            <title>api</title>
            <link>http://docs.sailthru.com/api</link>
            <description>The purpose of the sailthru API is to allow you to take full advantage of all the features of your Sailthru service as efficiently as possible.

	*  Step 1 - Download one of our pre-built libraries for your chosen programming language - review the list at client libraries.
		*  Step 2 - Install and configure your chosen pre-built library - for details see &quot;Getting Started&quot;.
		*  Step 3 - Write code inside your application to directly perform the desired Sailthru action. For example, this can oft…</description>
            <author>Ian White</author>
            <pubDate>Tue, 28 Feb 2012 17:06:54 -0500</pubDate>
        </item>
        <item>
            <title>api:horizon</title>
            <link>http://docs.sailthru.com/api/horizon</link>
            <description>This API call is deprecated. You can use the user API call instead.</description>
            <author>Ian White</author>
        <category>api</category>
            <pubDate>Tue, 28 Feb 2012 16:59:05 -0500</pubDate>
        </item>
        <item>
            <title>function:adinfo</title>
            <link>http://docs.sailthru.com/function/adinfo</link>
            <description>adinfo(string zonename)


Given a zone name, returns a data structure containing information about the banner scheduled that particular zone, Ad Plan, and day of send.

Will return null if no banner has been scheduled in that particular zone on that particular day, or if no Ad Plan has been set.</description>
            <author>Ian White</author>
        <category>function</category>
            <pubDate>Sat, 25 Feb 2012 17:56:56 -0500</pubDate>
        </item>
        <item>
            <title>api:list</title>
            <link>http://docs.sailthru.com/api/list</link>
            <description>Overview


Get information about a list, or create a list.

Use of the POST method of this call to add/remove users is deprecated in favor of the job call.

Specification

Base URL

https://api.sailthru.com/list

GET mode


Get information about a list. This currently includes the email addresses on the list, but this will be deprecated -- use the job call instead to export data.</description>
            <author>Danny</author>
        <category>api</category>
            <pubDate>Fri, 24 Feb 2012 18:30:53 -0500</pubDate>
        </item>
        <item>
            <title>data-feeds</title>
            <link>http://docs.sailthru.com/data-feeds</link>
            <description>Overview

When sending a campaign email, it can be convenient to pull content from your site. This can help you:


	*  Automate your email production process by designing a template once and automatically populating it with content
	*  Schedule a daily email in advance without even knowing what the content will be
	*  Use Sailthru Horizon personalization to deliver custom content to users</description>
            <author>David Studinski</author>
            <pubDate>Tue, 21 Feb 2012 14:22:06 -0500</pubDate>
        </item>
        <item>
            <title>api:blast</title>
            <link>http://docs.sailthru.com/api/blast</link>
            <description>Overview


Schedule a mass mail blast (see &quot;Campaign overview&quot;), or check on the status of a previously scheduled blast. See .

Specification

Base URL

https://api.sailthru.com/blast

GET mode

Get data on a single blast
 Parameter  Description  Example  blast_id  blast ID  34463 

= Optional Parameters =</description>
            <author>David Studinski</author>
        <category>api</category>
            <pubDate>Thu, 16 Feb 2012 13:40:34 -0500</pubDate>
        </item>
        <item>
            <title>api:ad:plan</title>
            <link>http://docs.sailthru.com/api/ad/plan</link>
            <description>Update, or get information about, an adFlight Plan.

Base URL

https://api.sailthru.com/ad/plan

GET mode


Get information about the plan.

Required
 Parameter  Description  Example  name  Plan Name  New York Weekdays 
Return Value


Will return a data structure including some or all of the following information:</description>
            <author>Ian White</author>
        <category>api:ad</category>
            <pubDate>Sun, 12 Feb 2012 17:32:21 -0500</pubDate>
        </item>
        <item>
            <title>function:first</title>
            <link>http://docs.sailthru.com/function/first</link>
            <description>first(mixed value)


If passed a list, returns the first element of that list.

If passed a string, returns the first word in that string (using spaces as the separator). This can be useful for extracting a user's first name from the name property.</description>
            <author>Ian White</author>
        <category>function</category>
            <pubDate>Tue, 07 Feb 2012 12:28:19 -0500</pubDate>
        </item>
        <item>
            <title>syntax:basics</title>
            <link>http://docs.sailthru.com/syntax/basics</link>
            <description>Replacement Variables


A template is normally HTML or text, with replacement variables and syntax enclosed in {curly braces} or {{double curly braces}}  For example,


&lt;p&gt;Your email address is: {email}!&lt;/p&gt;


You can pass in replacement variables as part of a send call, or set them on the email address via an email call.</description>
            <author>Ian White</author>
        <category>syntax</category>
            <pubDate>Tue, 07 Feb 2012 12:02:07 -0500</pubDate>
        </item>
        <item>
            <title>api:blast_repeat</title>
            <link>http://docs.sailthru.com/api/blast_repeat</link>
            <description>Repeating Blast

GET mode


Get data on a repeating campaign, or all repeating campaigns.

Optional parameters

 Parameter  Description  Example  repeat_id  Repeating campaign ID  34463 

If you do not pass a repeat_id, you will get a list of all repeating campaign.</description>
            <author>David Studinski</author>
        <category>api</category>
            <pubDate>Fri, 03 Feb 2012 15:40:35 -0500</pubDate>
        </item>
    </channel>
</rss>

