When I try to use the below code, I'm not able to see a preview email; it just says there's an error in the email.
%%[ Var @xml, @titles, @title, @links, @link, @descs, @desc, @dates, @date, @cnt Set @xml = ContentArea("3618") Set @titles = BuildRowsetFromXML(@xml,"//item/title",1) Set @links = BuildRowsetFromXML(@xml,"//item/link",1) Set @descs = BuildRowsetFromXML(@xml,"//item/description",1) Set @dates = BuildRowsetFromXML(@xml,"//item/pubDate",1) SET @rows = RowCount(@titles) Set @date = Field(Row(@dates,@cnt), "Value") IF @rows >= 1 THEN for @cnt = 1 to @rows do IF DateDiff(NOW(),@date, "D") <= 14 THEN for @cnt = 1 to @rows do Set @title = Field(Row(@titles,@cnt), "Value") Set @link = Field(Row(@links,@cnt), "Value") Set @desc = Field(Row(@descs,@cnt), "Value") ]%% <h1><a title="%%=v(@title)=%%" alias="%%=v(@title)=%%" href="%%=v(@link)=%%">%%=v(@title)=%%</a></h1> <p>%%=v(@desc)=%% <br />%%=v(@date)=%%</p> </div> %%[ ENDIF NEXT @cnt ENDIF ]%%
Content Area 3618 is where I'm pulling in my RSS:
%%httpget; 0 "RSS FEED I'm USING"%%
@xml
variable?