Xplorer4x4
11-04-2005, 09:27 AM
Ok I have several instanced os PSNews installed on my site due to the fact it is a very simple program that takes up roughly less then a MB per instance and as you see we have 6 instances on our site. We will probably upgrade to a better news script when we upgrade hosting next year.
As it is say I post something in Post 2-1 and the go to post something on Post5, well the post from 2-1 is still at the top of the list even though Post5 has the newer article.
<? include "http://www.xtremepain.net/news/post2-1/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/news/post2-2/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/news/post2-3/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post3/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post4/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post5/Data/topheadlines.txt" ?>
I could use some major help with combining these so the latest post shows up on top.
I was thinking of something along the lines of:
<? include="<if condition=http://www.xtremepain.net/post4/Data/topheadlines.txt" AND "http://www.xtremepain.net/post4/Data/topheadlines.txt"> may work.
This is a major necessity to my site! Thank you so much to anyone that can help me !
As it is say I post something in Post 2-1 and the go to post something on Post5, well the post from 2-1 is still at the top of the list even though Post5 has the newer article.
<? include "http://www.xtremepain.net/news/post2-1/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/news/post2-2/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/news/post2-3/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post3/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post4/Data/topheadlines.txt" ?>
<? include "http://www.xtremepain.net/post5/Data/topheadlines.txt" ?>
I could use some major help with combining these so the latest post shows up on top.
I was thinking of something along the lines of:
<? include="<if condition=http://www.xtremepain.net/post4/Data/topheadlines.txt" AND "http://www.xtremepain.net/post4/Data/topheadlines.txt"> may work.
This is a major necessity to my site! Thank you so much to anyone that can help me !