Editing html exports

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
Rolo
Junior League
Posts: 6
Joined: Wed Feb 10, 2016 9:30 am
Favourite Team: Chicago

Editing html exports

Post by Rolo »

Loving the HTML export function :thup:

Is there a way I can edit the way it exports boxscores and standings? As it stands, its a very basic HTML page, but I want to add CSS to it obviously. The issue is, I export maybe 18-20 boxscores a day, so editing each boxscore would take so long. I could make a style sheet, but I still would need to edit each boxscore and add a reference to it.
Rolo
Junior League
Posts: 6
Joined: Wed Feb 10, 2016 9:30 am
Favourite Team: Chicago

Re: Editing html exports

Post by Rolo »

For example, this is the export of the standings table.

Image

Theres two 'L' columns, and I just want to be able to edit the style of it. :notworthy:
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing html exports

Post by archibalduk »

As you say, the only way to realistically do this is to add a link to your css file within each file.

That double "L" issue needs reporting on the SI Forums. :thup:
Rolo
Junior League
Posts: 6
Joined: Wed Feb 10, 2016 9:30 am
Favourite Team: Chicago

Re: Editing html exports

Post by Rolo »

Well manage to make a mini script to remove some garbage code, fix the double 'L' column, and some CSS ](*,)

Image

8-)
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing html exports

Post by archibalduk »

Looks really nice! It'd be nice in EHM's exported files had that style by default.
Post Reply