# FeedOtter Tokens

{% hint style="info" %}
FeedOtter uses a customized version of the TWIG template syntax.
{% endhint %}

### Campaign Tokens

These tokens are used to display properties from the parent FeedOtter campaign object.

<table><thead><tr><th width="452">Merge Code</th><th>Description and Usage</th></tr></thead><tbody><tr><td>[[feedotter.campaign_name]]</td><td>The name of your campaign as provided during the wizard process</td></tr><tr><td>[[feedotter.newsletter_date | date('F j, Y')]] <br>→ output example: <em>October 24, 2025</em><br><br>[[feedotter.newsletter_date | date('m/d/Y')]] <br>→ output example: <em>10/24/2025</em><br><br>[[feedotter.newsletter_date | date('l, F j, Y')]]<br>→ output example: <em>Thursday, October 24, 2025</em><br><br>[[feedotter.newsletter_date | date('F Y')]]<br>→ output example: <em>October 2025</em></td><td>This token (updated 2025) pulls the date you set in the sidebar in the FeedOtter interface.</td></tr><tr><td>[[feedotter.send_date]]</td><td>A text string containing the day of week, month, day, and year that your email campaign ran. Example: Tuesday, November 15 2016</td></tr><tr><td>[[feedotter.send_date<em>_</em>object]]</td><td>A date object that can be used for advanced formatting such as [[feedotter.send_date<em>_</em>object | date("Hi m/d/Y", "Europe/Paris")]]. Good resources for date building are: PHP date function and PHP date generator.</td></tr><tr><td><p><strong>Send Date Token</strong>: [[feedotter.send_date_object | date('F j, Y')]]</p><p></p><p><strong>Day after send date token:</strong> [[feedotter.send_date_object|date_modify("+1 day")|date("m/d/Y")]]</p></td><td>A date object that can be used for advanced formatting</td></tr><tr><td>[[feedotter.scheduled_date | date("m/d/Y")]]</td><td>A date object which contains the date that a curated newsletter is scheduled. This may be useful if you create newsletters that are scheduled in the future. This token REQUIRES the use of a formatter. Date formatters are in PHP format.<br><br>Supported Modules: Curated Newsletters<br>Supported Platforms: Pardot, Marketo, Eloqua, Campaigner, MailChimp</td></tr><tr><td>[[feedotter.campaign_from_name]]</td><td>The FROM NAME value as provided during the campaign wizard process</td></tr><tr><td>[[feedotter.campaign_from<em>_</em>email]]</td><td>The FROM EMAIL value as provided during the campaign wizard process</td></tr><tr><td>[[feedotter.campaign_reply_email]]</td><td>The REPLY EMAIL address as provded during the campaign wizard process</td></tr><tr><td>[[feedotter.preheader_text]]</td><td>Special text block designed for an email preheader. This includes the title of the first post and the first 100 characters of the first post text.</td></tr></tbody></table>

### Post Loop Tokens

These tokens MUST be inside a valid loop.

