I just made a quick mod to show the newest X links on your homepage or wherever you want.
It is attached to this post.
All you need to do is upload the file to the same directory as the other Links2 cgi's like add.cgi etc....and chmod it to 755.
Then in links.cfg add a new variable:
$max_new = X;
X being the number of new links you want to show.
Then include the file into your page using SSI ...eg
<!--#exec cgi="/cgi-bin/links/topx.cgi"-->
If you are using html pages then you can upload a .htaccess file with the following contents which should allow the SSI to work with the html page.....
AddType text/html .html
AddHandler server-parsed .html
That goes into the same directory as the html page not topx.cgi
Anyway feel free to make any contructive comments.
It is attached to this post.
All you need to do is upload the file to the same directory as the other Links2 cgi's like add.cgi etc....and chmod it to 755.
Then in links.cfg add a new variable:
$max_new = X;
X being the number of new links you want to show.
Then include the file into your page using SSI ...eg
<!--#exec cgi="/cgi-bin/links/topx.cgi"-->
If you are using html pages then you can upload a .htaccess file with the following contents which should allow the SSI to work with the html page.....
AddType text/html .html
AddHandler server-parsed .html
That goes into the same directory as the html page not topx.cgi
Anyway feel free to make any contructive comments.