small fix for searching by media type. added MediaType.getvalue(classname) to the...
authorjohn <john>
Sat, 13 Oct 2001 10:56:39 +0000 (10:56 +0000)
committerjohn <john>
Sat, 13 Oct 2001 10:56:39 +0000 (10:56 +0000)
source/mircoders/producer/ProducerContent.java
templates-dist/producer/content.template

index abfd911..ae7b36a 100755 (executable)
@@ -171,6 +171,7 @@ public class ProducerContent extends Producer {
                 theLog.printError("ProducerStartpage:problem in reflection: "+mediaHandlerName);
               } //end catch
               upMediaSimpleHash.put("url", mediaHandler.getURL(upMedia, mediaType));
+             upMediaSimpleHash.put("type",mediaType.getValue("classname"));
               mediaList.add(upMediaSimpleHash);
             } //end if media_type != null
           } //end for
index c01372b..d18c8ff 100755 (executable)
@@ -3,6 +3,9 @@
 <title>mir.indymedia.de: ${title}</title>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <link rel="stylesheet" href="/style/mir.css" type="text/css">
+                       <list to_media as media>
+<meta name="keywords" content="${media["type"]}"></meta>
+                       </list>
 </head>
 
 <body bgcolor="#CCCCCC">