Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rss-blocks [2015/07/16 10:21]
ian
rss-blocks [2015/07/16 10:40]
ian [Data Mergefields]
Line 26: Line 26:
 ===== Designing an RSS Block ===== ===== Designing an RSS Block =====
  
-Once you have enabled RSS on a block, you can get the text to add the mergefields for your content. ​+Once you have enabled RSS on a block, you can get the text to add the mergefields for your content. In the below example data mergefields are used to populate the block with dynamic content taken from your RSS feed. The "read more" link also contains a mergefield to the permalink of the item or post
  
 {{:​rss-block.png?​nolink|}} {{:​rss-block.png?​nolink|}}
 +
 +==== Data Mergefields ====
 +
 +RSS Blocks can be populated with Data Merge fields; these are used to merge in content such as the title, description,​ and link to items and blog posts. ​
 +
 +You can find the names for these mergefields in your website'​s feed; just copy the name of the field you wish to merge into a data mergefield. Field names are case-sensitive and you should always send yourself a test email to confirm the RSS Block is working as you intend.
 +
 +=== Example Data Mergefield ===
 +
 +If you have a field named "​price":​
 +
 +<​code>​
 +{{data:​price}}
 +</​code>​
 +
 +=== Wordpress Fields ===
 +
 +The table below offers some common fields from a Wordpress feed. Before you use these you should verify that they exist in your own feed.
 +
 +^ Field ^ Data Mergefield ^ Description ^ 
 +| title |%%{{data:​title}}%% | Title of the post. |
 +| link | %%{{data:​link}}%% | URL / permalink to the post; merge this into the hyperlink'​s URL field in Sentori. |
 +| comments | %%{{data:​comments}}%% | URL / permalink to the post's comments; merge this into the hyperlink'​s URL field in Sentori. |
 +| pubDate | %%{{data:​pubDate}}%% | Date the article was published. |
 +| description | %%{{data:​description}}%% | Short description of the post. |
 +| content | %%{{data:​content}}%% | Full content of the post. |
 +| creator | %%{{data:​creator}}%% | Name of the post's author. |
 +| category | %%{{data:​category}}%% | Categories the post was filed under. |
 +