| www.simball.de | Links mods | Top X SSI Mod | 

Gossamer-Threads - Links 2.0 mod

Top X SSI Mod

This modification allows you to use an external Links 2.0 .shtml file within the Top X links by category.

See a demo in action: here.
Instructions in a text file: follow this.


Step 1:

File: top_ssi.pl.txt

Download this file from: here.


Step 2:

File: top_ssi.pl.txt

Rename the top_ssi.pl.txt to top_ssi.pl and set up the script options. Then place it where the other Links CGI files are stored on your server, like add.cgi or search.cgi. CHMOD the top_ssi.pl executeable.

The number of links could be modified in the following line in the script (in this example the Top 5 links).


if ($count <= 5) {

Step 3:

Create a .shtml file for the Top X links by category.

Use the following SSI call to show the Top X links in the document.

Perhaps change the URL (YOURDOMAIN) to the URL of the top_ssi.pl file and add a "<!" in front and a ">" at the end of the following:


--#include virtual="http://www.YOURDOMAIN.com/cgi-bin/top_ssi.pl?category=Categoryname/Subcategoryname"--
Change "Categoryname/Subcategoryname" to the name of your category.


That's it. Enjoy it. For installation of modifications please visit the webservices.


AnzeigeFanmarkt

Problems with installing or questions, visit the Gossamer-Threads Support Forum.


| Top