*** empty log message ***
[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
32             <p class="pageTitle">
33                ${lang("newswirearchive.title")}
34             </p>
35             <list articles as a>
36                <assign aorig=a.to_original>
37                <if languagepreference>
38                   <assign i=a.to_translation(languagepreference)>
39                <else>
40                   <assign i=a>
41                </if>
42                <if aorig.to_media_audio >
43                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_audio[0]["big_icon"]}" class="thumbnail" />
44                </if>
45                <if aorig.to_media_video >
46                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_video[0]["big_icon"]}" class="thumbnail" />
47                </if>
48                <if aorig.to_media_other >
49                   <img src="${config["Producer.DocRoot"]}/img/${aorig.to_media_other[0]["big_icon"]}" class="thumbnail" />
50                </if>
51                <if aorig.to_media_images >
52                   <a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml"><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"]}" class="thumbnail" alt="${aorig.to_media_images[0]["title"]}" /></a>
53                </if>
54
55                <p class="headline">
56                   <b><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml">${i.title}</a></b>
57                </p>
58                <p class="summary">
59                   <small class="author">${aorig.creator}&#160;|</small>
60                   <span class="lead">${i.description_parsed}</span>
61                   <small><a href="${config["Producer.DocRoot"]}/${language.code}/${i.date.formatted["yyyy'/'MM"]}/${i.id}.shtml" class="readMore">${lang("general.readmore")}</a></small><br />
62                   <small class="datestamp">${aorig.creationdate.formatted["MMM d, yyyy, h:mm'<span>'a'</span>'"]}&#160;|</small>
63                   <small class="comments">${i.commentcount} Comments</small>
64                </p>
65                <div class="spacer"><!-- --></div>
66
67             </list>
68          </div>
69          <!--- /articles --->
70
71 <!-- the rest -->
72                <!--- Page Navigation --->
73                <if batch.current.index!=batch.first.index>
74                   <a href="${docPrefix}${batch.previous.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.previous.index}</a>
75                </if>
76                <if batch.current.index!=batch.first.index && batch.current.index!=batch.last.index>
77                   |
78                </if>
79                <if batch.next>
80                   <a href="${docPrefix}${batch.next.identifier}${docSuffix}">${lang("general.page.prefix")} ${batch.next.index}</a>
81                </if>
82
83 <!--#include virtual="${docPrefix}nav${docSuffix}" -->
84
85 <!--#include virtual="/${language.code}/footer.html" -->
86
87