*** backend.php	2004-12-22 12:46:48.000000000 -0500
--- ../news.saugus.net/backend.php	2005-08-09 09:53:26.000000000 -0400
***************
*** 11,28 ****
      * URL to your Website,
      * Description and
      * Language of your channel
!     */ ?>
! 
! <channel>
! <title>NewsPortal WebNewsReader</title>
! <link>http://florian-amrhein.de/newsportal</link>
! <description>News about NewsPortal</description>
! <language>de-DE</language>
  
- <?
  /* *** Some settings ****/
! // Newsgroup
! $group="darkzone.support.newsportal.announce";
  // Path to the spool-dir of your newsportal-installation
  $spooldir="spool/";
  // Where is your newsportal.php?
--- 11,20 ----
      * URL to your Website,
      * Description and
      * Language of your channel
!     */
  
  /* *** Some settings ****/
! $group=$_REQUEST["group"];
  // Path to the spool-dir of your newsportal-installation
  $spooldir="spool/";
  // Where is your newsportal.php?
***************
*** 30,39 ****
  // Link to your article.php
  $articlelink="http://myrsschannel.com/newsportal/article.php";
  
  
  include $newsportal;
  $compress_spoolfiles=false;
! $thread=array_reverse(loadThreadData("$group"));
  
  // print_r($thread);
  
--- 22,39 ----
  // Link to your article.php
  $articlelink="http://myrsschannel.com/newsportal/article.php";
  
+ ?>
  
+ <channel>
+ <title><?php echo $title; ?></title>
+ <link>http://news.saugus.net/Group/<?php echo $group; ?></link>
+ <description><?php echo $desc; ?></description>
+ <language>en-US</language>
+ 
+ <?
  include $newsportal;
  $compress_spoolfiles=false;
! $thread=array_reverse(thread_cache_load("$group"));
  
  // print_r($thread);
  
***************
*** 46,52 ****
    echo "<item>\n";
    echo '<title>'.htmlspecialchars($t->subject).' ('.
         htmlspecialchars($t->name).")</title>\n";
!   echo '<link>'.$articlelink.'?id='.$t->number."</link>\n";
    echo '<dc:contributor>'.htmlspecialchars($t->name).' ('.
         htmlspecialchars($t->from).')</dc:contributor>'."\n";
    echo "</item>\n";
--- 46,53 ----
    echo "<item>\n";
    echo '<title>'.htmlspecialchars($t->subject).' ('.
         htmlspecialchars($t->name).")</title>\n";
! //  echo '<link>'.$articlelink.'?id='.$t->number."</link>\n";
!   echo '<link>'.$articlelink.'?id='.$t->number."&amp;group=".$group."</link>\n";
    echo '<dc:contributor>'.htmlspecialchars($t->name).' ('.
         htmlspecialchars($t->from).')</dc:contributor>'."\n";
    echo "</item>\n";
