java/nekurak.net-web/web/WEB-INF/atom/atom.jsp
author František Kučera <franta-hg@frantovo.cz>
Tue Apr 23 21:43:37 2013 +0200 (2013-04-23)
changeset 204 bebec432330a
parent 145 0efefbf5f8b6
permissions -rw-r--r--
oprava chatu, tabulátory
franta-hg@49
     1
<?xml version="1.0" encoding="UTF-8"?>
franta-hg@49
     2
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
franta-hg@145
     3
		  xmlns:c="http://java.sun.com/jsp/jstl/core"
franta-hg@145
     4
		  xmlns:fmt="http://java.sun.com/jsp/jstl/fmt"
franta-hg@145
     5
		  version="2.0">
franta-hg@145
     6
	<jsp:directive.page contentType="application/atom+xml"/>
franta-hg@49
     7
franta-hg@145
     8
	<!-- <lokalizace> -->
franta-hg@145
     9
	<c:if test="${param.jazyk != null}">
franta-hg@145
    10
		<fmt:setLocale value="${param.jazyk}" scope="session"/>
franta-hg@145
    11
	</c:if>
franta-hg@145
    12
	<fmt:setBundle basename="cz.frantovo.nekurak.preklady" scope="application"/>
franta-hg@145
    13
	<!-- </lokalizace> -->
franta-hg@49
    14
franta-hg@145
    15
	<jsp:useBean id="atom" class="cz.frantovo.nekurak.web.Atom" scope="request"/>
franta-hg@49
    16
franta-hg@145
    17
	<feed xmlns="http://www.w3.org/2005/Atom">
franta-hg@145
    18
		<title><fmt:message key="nazev"/></title>
franta-hg@145
    19
		<subtitle><fmt:message key="popis"/></subtitle>
franta-hg@145
    20
		<link href="http://nekurak.net/atom/" rel="self"/>
franta-hg@145
    21
		<link href="http://nekurak.net/"/>
franta-hg@145
    22
		<updated>
franta-hg@145
    23
			<fmt:formatDate value="${atom.datumAktualizace}" pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
franta-hg@145
    24
		</updated>
franta-hg@145
    25
		<author>
franta-hg@145
    26
			<name>František Kučera</name>
franta-hg@145
    27
			<email>franta_nechci_spam@frantovo.cz</email>
franta-hg@145
    28
		</author>
franta-hg@145
    29
		<id>urn:uuid:0663f9ab-e289-47b3-893f-5bafcf8dc110</id>
franta-hg@49
    30
franta-hg@49
    31
franta-hg@145
    32
		<c:forEach var="podnik" items="${atom.podniky}">
franta-hg@145
    33
			<entry>
franta-hg@145
    34
				<title><c:out value="${podnik.nazev}"/></title>
franta-hg@179
    35
				<link href="http://nekurak.net/podnik/${podnik.id}"/>
franta-hg@145
    36
				<id>urn:NekurakNET:podnik:${podnik.id}</id>
franta-hg@145
    37
				<updated>
franta-hg@145
    38
					<fmt:formatDate value="${podnik.datum}" pattern="yyyy-MM-dd'T'HH:mm:ss'Z'"/>
franta-hg@145
    39
				</updated>
franta-hg@145
    40
				<summary><c:out value="${podnik.popis}"/></summary>
franta-hg@145
    41
			</entry>
franta-hg@145
    42
		</c:forEach>
franta-hg@49
    43
franta-hg@49
    44
franta-hg@145
    45
	</feed>
franta-hg@49
    46
franta-hg@49
    47
</jsp:root>