 |
? |
Author |
Message |
Phoebe
Joined: 10 Aug 2015
Posts: 2
|
Posted: Mon Aug 10, 2015 10:51 pm |

|
This is probably a very stupid question as it seems like it should have a very simple answer but I'm stumped. I think part of the problem is that I don't know the correct terminology for what I'm trying to do so my searches don't bring up the right info (as it seems likely someone has asked this question before but I couldn't find it).
Anyway, I have the rss2html script working on my html test site and its all going well. The only thing I want to change is that the second to latest post starts the feed rather than the latest post (as the latest post is already featured elsewhere on the page). So if the latest post is n, the feed shows n-1, n-2, n-3, but excludes n itself.
I would be most grateful if anyone could point me in the right direction.
|
|
|
 |
 |
Tech Support
Joined: 27 Aug 2004
Posts: 2683
|
Posted: Tue Aug 11, 2015 11:42 am |

|
We haven't really run into that question before.
Here is something that might work:
In the rss2html.php file find line number 972. It currently reads:
for ($x = 0; $x < $loop_limit; $x++) {
Try changing it to:
for ($x = 1; $x < $loop_limit; $x++) {
|
_________________
Create RSS Feeds
Audio Recording and Editing
|
|
 |
 |
Phoebe
Joined: 10 Aug 2015
Posts: 2
|
Posted: Tue Aug 11, 2015 8:15 pm |

|
Thank you!!!!!
That did the trick. It's perfect.
|
|
|
 |
 |
|
|
|