【发布时间】:2016-05-04 14:55:47
【问题描述】:
在这个问题上真的很挣扎,而 ET 支持也帮不上什么忙。我正在尝试将来自以下站点的 RSS 提要构建到电子邮件中:
feeds.feedburner.com/en-kaplanblog
我按照 ET 中的指南构建了这段代码...
%%[Var @xml, @title,
Set @xml = ContentAreaByName("My Contents\zTesting and training\RSS")
/* This line specifies the content area from which the RSS content will
be pulled for the email message. */
Set @title = BuildRowsetFromXML(@xml,"//item/title",1) ]%%
<div style="border: 1px solid #444; background-color: #F7F7F7; margin:
0.76em 0; padding: 0.76em;">%%=v(@title)=%%</div>
...只是为了测试使用“标题”字段的功能。我测试时电子邮件发送正常,但@title 变量中没有任何内容。此变量的目标是否错误?有人有什么想法吗?
非常感谢大家!
最好的,
詹姆斯
【问题讨论】:
-
这个话题已经在salesforce.stackexchange.com 讨论过很多次了,特别是Marketing-Cloud 和AMPScript 标签。
标签: xml email rss exacttarget ampscript