<table><thead><tr><th width="453">Merge Code</th><th>Description and Usage</th></tr></thead><tbody><tr><td>[[post.post_title]]</td><td>The title of a blog post.</td></tr><tr><td>[[post.post_url]]</td><td>The url of a blog post</td></tr><tr><td>[[post.post_excerpt]]</td><td>The best text summary of an article. Our system evaluates the &#x3C;description> and &#x3C;content> values and builds a summary based on availability.</td></tr><tr><td>[[post.post_excerpt_text]]</td><td>Same as post_excerpt with HTML stripped.</td></tr><tr><td>[[post.post_description]]</td><td>The full &#x3C;description> content from the RSS feed (including HTML if present).</td></tr><tr><td>[[post.post_description<em>_</em>text]]</td><td>A text-only version of the &#x3C;description> node from the RSS feed.</td></tr><tr><td>[[post.post_content]]</td><td>The full &#x3C;content> from the RSS feed. Including HTML.</td></tr><tr><td>[[post.post_content_text]]</td><td>The full &#x3C;content> from the RSS feed with HTML removed.</td></tr><tr><td>[[post.post_author]]</td><td>The author name of a blog post. IF the RSS data contains multiple authors they will be displayed separated by a comma. e.g. "Author1, Author2". You can gain more control over the display of multiple authors by using the asArray method.</td></tr><tr><td>[[post.post_date]]</td><td>The publish date of a blog post. Automatic formatting (you can learn how to format dates using TWIG filters <a href="broken-reference">here</a>.)</td></tr><tr><td>[[post.post_source]]</td><td>The name of the source of a blog post</td></tr><tr><td>[[post.image_url]]</td><td>The best image to represent a blog post as chosen by our algorithm. Learn more about how <a href="https://www.feedotter.com/blog/email-campaign-images/">FeedOtter selects campaign images here</a>.</td></tr><tr><td>[[post.post_timeToRead]]</td><td>Displays an estimated article read time (integer). Based on the &#x3C;content> field of the RSS data. Usage: "Read time: [[post.post_timeToRead]] min."</td></tr><tr><td><p>[% if post.post_categories|length >0 %]</p><p> [% for cat in post.post_categories |slice(0,1) %] </p><p>[[cat.name|upper]]</p><p> [% endfor %]</p><p> [% endif %]</p></td><td>Category of your blog post. If category assigned to post it will pull the primary category listed.</td></tr><tr><td>[[post.cta_text]]</td><td>Create your own standard call-to-action for each content block via the UI.</td></tr><tr><td>[[post.asArray.json_encode.value]]</td><td>Use to display any non-RSS XML values in your feed. Learn more about using this token <a href="broken-reference">here</a>.</td></tr><tr><td><p>&#x3C;h1>Test Event Data&#x3C;/h1><br>[[post.location]]&#x3C;br/><br>[[post.start_date | date('l, F j, Y')]]&#x3C;br/><br>[[post.start_date | date('g:ia T')]]&#x3C;br/><br>[[post.start_date |date('g A T',"America/Los_Angeles")]][[post.content_type]]</p><p></p></td><td>Use to display event data - for use with FeedOtter Content Collector Extension.</td></tr></tbody></table>

### UI Tokens

These merge codes correspond to properties that can be customized from the FeedOtter customize interface.

<table><thead><tr><th width="454">Merge Code</th><th>Description</th></tr></thead><tbody><tr><td>[[feedotter.primary_color]]</td><td>The color(hex) selected as primary color in the campaign wizard</td></tr><tr><td>[[feedotter.secondary_color]]</td><td>The color(hex) selected as secondary color in the campiagn wizard</td></tr><tr><td>[[feedotter.button_color]]</td><td>The color(hex) for buttons and calls to action links</td></tr><tr><td>[[feedotter.footer_text_color]]</td><td>The color(hex) of text in the default footer text. Only allowed inside "footer_html" content.</td></tr><tr><td>[[feedotter.footer_html]]</td><td>WYSIWYG html block for footer content.</td></tr><tr><td>[[feedotter.social_html]]</td><td>Display custom html to display social links and icons.</td></tr><tr><td>[[feedotter.company_logo<em>_</em>url]]</td><td>Certain templates support the upload of a logo image.</td></tr><tr><td>[[feedotter.logo_width]]</td><td>With your uploaded logo, this token replaces the width (integer) in pixels so you can resize your logo image to fit your template via the UI.</td></tr><tr><td>[[feedotter.post_body<em>_</em>char_limit]]</td><td>Certain templates support the changing of the max body length via the UI.</td></tr><tr><td>[[feedotter.unsubscribe_link]]</td><td>Displays the proper unsubscribe link based on your ESP.</td></tr><tr><td>[[feedotter.view_as<em>_</em>webpage_link]]</td><td>Displays a link to view the email as a webpage based on your ESP.<br>Marketo = {{system.viewAsWebpageLink}}<br>Pardot = {{View.Online}}</td></tr><tr><td>[[feedotter.company_name]]</td><td>Customize via the UI and automatically use in footer or any area of your template.</td></tr><tr><td>[[feedotter.company_url]]</td><td>Add your company website to link logo and header images via the UI.</td></tr></tbody></table>
