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