[28382] trunk/www/includes

source_changes at macosforge.org source_changes at macosforge.org
Wed Aug 29 18:51:29 PDT 2007


Revision: 28382
          http://trac.macosforge.org/projects/macports/changeset/28382
Author:   jmpp at macports.org
Date:     2007-08-29 18:51:29 -0700 (Wed, 29 Aug 2007)

Log Message:
-----------
Correct location of the rss feed.

Modified Paths:
--------------
    trunk/www/includes/common.inc
    trunk/www/includes/footer.inc
    trunk/www/includes/news.inc

Modified: trunk/www/includes/common.inc
===================================================================
--- trunk/www/includes/common.inc	2007-08-30 01:44:29 UTC (rev 28381)
+++ trunk/www/includes/common.inc	2007-08-30 01:51:29 UTC (rev 28382)
@@ -38,7 +38,7 @@
     <meta name="copyright" content="2007, MacPorts Team" />
     <meta name="robots" content="all" />
     <link rel="stylesheet" type="text/css" href="/macports/mp.css" />
-    <link rel="alternate" type="application/rss+xml" href="/macports/mp_news.xml" />
+    <link rel="alternate" type="application/rss+xml" href="/macports/macports_news.xml" />
   </head>
 
   <body>

Modified: trunk/www/includes/footer.inc
===================================================================
--- trunk/www/includes/footer.inc	2007-08-30 01:44:29 UTC (rev 28381)
+++ trunk/www/includes/footer.inc	2007-08-30 01:51:29 UTC (rev 28382)
@@ -3,5 +3,5 @@
         <span class="languages">English, <a href="/macports/fr/">Fran&ccedil;ais</a>, <a href="/macports/es/">Espa&ntilde;ol</a>,
             <a href="/macports/ru/">Russian</a>, <a href="/macports/it/">Italiano</a></span>
         Copyright &copy; 2002-<? print date("Y"); ?>, <a href="http://www.macports.org/">MacPorts</a>. All rights reserved. | 
-            <a href="/macports/mp_news.xml">RSS feed</a>
+            <a href="/macports/macports_news.xml">RSS feed</a>
     </div>

Modified: trunk/www/includes/news.inc
===================================================================
--- trunk/www/includes/news.inc	2007-08-30 01:44:29 UTC (rev 28381)
+++ trunk/www/includes/news.inc	2007-08-30 01:51:29 UTC (rev 28382)
@@ -28,7 +28,7 @@
     die("Error: $result.");
   }
 
-  $open = fopen("$DOCUMENT_ROOT/mp_news.xml", "w+");
+  $open = fopen("$DOCUMENT_ROOT/macports/macports_news.xml", "w+");
   $rssdate = substr_replace(date("Y-m-d\TH:i:sO", time()),':', -2, 0);
 
   $rss = "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070829/4a291e34/attachment.html


More information about the macports-changes mailing list