Hallo!

Maybe someone can help me:

I wrote a user-defined directive in java, called "readFeed".

In the template I write the following:

<@readFeed name="feed" source="http://www.spiegel.de/einestages/index.rss"; />

My whish is to use the word "feed" as a normal variable (Type:SyndFeed) and I 
want to be able to write something like this:

<#list entry as feed.entries>
  .........
</#list> 

The question:
How can I call the "assign" directive within my java code of my "ReadFeed" 
directive to create a freemarker variable of name "feed"?

Thank you very much
Ingo



 

Reply via email to