PDA

View Full Version : A link ranking system??


Graham
01-08-2001, 12:24 AM
Does anyone know of a perl/php script that will allow users to rank links on my site? I would like it to be easy to setup and maintain, as the links will change a lot. Also maybe a nice results page that shows graphs or something would be cool. I'd like it to look something like this: (scroll down)
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>

<body bgcolor="#ffffff" text="#000000" id=all>

<div align="center">
<center>
<table border="1" cellpadding="2" width="100%" bordercolor="#0000FF" bgcolor="#FFFF00">
<tr>
<td width="20%" bgcolor="#00FFFF">the link</td>
<td width="20%" bgcolor="#00FFFF">i'll add this</td>
<td width="20%" bgcolor="#00FFFF">a graphic?? (stars etc..)</td>
<td width="20%" bgcolor="#00FFFF">url to vote</td>
<td width="20%" bgcolor="#00FFFF">customer comments</td>
</tr>
<tr>
<td width="20%"><a href="link.html">link.html</a></td>
<td width="20%">decent site</td>
<td width="20%">rank- *****</td>
<td width="20%"><a href="rankit.html">rankit!</a></td>
<td width="20%">its great!!</td>
</tr>
</table>
</center>
</div>
<p>* </p>
<p>*</p>

</body>

</html>

Any thoughts or ideas??
thanks, graham

steffield
01-08-2001, 10:27 PM
Check out http://www.cgi-resource.com they have a huge amount of CGI programs, also linking in to PHP as well.

I am using a piece of software called "links" (original, I know) from http://www.gossamer-threads.com which includes all stuff like that for ya. - Bit of a minger to set up and customise, but once it is going it just sails on by.

have a look at http://216.74.100.101 (no domain name yet, waiting for it to be transferred).


Ian Gunter

Graham
01-09-2001, 12:29 AM
Thanks steffield,

I had just downloaded that yesterday from there, messed with it all last night and today, and finally got it working! It is really cool. I think this is going to make administration of links a breeze!

Your site is coming along great! How did you customize the look of the links? Is it all modification of templates and the .css ? Wow I'm impressed. Post your URL in the gallery forum when your done!

c-ya,
graham

steffield
01-09-2001, 12:37 AM
I had created a template page in HTML that I wanted all the pages to look like, and really, if you look at all the template pages in Links, there is only a very small amount of information that differs from page to page. Anyway, I just inserted that into the table cell that I wanted to use as my Page Contents, and pressed build.

The CSS file of mine is very simple, no layout control, just what I want the links to do and paragraph text.

The flash file on the front page was the hardest, the backround image especially, as I didn't know what to draw!

I am now having trouble with the sponsor ads, as I want to administer it easily, so I was going to have them running through an SSI, and almost all of the pages layout as well - I have about 12 different files just for layout (header, footer, menulinks, etc) but I can't figure out how to change the .htaccess file to accept .html pages with SSI.

Still - It's all fun and games really.

Can't wait till I get back to eMerica and get my cable line back.
Ian Gunter