<?xml version="1.0"?>

<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">

<channel>
<title><% $RT::rtname %> - <% $Function %></title>
<link><% $RT::WebBaseURL %></link>
<description><% $RT::Organization %></description>
</channel>
% while (my $Item = $Items->Next) {
<item>
<title><% $Item->FunctionQueueObj->Name %> - <% $Item->Subject %></title>
<link><% $RT::WebBaseURL %>/Foundry/Project/Item.html?Function=<% $Function %>;Queue=<%$Item->__Value('IssueStatement')|n%>;id=<%$Item->Id|n%></link>
</item>
% }
</rdf:RDF>
% $m->abort;
<%INIT>
$r->content_type('text/xml');

my $QueueObj = RT::Queue->new($RT::SystemUser);
$QueueObj->Load($Queue) if $Queue;
my $Items = $QueueObj->FunctionItems($Function);
$Items->RowsPerPage($Limit);
</%INIT>
<%ARGS>
$Queue => undef
$Limit => 5
$Function
</%ARGS>
<%FLAGS>
inherit => undef
</%FLAGS>
