It is currently Thu Jun 06, 2024 3:41 pm

All times are UTC-07:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: New CFL Website
PostPosted: Mon Mar 21, 2005 7:26 pm 
Offline
Legendary Former Owner
User avatar

Joined: Fri Apr 02, 2004 9:02 pm
Posts: 716
I'm currently working on a new CFL website.

Right now, it looks nice, but I'd like to add some functionality.

Is there anyone out there who knows how to alter the format of the HTML exports?

Alternatively, does anyone know how to extract info from the HTML export files and reformat it in a different style?

_________________
Former Owner of the Orgeon Ice:
2003 CFL Champions
'03, '04 and '06 Ring of Ice Division Champs


Top
   
 Post subject: Re: New CFL Website
PostPosted: Tue Mar 22, 2005 3:43 am 
Offline
Legendary Former Owner
User avatar

Joined: Fri Apr 02, 2004 10:13 pm
Posts: 1240
Location: Baltimore Bombers
[quote93cf1e8="Grid Iron"]I'm currently working on a new CFL website.

Right now, it looks nice, but I'd like to add some functionality.

Is there anyone out there who knows how to alter the format of the HTML exports?

Alternatively, does anyone know how to extract info from the HTML export files and reformat it in a different style?[/quote93cf1e8]

Easiest would be to add a stylesheet to the pages, but the reference would have to be added every time it's updated - maybe a "wrapper" page could be written in php to include the stylesheet reference and an inclusion statement to display the exported html? I'll do some experiments with this and let you know what I find.

_________________
Image
Division winners in 2003, 2012, 2016, 2019
147-122-3 regular season record
3-5 playoff record


Top
   
 Post subject:
PostPosted: Tue Mar 22, 2005 9:44 am 
Offline
Legendary Former Owner
User avatar

Joined: Fri Apr 02, 2004 10:13 pm
Posts: 1240
Location: Baltimore Bombers
Dola, the experiment went well - using a simple wrapper with the php command "include" I can apply a stylesheet like this:

[code7d43466]<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>

<?php include '14roster.html';?>

</body></html>[/code7d43466]

The result can be seen here:
http://www.lissvall.net/cfl/wrapper.php

with the style.css file only containing this:
[code7d43466]BODY {font-family:verdana;}
TABLE {font-size:10px;border: 0px solid black;}[/code7d43466]

Unfortunately Jim didn't use classes or id's that much in his html code which leaves us with little options beside adjusting the tags, as in the example.

_________________
Image
Division winners in 2003, 2012, 2016, 2019
147-122-3 regular season record
3-5 playoff record


Top
   
 Post subject:
PostPosted: Tue Mar 22, 2005 2:31 pm 
Offline
Legendary Former Owner
User avatar

Joined: Fri Apr 02, 2004 9:02 pm
Posts: 716
[quotef59a354="3ric"]Dola, the experiment went well - using a simple wrapper with the php command "include" I can apply a stylesheet like this:

[codef59a354]<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>

<?php include '14roster.html';?>

</body></html>[/codef59a354]

The result can be seen here:
http://www.lissvall.net/cfl/wrapper.php

with the style.css file only containing this:
[codef59a354]BODY {font-family:verdana;}
TABLE {font-size:10px;border: 0px solid black;}[/codef59a354]

Unfortunately Jim didn't use classes or id's that much in his html code which leaves us with little options beside adjusting the tags, as in the example.[/quotef59a354]

Wow! That's totally awesome!

I need to think how I might be able to implement this now.

_________________
Former Owner of the Orgeon Ice:
2003 CFL Champions
'03, '04 and '06 Ring of Ice Division Champs


Top
   
 Post subject:
PostPosted: Wed Mar 23, 2005 12:27 pm 
Offline
Tennessee Milita

Joined: Thu Mar 25, 2004 10:27 pm
Posts: 957
Location: Memphis Express
I fired an email back at you.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC-07:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Limited