Author |
Message |
akogo
Joined: 28 Apr 2006
Posts: 5
|
Posted: Fri Apr 28, 2006 2:13 am |

|
FutureRSS seems to show all items or changes the pub date to the current date including those with a future pub date. Here's the code I have set up:
Code: |
$cfg["rss_feed"]='acne.xml';
$cfg['fetch_method'] = "fopen"; // fopen, curl
$cfg['url_override'] = true;? ?// Warning! security unsafe!
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// use "url" parameter to pass RSS feed to script
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// example: http://localhost/rss_proxy.php?url=
$cfg["filter_method"] = "date"; // time - display item if ITEM_TIME <= CURRENT_TIME
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? // date - display item if ITEM_TIME <= endOfDay(CURRENT_TIME) |
Any suggestions?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Fri Apr 28, 2006 6:48 am |

|
|
 |
 |
akogo
Joined: 28 Apr 2006
Posts: 5
|
Posted: Fri Apr 28, 2006 9:00 am |

|
|
 |
 |
akogo
Joined: 28 Apr 2006
Posts: 5
|
Posted: Fri Apr 28, 2006 9:02 am |

|
There was one pubdate in the future
Sat, 7 May 2005 21:23:42 -0700
but of course that shouldn't show up?
Is there anything in PHP that needs to be installed or enabled?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Fri Apr 28, 2006 9:45 am |

|
I compared your feed and the output of future-rss.php, and everything looks like it is working fine.
Take a closer look at the date in your post above... it is May 2005
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
akogo
Joined: 28 Apr 2006
Posts: 5
|
Posted: Fri Apr 28, 2006 2:18 pm |

|
You're right... I totally forgot I had a ton of other items dated for the 27th at the bottom of the xml file.
On a related matter, my feed has over 250 items and I want one item to appear each day. I use the calendar function in FeedForAll, but it always seems to go back to the current date when I move onto the next item to modify the pubdate. So, when I got into the month of July, I had to click the month arrows past May and June to get to July, etc. Is there a setting were the calendar moves forward as well? Is there a script that can move the pubdate forward by one day to make this job easier?
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2694
|
Posted: Fri Apr 28, 2006 3:57 pm |

|
What you might try doing is create a blank item that has a date close to what you want several of the items to have. Then hit the 'Clone' button several times to create copies of that item with the same date. The the new items will be easier to adjust the date for.
Not really a solution, but it may be a little bit of a timesaver.
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
akogo
Joined: 28 Apr 2006
Posts: 5
|
Posted: Fri Apr 28, 2006 5:10 pm |

|
Thanks for the suggestion.
|
|
|
 |
 |
|