Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: f4a4040a6662a459d54e2028f3a2dfd88f421339 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                               


                                                                                
                                  












                                                                                                                                                                                                               
                                                    





                                                                          
                                              





                  
<!-- **************************************************************************
#
# Copyright  (c) 2004-2009 Oracle Corporation.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-v10.html
#
# Contributors: 
#
#    Kohsuke Kawaguchi, Peter Hayes
#        
#************************************************************************** --> 


<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson"><!-- No whitespace before xml header: -->&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  <st:contentType value="text/xml;charset=UTF-8" />
  <j:new var="h" className="hudson.Functions" /><!-- instead of JSP functions -->

  <!-- RSS 2.0 feed. See http://cyber.law.harvard.edu/rss/rss.html for the format -->  
  <rss version="2.0">
    <channel>
      <title>${title}</title>
      <link>${rootURL}${url}</link>
      <description>${title}</description>

      <j:forEach var="e" items="${entries}" >
        <item>
          <title>${adapter.getEntryTitle(e)}</title>
          <link>${rootURL}${h.encode(adapter.getEntryUrl(e))}</link>
          <guid isPermaLink="false">${adapter.getEntryID(e)}</guid>
          <pubDate>${h.rfc822Date(adapter.getEntryTimestamp(e))}</pubDate>
          <author><st:out value="${adapter.getEntryAuthor(e)}"/></author>
          <j:set var="desc" value="${adapter.getEntryDescription(e)}"/>
          <j:if test="${desc!=null}">
            <description>${desc}</description>
          </j:if>
        </item>
      </j:forEach>
    </channel>
  </rss>
</j:jelly>

Back to the top