FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Future RSS Documentation View next topic
View previous topic
Post new topicReply to topic
Author Message
Tech Support



Joined: 27 Aug 2004
Posts: 2783

PostPosted: Tue Jan 10, 2006 4:25 pm Reply with quoteBack to top

Future RSS PHP Script Documentation

Version 1.0

Description:
The future-rss.php script is used to automatically delay the publication of Items in an RSS feed. This allows Items in a RSS feed to be created ahead of time, and then slowly released over a period of time. Many people have tried to set the PubDate field on their RSS feed Items to a future date and time, in an attempt to have that particular item become 'visible' to their feed's subscribers on that particular date and time. Unfortunately, they will soon find out that many RSS readers and aggregators don't honor future PubDates, and immediately show all their feed's items. The future-rss.php script 'hides' the future items from RSS feed readers and aggregators, until their PubDate becomes current.


How it Works:
Point the future-rss.php script to your RSS feed's location (either using a local path, or an URL), and then use the URL of the future-rss.php script as your feed's address (the link you make available to your users).


Example Usage:
Let's say you have an existing RSS feed at http://www.mydomain.com/myfeed.xml that you want to add bulk content to, and then have it automatically make a new item available each day.

1. The first thing you would do is set the PubDate field for each of the feed's items to a future day (each item, one more day into the future).

2. Next, copy the future-rss.php script into the same folder on your webserver as your feed.

3. With a text editor, edit the souce of the future-rss.php script, and change the line near the beginning of the script that reads:

$cfg["rss_feed"]='rss.xml';

to

$cfg["rss_feed"]='myfeed.xml';

*Note: you can use an URL in this line if the feed is on a remote computer

5. You might want to rename the script from 'future-rss.php' to something more similar to your feed's title, like 'myfeed.php', in this case.

6. To test, simply enter the URL of the script into a browser.


Requirements:
A webserver that supports PHP 4.x
RSS 2.0, .92, .92, .91, or .90 feed


Copyright & License Info:
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.

_________________
Create RSS Feeds
Audio Recording and Editing
View user's profile
agaia



Joined: 13 Jan 2010
Posts: 1
Location: Mexico

PostPosted: Wed Jan 13, 2010 7:47 pm Reply with quoteBack to top

Future RSS sounds very useful, but how does a newbie begin? Just installed RSS via feedburner www.magicalmind.org. Thanks for your help!
View user's profileVisit poster's website
FeedForAll Sales



Joined: 10 Jun 2009
Posts: 252

PostPosted: Thu Jan 14, 2010 10:13 am Reply with quoteBack to top

To see how one of FeedForAll's scripts works, download the free rss2html.php script at http://www.feedforall.com/scripts-directory.htm

_________________
FeedForAll Sales
View user's profileVisit poster's website
kfairris



Joined: 19 Oct 2010
Posts: 1

PostPosted: Tue Oct 19, 2010 3:49 pm Reply with quoteBack to top

Is there a way to change the FutureRSS script to limit the number of items it returns? I'm running a daily podcast and would rather not have to touch the feed every day. I would like to limit the feed to only showing the last 10 items, relative to today's date.

Thanks for any help!
Kenny Fairris
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