Velocity Format for Twitter Feed
#set ( $articles = $_XPathTool.selectNodes($contentRoot,"//item") )
#set($count = 0)
#foreach ( $article in $articles )
#set($count = $count + 1)
#if ($count == 3)
</p>
#else
#set ( $title = $_SerializerTool.serialize($article.getChild("title"),true) )
#set ( $url = $article.getChild("link").text )
<p>
<a href="${url}">${title}</a>
</p>
#end
#end
The error on display of the page is as follows:
The element type "system-xml" must be terminated by the matching end tag "".
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tim on Jun 04, 2010 @ 08:04 PM
Hi Jim,
Is this your entire Velocity Format or is there more to it? If this is all, I'm wondering if the error message you are seeing is due to the Format producing some content which is not well-formed.
For example:
I don't see the matching/opening tag for this paragraph. Are you outputting an opening tag for this paragraph somewhere above?
Tim closed this discussion on Jun 15, 2010 @ 05:09 PM.