[Zope] Re: RSS creation using Page Templates - can't use link?
Michael Haubenwallner
michael@d2m.at
Sat, 19 Jul 2003 06:23:43 +0200
Satheesh Babu wrote:
> I'm trying to make a simple RSS feed using Page Templates.
> <div tal:omit-tag="" tal:repeat="rec python:here.objectValues(['Folder'])">
> <item tal:condition="exists:rec/this_is_news">
> <guid isPermaLink="false" tal:content="rec/getId">423455</guid>
> <link tal:content="rec/absolute_url"></link>
> </item>
> </div>
>
> The moment I add in the link tag above, it gives an error:
> Compilation failed
> TAL.HTMLTALParser.EmptyTagError: Close tag </link> should be removed, at
> line 12, column 42
link is a valid (empty) html-element. you may use
<link tal:content="rec/absolute_url" />
or change your content/type to text/xml
--
michael