Templates

Introduction

Feed Informer lets you specify a format / template that your digest will use to adjust its appearance. Templates use standard HTML, along with “tags” to insert things like feed item titles, descriptions, URLs, and so on. This page explains the format used so you can make and customize your own templates.

Types of Template

Header Template (optional) – The header template is a once-off template which is placed at the top of your digest. This will usually be a combination of HTML and plain text (e.g.: “<p><b>My Digest</b></p>”)

Footer Template (optional) – The footer template is a once-off template which is placed at the end of your digest. This will usually be a combination of HTML and plain text (e.g.: “<p>Courtesy of FeedDigest.com.</p>”)

Item Template – The “item template” is used for each and every item in your digest. It is the most important template, and the one which will have the biggest effect over how your digest looks and feels. This the type of template the rest of the page will cover and explain.

Example Item Template

1. Link and description only.

<a href="%URL%"target="_blank">%TITLE%</a><br />%DESCRIPTIONPLAIN%<br /><br />

This template would make a list of items which have a link to the item and the full description/summary of the item on the next line. Each item has two blank lines between it and the next one (courtesy of the <br /> tags).

2. Numeric date and link only.

%MONTH2%/%DAY2% - <a href="%URL%"target="_blank">%TITLE%</a><br />

This template makes a list of items, one to a line, which each have a date in MM/DD format, followed by a link to the item using the item’s title.

keep adding more…

  • TemplateTags – learn which tags you can use in your templates

10 Comments

  1. akiko
    Posted April 26, 2007 at 6:26 pm | Permalink

    target=”_blank” doesn’t seem to work. Links always opens in the same window even when I specify target=”_blank” in HTML. Are there any known issues? Or, just me?

  2. Posted April 26, 2007 at 11:43 pm | Permalink

    Nope, a lot of users use that sort of construction. Perhaps you could open a forum post and paste your code in (it doesn’t work properly here on the blog) or use the “Contact Us” and show us what you’re doing. It’s probably a minor error.

  3. Posted April 27, 2007 at 2:31 pm | Permalink

    Hi, I get a lot of junk like [target = " _ blank "] in the output but its nothing i have put in my template, why do i get it? Is this some sort of future or a job for the bug-people?

  4. Posted April 28, 2007 at 7:33 pm | Permalink

    Can you tell me why I onlu see one item in this feed I use this service?

    http://feeds.feedburner.com/TonightOnFx

  5. Posted April 28, 2007 at 7:38 pm | Permalink

    Can you tell me why I only see one item in this feed I use this service? I know there are more in the feed. Every other feed reader I use displays the full list.

  6. Posted April 28, 2007 at 8:41 pm | Permalink

    The problem is that every item in that feed is listed as having the same “globally unique identifier”. When these are present we use them to denote individuals items from one another.. so if multiple items have the SAME identifier, big problems occur.

    This is an extremely rare problem, luckily, although perhaps it’s time for us to hack in a workaround for it..

    Could you tell me what the ORIGINAL source feed behind this FeedBurner feed is? Then we can have a play.

  7. Posted May 16, 2007 at 4:14 pm | Permalink

    RE:
    target=”_blank” doesn’t seem to work. Links always opens in the same window even when I specify target=”_blank” in HTML. Are there any known issues? Or, just me?

    Try target=”other” works great on my site. The target=”_blank” did not work for me either.

  8. Posted May 16, 2007 at 4:26 pm | Permalink

    It depends on your expectations. target=”_blank” should open in a new window OR tab.. in some situations it will open in a new tab, which is often preferred, but might not be what was expected. target=”_new” should, in theory, always open a new window.

    Behavior for these things isn’t particularly consistent amongst browsers, sadly.

  9. Posted December 7, 2007 at 9:19 pm | Permalink

    Wouldn’t it help everyone if you made up a set of examples?

    cheers
    –bentrem

  10. Posted August 28, 2009 at 4:28 pm | Permalink

    Interesting, I didnĀ“t know this: %MONTH2%/%DAY2% – %TITLE% before.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*