8437585bc118555f88ec1b387495a273edf15aa4
[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>
43                      <span class="datestamp">${aorig.creationdate.formatted["MMM d, yyyy, h:mm'<span>'a'</span>'"]}</span>
44                      <span class="comments">${i.commentcount} Comments</span><br />
45                   </small>
46
47                   <div class="mediaThumbnail">
48                      <if aorig.to_media_audio >
49                         <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_audio[0]["big_icon"]}" />
50                      </if>
51                      <if aorig.to_media_video >
52                         <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_video[0]["big_icon"]}" />
53                      </if>
54                      <if aorig.to_media_other >
55                         <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_other[0]["big_icon"]}" />
56                      </if>
57                      <if aorig.to_media_images >
58                         <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"]}" />
59                      </if>
60                   </div>
61
62                   <small class="author">${aorig.creator}&#160;|</small>
63                   <span class="lead">${i.description_parsed}</span>
64                   <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="readMore">${lang("general.readmore")}</a>
65
66                </p>
67
68
69
70                <br clear="all" />
71             </list>
72          </div>
73          <!--- /articles --->
74
75 <!-- the rest -->
76                <!--- Page Navigation --->
77                <if batch.current.index!=batch.first.index>
78                   <a href="${docPrefix}${batch.previous.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.previous.index}</a>
79                </if>
80                <if batch.current.index!=batch.first.index && batch.current.index!=batch.last.index>
81                   |
82                </if>
83                <if batch.next>
84                   <a href="${docPrefix}${batch.next.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.next.index}</a>
85                </if>
86
87 <!--#include virtual="${docPrefix}nav${docSuffix}" -->
88
89 <!--#include virtual="/${language.code}/footer.html" -->
90
91