LogoLogo
HomepageDocumentationGet FeedOtter
  • Welcome to FeedOtter
  • Automated Newsletters
    • Getting Started
      • Marketo Sending
      • Pardot Sending
      • Eloqua Sending
      • SFMC Sending
      • HubSpot Sending
      • MailChimp Sending
      • Active Campaign Sending
    • Scheduling Your Send
      • Require New Content to Send
      • Intervals
    • Features
      • Last Send Date
      • Send Now
      • Sending History
      • UTM Parameters
      • Custom Subject Lines
      • Notifications
      • Multiple Feeds
        • Merging Feeds
        • Pulling in External JSON/XML Data
  • Curated Newsletters
    • Getting Started
      • Newsletter Defaults
      • Adding Content Sources
      • Create your first curated issue
      • Test, Review, and Publish your curated email newsletter
    • Publishing
      • Publishing to Marketo
        • Create a New Email Program and Email
        • Create a New Email in Marketo
        • Schedule an Email Program Send From the FeedOtter Interface
      • Publishing to Pardot
      • Publishing to Eloqua
        • Create a New Email and Schedule a Send
        • Create a New Email
        • Update an Existing Email
        • Issue Naming
      • Publishing to HubSpot
      • Publishing to MailChimp
      • Publishing to HTML
    • Tags
    • Bookmarking Content
    • Content Sources
      • Google Sheets
      • YouTube
      • Algolia
      • WordPress API
      • UberFlip
      • JSON / XML API
        • Custom Data Fields
    • Troubleshooting
      • Marketo Duplicate Object Naming
      • Marketo Emoji Support
      • MailChimp From Address
      • Pardot emails are missing a required Unsubscribe or Preference Center tag
  • Integrations
    • Getting Started
    • Marketo
      • How to Set Up Your Marketo Integration
      • FAQ
        • Email Reporting
        • Sending in Recipient Time Zone
        • Marketo Data Access
        • Custom Marketo Program Naming
        • Branded Domain and IP Settings
      • Troubleshooting
        • How do I reset my Marketo Automated Campaign
        • Marketo Error: Program with the same name exists
        • Marketo error: Daily quota '50000'
        • Marketo Error: Invalid request. Please check and try again.
        • Curated Issue Fails to Publish
          • FeedOtter Can Not Approve Marketo Template
          • Marketo rejects Duplicate Name
      • Exporting a FeedOtter email into Marketo
    • Pardot / Account Engagement
      • How to Set Up Your Pardot Integration
      • FAQ
        • Salesforce IP Whitelisting
        • Where Can I Find My Pardot Business Unit ID?
        • Pardot Data Access
        • Advanced Settings
          • Set Up a User for Integration
      • Troubleshooting
    • Eloqua
      • How to Set Up Your Eloqua Integration
      • FAQ
        • Custom Email and Campaign Naming
        • Custom Field Setup
        • Updating Eloqua Canvas Email
        • Eloqua Data Access
        • VMTA and BBE
    • Salesforce Marketing Cloud
      • How to Set Up Your SFMC Integration
      • FAQ
        • SFMC Tracking Code
        • SFMC Resources and Links
      • Troubleshooting
    • HubSpot
      • How to Set Up Your HubSpot Integration
      • FAQ
      • Manually publish an email to HubSpot
    • MailChimp
      • How to Set Up Your MailChimp Integration
    • ActiveCampaign
      • How to Set Up Your ActiveCampaign Integration
    • Microsoft Dynamics Marketing
      • How to Set Up Your MS Dynamics Integration
  • Email Templates
    • Getting Started
      • Custom Template
        • HTML Email Guidelines
          • In-Depth HTML Email Guidelines
        • Custom Template Resources
          • ESP Template Use
            • Export a Marketo Template for Use in FeedOtter
            • Export a Pardot Template for Use in FeedOtter
            • Export a HubSpot Template for Use in FeedOtter
            • Export an ActiveCampaign Template for Use in FeedOtter
        • Where to Access Template Code
        • Getting Started with FeedOtter Templates
          • Creating a Basic Email Template
          • Advanced Email Templates
            • Slicing loops
            • Multiple Feed Emails
            • Email With Columns
            • Conditionals
            • Filters
              • Image Resize Filter
              • Date Formatting Filter
              • Text Manipulation Filters
              • Other Handy Filters
            • Non-RSS XML values
            • Custom fields
            • Display a Full Article in Your Email
          • Curated Email Setup Best Practices
            • Curated Newsletter Sections
      • Element Customization
        • About Email Images
    • FeedOtter Tokens
    • ESP-Specific Tokens
      • Marketo Tokens
        • Using Marketo Tokens in the From and Reply-To
      • Pardot Tokens
        • Pardot Merge Token Reference
      • Eloqua Tokens
      • SFMC Tokens
      • HubSpot Tokens
      • MailChimp Tokens
      • ActiveCampaign Tokens
  • Account Management
    • Account Information
    • Company Details
    • Manage Users
      • Adding Users
      • User Roles
      • Campaign Permissions
      • Transfer Ownership
      • Disabling Users
    • Security
      • Enable SSO in Your Account
        • Enable SSO With Okta as the Identity Provider
        • Enable SSO with a Generic Identity Provider
        • Enable SSO with Azure AD as the Identity Provider
        • Enable SSO with OneLogin as the Identity Provider
      • Account Level 2FA
    • Billing
      • Update Your Payment Card
      • View Account Usage
      • View Receipts
      • Change Your Subscription Plan
  • FAQ
    • How to manually publish a curated newsletter
    • WordPress RSS Feed Reference
    • How to find your RSS feed
    • Help with HTML encoding
    • My automated email did not send as expected
    • How do I hard refresh my browser?
    • How to Remove "This Post First Appeared" from Your Blog's RSS Feed in WordPress
    • Whitelisting FeedOtter
    • Whitelist FeedOtter on CloudFlare
    • How do I contact support?
    • Red Dot: Campaign Status
      • Confirm your RSS Feed is valid
      • Confirm your integration is still connected
Powered by GitBook
On this page
  1. Email Templates
  2. Getting Started
  3. Custom Template
  4. Getting Started with FeedOtter Templates
  5. Advanced Email Templates

Display a Full Article in Your Email

Last updated 1 year ago

Many customers display a full article of content in their automated emails as seen below.

This requires a few extra considerations.

  1. Your RSS feed must contains the full article content. This will be in the <content> tag of your RSS feed.

  2. Your email code must use the [[post.post_content]] token. This accesses the full article contained in the <content> xml. It also keeps the incoming html intact. For now this is what you want.

  3. FeedOtter has created a few special filters to help process incoming HTML and images and prevent them from breaking your responsive emails. So, instead of using the vanilla post_content token we recommend the following:

[[post.post_content | cleanImages | striptags('<p><br><span><a><div><b><strong><i><em><img>') ]]

/*
Here is the breakdown:
- post_content = fetches the full article content as found in your RSS feed's <content> node.
- cleanImages = this is a special Filter that adjusts the width and height properties on any incoming images so that they won't break your email's responsiveness.  
- stripTags = another filter that removes all but the most basic HTML. This reduces the chance that some HTML from your website breaks your email.
*/

Disclaimer

While we've assisted many customers without problems it is important to:

  • Combining non-email-tested HTML in HTML emails is risky.

  • Content from your RSS feed can affect email structure.

  • Do not skip testing.

  • Use FeedOtter's test feature to send email samples to Litmus or another testing tool for verification.