added code to switch between communityrss includes and regular newswire includes
authormtopper <mtopper>
Wed, 8 Jun 2005 17:24:57 +0000 (17:24 +0000)
committermtopper <mtopper>
Wed, 8 Jun 2005 17:24:57 +0000 (17:24 +0000)
based off of query string

etc/producer/startpage.template

index d9309fe..4459220 100755 (executable)
@@ -321,11 +321,17 @@ ed. note: most discussed stories
             <td class="centerRightColumn"><!-- 
             begin center right column
             --><div class="centerRightColumn">
-               <a href="#"><img src="http://sarai.indymedia.org/~patrick/mir.nyc/img/penny_drive.jpg" width="200" height="300" class="headlineImage" alt="" border="0" /></a>
+               
+               <!--#include virtual="/fpincludes/762.inc" -->
+               
+<!--
+               <a href="#"><img src="BLAHhttp://sarai.indymedia.org/~patrick/mir.nyc/img/penny_drive.jpg" width="200" height="300" class="headlineImage" alt="" border="0" /></a>
                <p class="caption">
                   <small>This is a picture of a black child. However, as predominantly white activist-led 
                   organization, we will exercise caution to not appropriate people of color imagery.</small>
                </p>
+
+-->
                <list startspecial as ss>
                   <assign sorig=ss.to_original>
                      <if languagepreference>
@@ -505,26 +511,23 @@ How to <a href="#">Open Publish</a>
             </small>
          </div>
          <!-- <iframe name="shazbot" id="shazbot" src="/${language.code}/newswireinclude.shtml" frameborder="0" style="overflow: hidden;"></iframe> -->
-         <ul class="newswire">
-            <list newswire as nn>
-               <assign norig=nn.to_original>
-               <if languagepreference>
-                  <assign n=nn.to_translation(languagepreference)>
-               <else>
-                  <assign n=nn>
-               </if>
-               <if n.to_original.to_article_type==articletype.newswire>
-                  <li>
-                     <a href="${config["Producer.DocRoot"]}/${language.code}/${n.date.formatted.yyyy}/${n.date.formatted.MM}/${n.id}.shtml">${n.title}</a>
-                  </li>
-               <else>
-                  <li>
-                     <a href="${n.source}">${n.title}</a>
-                  </li>
-               </if>
-            </list>
-         </ul>
 
+
+               <!--#if expr="\"$QUERY_STRING\" = /category/" -->
+               <!--#include virtual="/${language.code}/rssnewswireinclude.shtml" -->
+               <!--#else -->
+               <b><!--#echo var="QUERY_STRING" --></b>
+               <!--#include virtual="/${language.code}/newswireinclude.shtml" -->              
+               <!--#endif -->
+
+
+               
+
+
+                
+
+                
+                
          <small class="publish" style="text-align: left; margin: 15px 0px 0px 0px;"><a href="#">publish news</a></small>
       </div><!-- 
       end right column