Ignore:
Timestamp:
Dec 6, 2005, 6:25:03 PM (15 years ago)
Author:
mww
Message:

correct rss-url, fix some other urls, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/includes/functions.inc

    r8672 r15333  
    11<?php
    22
    3 # $Id: functions.inc,v 1.4 2004/10/10 17:04:08 wbb4 Exp $
     3# $Id: functions.inc,v 1.5 2005/12/06 18:25:03 mww Exp $
    44# Copyright (c) 2003, OpenDarwin
    55
     
    3838  $rss .= "  <channel>\n";
    3939  $rss .= "    <title>DarwinPorts Project News</title>\n";
    40   $rss .= "    <link>http://darwinports.opendarwin.org/</link>\n";
     40  $rss .= "    <link>http://www.darwinports.org/</link>\n";
    4141  $rss .= "    <description>DarwinPorts Project News</description>\n";
    4242  $rss .= "    <dc:language>en-us</dc:language>\n";
     
    5050      $rss .= "    <item>\n";
    5151      $rss .= "      <title>$row->title</title>\n";
    52       $rss .= "      <link>http://darwinports.opendarwin.org/archives.php?id=$row->id</link>\n";
     52      $rss .= "      <link>http://www.darwinports.org/archives.php?id=$row->id</link>\n";
    5353
    5454      $desc_query = "SELECT SUBSTRING_INDEX(news, ' ', 26) FROM headlines WHERE id=$row->id";
     
    5959
    6060      $rss .= "      <description><![CDATA[$description...</p>]]></description>\n";
    61       $rss .= "      <guid isPermaLink=\"true\">http://darwinports.opendarwin.org/archives.php?id=$row->id</guid>\n";
     61      $rss .= "      <guid isPermaLink=\"true\">http://www.darwinports.org/archives.php?id=$row->id</guid>\n";
    6262      $rss .= "      <content:encoded><![CDATA[$row->news]]></content:encoded>\n";
    6363      $rss .= "    </item>\n";
Note: See TracChangeset for help on using the changeset viewer.