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