rss problem

Asked by robby

First of all, phpns is a fantastic script with loads op possibilities. Congratulations!

I seem to have a problem building an rss feed. I created a file with just this code
<?php
  $phpns['limit'] = '20';
  $phpns['category'] = '32,33,37,38,39,34,35,40,41,42,43,44,45,46,47,48,49,50,51';
  $phpns['mode'] = 'rss';
  include("shownews.php");
?>
But when calling the file there's something wrong: http://www.sintlutgardis.be/phpn/rss.php

Could you please help me out?

Question information

Language:
English Edit question
Status:
Solved
For:
phpns Edit question
Assignee:
No assignee Edit question
Solved by:
robby
Solved:
Last query:
Last reply:
Revision history for this message
robby (robbymorren) said :
#1

I know what my mistake was: there was 1 white line on top of my rss file, so I pasted the code starting from line 2.
Now it works perfectly!