0dbd7ab569399be4853292042f6e944962e8aa11
[nyc.indymedia.org.git] / etc / producer / newswirearchive.template
1 <!DOCTYPE HTML PUBLIC 
2    "-//W3C//DTD HTML 4.01 Transitional//EN" 
3    "http://www.w3.org/TR/html4/loose.dtd">
4 <html>
5 <head>
6    <meta http-equiv="Content-Type" content="text/html; charset=${config["Mir.DefaultHTMLCharset"]}">
7    <title>${config["Mir.Name"]} | ${lang("newswirearchive.title")}</title>
8    <meta name="keywords" content="${lang("general.keywords")}">
9    <meta name="description" content="${lang("newswirearchive.title")}">
10    <meta name="dc:title" content="${lang("newswirearchive.title")}">
11    <meta name="dc:creator" content="">
12    <meta name="dc:subject" content="${lang("newswirearchive.title")}">
13    <meta name="dc:description" content="${lang("newswirearchive.title")}">
14    <meta name="dc:publisher" content="">
15    <meta name="dc:date" content="${config.now.formatted.dc}">
16    <meta name="dc:language" content="${language.code}">
17    <meta name="dc:coverage" content="">
18    <meta name="dc:rights" content="">
19    <meta http-equiv="expires" content="599">
20    <meta http-equiv="pragma" content="no-cache">
21    <link rel="stylesheet" type="text/css" href="/css/main.css" />
22
23 </head>
24    
25 <body class="interior">
26
27 <!--#include virtual="/${language.code}/navigation.html" -->
28
29          <!--- articles --->
30          <div class="newswireArchive">
31             <list articles as a>
32                <assign aorig=a.to_original>
33                <if languagepreference>
34                   <assign i=a.to_translation(languagepreference)>
35                <else>
36                   <assign i=a>
37                </if>
38                <p class="headline">
39                   <b><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml">${i.title}</a></b>
40                </p>
41                <p class="summary">
42                   <small class="author">${aorig.creator} <if aorig.id!=i.id>(${lang("general.translatedby", i.creator)})</if><if i.creator || aorig.creator>, </if>&#160;|</small>
43                   <span class="lead">${i.subtitle}</span>
44                   <small><span class="datestamp">${aorig.creationdate.formatted["dd-MM-yyyy - HH:mm"]}</span>
45                   <span class="comments">${i.commentcount} Comments</span>
46                   <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.h
47                </p>
48
49                <if aorig.to_media_audio >
50                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_audio[0]["big_icon"]}" align="left" />
51                </if>
52                <if aorig.to_media_video >
53                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_video[0]["big_icon"]}" align="left" />
54                </if>
55                <if aorig.to_media_other >
56                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_other[0]["big_icon"]}" align="left" />
57                </if>
58                <if aorig.to_media_images >
59                   <img src="${aorig.to_media_images[0]["icon_path"]}" width="${aorig.to_media_images[0]["icon_width"]}" height="${aorig.to_media_images[0]["icon_height"]}" alt="${aorig.to_media_images[0]["title"]}" align="left" />
60                </if>
61
62                ${i.description_parsed}
63                <a href="${config["Producer.DocRoot"]}/${language.code}${i.publish_path}${i.id}.shtml">${lang("general.readmore")}</a>
64                <br clear="all" />
65             </list>
66          </div>
67          <!--- /articles --->
68
69 <!-- the rest -->
70                <!--- Page Navigation --->
71                <if batch.current.index!=batch.first.index>
72                   <a href="${docPrefix}${batch.previous.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.previous.index}</a>
73                </if>
74                <if batch.current.index!=batch.first.index && batch.current.index!=batch.last.index>
75                   |
76                </if>
77                <if batch.next>
78                   <a href="${docPrefix}${batch.next.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.next.index}</a>
79                </if>
80
81 <!--#include virtual="${docPrefix}nav${docSuffix}" -->
82
83 <!--#include virtual="/${language.code}/footer.html" -->
84
85