RSS integration

RSS integration

Template-based email mailings and landing pages can be populated from RSS feeds.

Usage

Email templates, landing page templates

How it works in the editor

The RSS icon appears on templates with RSS implementation:
RSS icon on container

Clicking on it opens the "Read RSS" dialog. Here you can filter by categories or search:
RSS icon on container

Select which content should be added using the checkbox. You select the target element in the dropdown menu on the right side.
RSS icon on container

Feed requirements

  1. RSS versions: 0.91, 0.92, and 2.0
  2. The feed must contain <rss>, <channel>, and <item>.
  3. Values must be transmitted in individual tags (for example, image URL, description, price, ...).
  4. CDATA sections, for example <description><![CDATA[Lorem Ipsum]]><description> are supported.
  5. Custom data/tags may be used. In this case, you should define the corresponding namespace.

Example

Example RSS Feed
Template Source Code
Editor View
Example RSS Feed
  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2.   xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3.   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4.   xmlns:dc="http://purl.org/dc/elements/1.1/"
  5.   xmlns:atom="http://www.w3.org/2005/Atom"
  6.   xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7.   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8.   >
  9.     <channel>
  10.         <title>Urlaub in Dänemark</title>
  11.         <atom:link href="http://www.urlaub-daenemark.eu/feed/" rel="self" type="application/rss+xml" />
  12.         <link>https://www.urlaub-daenemark.eu</link>
  13.         <description>Reiseführer für Urlaub in Dänemark</description>
  14.         <lastBuildDate>Tue, 05 Oct 2021 14:28:42 +0000</lastBuildDate>
  15.         <language>de-DE</language>
  16.         <sy:updatePeriod>
  17.         hourly  </sy:updatePeriod>
  18.         <sy:updateFrequency>
  19.         1   </sy:updateFrequency>
  20.         <image>
  21.             <url>https://www.urlaub-daenemark.eu/wp-content/uploads/2021/09/daenemark-boot-pix-145419_640.png</url>
  22.             <title>Urlaub in Dänemark</title>
  23.             <link>https://www.urlaub-daenemark.eu</link>
  24.             <width>32</width>
  25.             <height>32</height>
  26.         </image> 
  27.         <item>
  28.             <title>Römö</title>
  29.             <link>https://www.urlaub-daenemark.eu/ferienhaus-roemoe/</link>
  30.             <dc:creator><![CDATA[Daenemark-Fan]]></dc:creator>
  31.             <pubDate>Sat, 06 Nov 2010 00:13:20 +0000</pubDate>
  32.             <category><![CDATA[Dänische Inseln]]></category>
  33.             <category><![CDATA[rechts neben Slider]]></category>
  34.             <category><![CDATA[Ferienhaus Römö]]></category>
  35.             <category><![CDATA[Ferienhäuser Römö]]></category>
  36.             <category><![CDATA[Ferienwohnungen Römö]]></category>
  37.             <category><![CDATA[Urlaub Römö]]></category>
  38.             <guid isPermaLink="false">http://www.urlaub-daenemark.eu/?p=366</guid>
  39.             <description><![CDATA[Römö: Inselperle an der dänischen Westküste Die dänische Wattenmeerinsel Römö, dänisch: Rømø, gehört zu den beliebtesten Ferienzielen an der Nordseeküste.]]></description>
  40.         </item>
  41.     <item>
  42.             <title>Ostjütland</title>
  43.             <link>https://www.urlaub-daenemark.eu/ferienhaus-ostjuetland/</link>
  44.             <dc:creator><![CDATA[Daenemark-Fan]]></dc:creator>
  45.             <pubDate>Sun, 24 Oct 2010 22:00:00 +0000</pubDate>
  46.             <category><![CDATA[Dänisches Festland]]></category>
  47.             <category><![CDATA[Ferienhaus Ostjütland]]></category>
  48.             <category><![CDATA[Ferienhäuser Ostjütland]]></category>
  49.             <category><![CDATA[Ferienwohnungen Ostjütland]]></category>
  50.             <category><![CDATA[Ostjütland]]></category>
  51.             <guid isPermaLink="false">http://377550</guid>
  52.             <description><![CDATA[Urlaub in Mini-Dänemark Wer einmal einen herrlichen Natururlaub mit einem Hauch Abenteuercharakter erleben möchte, sollte nach Ostjütland, gelegen an der]]></description>
  53.         </item>
  54.   </channel>
  55. </rss>
Template Source Code
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <title>Template mit RSS</title>
  5.     <meta charset="UTF-8">
  6. </head>
  7. <body>
  8. [CONTAINER name='contents' label='Inhalte' feed-url='http://www.urlaub-daenemark.eu/feed/']

  9. [ELEMENT name='rss-article' label='RSS-Artikel' feedable='true' feed-category='Ferienhaus Ärö']
  10.   [INPUT name='headline' type='h1' feed-path='title' /]
  11.   [INPUT name='text' type='p' feed-path='description' /]
  12.   [INPUT name='link' type='a' default_text='Weiterlesen' feed-path_href='guid' /]
  13. [/ELEMENT]

  14. [/CONTAINER]
  15. </body>
  16. </html>
Editor View
The RSS articles are read via the RSS icon on the left of the structure.

Editor-Ansicht des RSS-Templates

Idea
Using the operator :: you can access the value of an attribute within a node:
RSS feed: <enclosure url="..." />
Template source code: [INPUT ... feed-path='enclosure::url' /]

All attributes for RSS integration can be found in the MWML reference:
  1. CONTAINER attributes for RSS integration
  2. ELEMENT attributes for RSS integration
Learn in the next step how to import products from your online shop:
  1. Microdata integration