FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 php error View next topic
View previous topic
Post new topicReply to topic
Author Message
jtjohnston



Joined: 27 Aug 2006
Posts: 18

PostPosted: Mon Sep 04, 2006 11:40 am Reply with quoteBack to top

The script should always begin with <?php not just <?. See www.php.net. This was a PHP3 thing. <? No longer works on many servers, including mine.

Also I suggest adding this line:
#$cfg["rss_feed"]='http://www.example.ca/sample.rss';

It is not clear whether a URL or a server path is required. You need to indicate that it is a full URL and not a partial or relative URL. This will not work:
$cfg["rss_feed"]='/sample.rss';


Here is your code as I have modified it:

<?php
//
// future-rss.php Delayed RSS Item Publisher
// Version 1.0.1
//
// Copyright 2005,2006 NotePage, Inc. all rights reserved
// http://www.feedforall.com
// NotePage, Inc. grants registerd users of our FeedForAll and/or
// FeedForAll Mac product(s) the right to install and use the
// future-rss.php script free of charge. Please refer to the EULA
// included in the download for full license terms and conditions.
//
#-------------------------------------------
# Script setup area
#-------------------------------------------
#$cfg["rss_feed"]='http://www.example.ca/sample.rss';
$cfg["rss_feed"]='http://www.cegepsherbrooke.qc.ca/~languesmodernes/604-102-Friday.rss';
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2783

PostPosted: Mon Sep 04, 2006 4:17 pm Reply with quoteBack to top

Thanks for the helpful feedback. We have made the changes you have suggested.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme