Mailchimp RSS广告系列仅包含1个帖子

时间:2018-06-03 20:20:38

标签: wordpress rss mailchimp

使用Mailchimp设置RSS广告系列,然后点击路障。导入似乎有效,设计看起来很棒,但我们只能将一个帖子 - 最新的一个 - 发送到电子邮件中。

RSS Feed是:https://our.news/feed/trending

我们已经确认pubDate已包含在所有项目中并且格式正确,即:

<item>
    <title>The FBI is warning you to reboot your router to prevent a new attack here&#8217;s everything you need to do</title>
    <link>https://our.news/2018/05/30/the-fbi-is-warning-you-to-reboot-your-router-to-prevent-a-new-attack-heres-everything-you-need-to-d/</link>
    <comments>https://our.news/2018/05/30/the-fbi-is-warning-you-to-reboot-your-router-to-prevent-a-new-attack-heres-everything-you-need-to-d/#comments</comments>
    <pubDate>Wed, 30 May 2018 07:33:04 +0000</pubDate>
    <dc:creator><![CDATA[OurBot]]></dc:creator>
            <category><![CDATA[Headlines]]></category>
    <guid isPermaLink="false">https://our.news/?p=103857</guid>
    <description><![CDATA[BUSINESSINSIDER.COM &#8211; On Friday, the FBI said anyone who uses a router to connect to the internet should reboot their routers. That will &#8220;temporarily disrupt...]]></description>
    <wfw:commentRss>https://our.news/2018/05/30/the-fbi-is-warning-you-to-reboot-your-router-to-prevent-a-new-attack-heres-everything-you-need-to-d/feed/</wfw:commentRss>
    <slash:comments>1</slash:comments>
    <media:content xmlns:media="http://search.yahoo.com/mrss/" medium="image" type="image/jpeg" url="https://dsezcyjr16rlz.cloudfront.net/wp-content/uploads/2018/05/30023303/httpsamp.businessinsider.comimages5b0d64001ae66220008b47d5640320.1.jpg.jpg" width="150" height="75" />    
</item>

我们使用的具体电子邮件设计模板很简单,相关部分是:

*|RSSITEMS:[$count=5]|* 
<span style="float:left">*|RSSITEM:IMAGE|* </span> 
<a href="*|RSSITEM:URL|*" target="_blank">*|RSSITEM:TITLE|*</a>
*|END:RSSITEMS|*

这种情况发生在预览模式,测试电子邮件和实际的每周广告系列发送中。广告系列设置为每周发送一次,当它发生时,它只包含列表中的第一个项目。理想情况下,我们希望始终只包括最近的5个项目。有人有什么想法吗?

1 个答案:

答案 0 :(得分:0)

尝试使用FeedBlock

*|FEEDBLOCK:https://www.url.com/test.xml|*

*|FEEDITEMS:[$count=5]|* 
<span style="float:left">*|FEEDITEM:IMAGE|* </span> 
<a href="*|FEEDITEM:URL|*" target="_blank">*|FEEDITEM:TITLE|*</a>

*|END:FEEDITEMS|*