Hi Nick,
lighting@xxxxxxxxxxxxxxxxx wrote:
I'm setting up a webring using ringlink and I'm trying to integrate
it into my site's design. However, I really don't know my way
around perl scripts. The website is at
http://www.elgatodesigns.net/wheel/index.php I'm trying to get it
to format the list.pl and stats.pl data into a PHP function for the
main body of the site and output two PHP functions for newsite.pl
and siteadmin.pl. One function for the main body and another for
the buttons on the left. Also, I'm planning to have the CMS module
handle the input for the scripts. That's about all I know how to
do (because I only know PHP.)
Well, I know some Perl but very little PHP... Anyway, there are some
preparations built-in in Ringlink to facilitate something similar to
what you are trying to do. To see what I mean, please study the demo
installation at the Ringlink homepage (we are using PostNuke).
Also, please study the files example.php and example.css that are
included in the Ringlink distribution. In short, this is how it's done:
- By setting a variable in rlconfig.pm, instead of printing output to
STDOUT, Ringlink saves it in three files and redirects to a PHP program.
- The PHP program reads the output files, integrates them with other
stuff, and prints to STDOUT.
I would recommend that you avoid tweaking the program files. You can
probably achieve (almost) what you want just by
- applying this method,
- possibly modify one or more of the template files, and
- adopt the style sheet used by the PHP program.
Let's talk more when you have had a look at this approach.
I'd use a PHP based webring, but this is the best software I've
found.
Thanks, I'm flattered. :)
BTW... in case you're wondering, any copyright notices for the
ringlink script will be added at the bottom of the page and/or in
the legal info page. (I'm not one to steal credit)
Thanks again.
/ Gunnar