Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"  ?>
2

    
3
<%@ taglib prefix="s" uri="/struts-tags" %>
4
<%@ page contentType="application/rss+xml; charset=UTF-8" %>
5
<rss version="2.0" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
6
	<channel>
7
		<title>Driver search results</title>
8
		<link>http://search.driver.research-infrastructures.eu</link>
9
		<description>Results for query: <s:property value="#request[@gr.uoa.di.driver.web.interceptors.XmlResultsInterceptor@RESULT_QUERY]" /></description>
10
		<language>en-us</language>
11
		<pubDate><s:date format="EEE, d MMM yy HH:mm:ss z" name="#request['currentDate']" /></pubDate>
12
		<lastBuildDate><s:date format="EEE, d MMM yy HH:mm:ss z" name="#request['currentDate']" /></lastBuildDate>
13
		<generator>DRIVER RSS Generator</generator>
14
		
15
		<opensearch:totalResults><s:property value="#request['webDocumentPage'].numberOfDocuments" /></opensearch:totalResults>
16
 		<opensearch:startIndex><s:text name="rss.number"><s:param name="value" value="%{ #parameters['size'][0] * (#parameters['page'][0] - 1) + 1 }" /></s:text></opensearch:startIndex>
17
 		<opensearch:itemsPerPage><s:property value="#request[@gr.uoa.di.driver.web.interceptors.XmlResultsInterceptor@DOCUMENT_PAGE].documents.size" /></opensearch:itemsPerPage>
18

    
19
		<s:iterator value="#request[@gr.uoa.di.driver.web.interceptors.XmlResultsInterceptor@DOCUMENT_PAGE].documents" id="document">
20
			<item>
21
				<title><s:property value="#document.title" /></title>
22
				<link><s:property value="#document.map['identifier'][0].value" /></link>
23
				<description><s:property value="#document.map['description'][0].value" /></description>
24
			<s:iterator value="#document.map['creator']" id="author">
25
				<author><s:property value="#author.value"/></author>
26
			</s:iterator>
27
				<pubDate><s:property value="#document.map['dateAccepted'][0].value" /></pubDate>
28
				<guid isPermaLink="false"><s:property value="#document.id" /> </guid>
29
				<enclosure url="<s:property value="#document.map['identifier'][0].value" />" />
30
			</item>
31
		</s:iterator>
32
   </channel>
33
</rss>
(17-17/27)