Home | Webstore
Latest News: OOTP 26 Available - FHM 11 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Franchise Hockey Manager 9 > FHM9 - General Discussion
Register Blogs FAQ Calendar Today's Posts Search

FHM9 - General Discussion Talk about the latest & greatest FHM, officially licensed by the NHL!

Reply
 
Thread Tools
Old 12-23-2022, 07:45 PM   #1
Mark42661
All Star Starter
 
Mark42661's Avatar
 
Join Date: Aug 2002
Location: Home of the Kansas City Chiefs!
Posts: 1,080
HTML Boxscore

Is there no way to get an html boxscore like we can in the baseball game. I was hoping there was something like that available for the purpose of sharing replay results.

Thank you
__________________
A Man of the World
Site dedicated to Sailor Tom Sharkey
Mark42661 is offline   Reply With Quote
Old 12-23-2022, 09:20 PM   #2
drummerJ99
Major Leagues
 
drummerJ99's Avatar
 
Join Date: Oct 2017
Location: I hate hackers!
Posts: 370
Quote:
Originally Posted by Mark42661 View Post
Is there no way to get an html boxscore like we can in the baseball game. I was hoping there was something like that available for the purpose of sharing replay results.

Thank you
Nope. Best you can do is export as csv and try and find a way to convert that to thml. So far...haven't had a ton of luck doing that.
drummerJ99 is offline   Reply With Quote
Old 12-24-2022, 11:36 AM   #3
tomkmb
All Star Starter
 
tomkmb's Avatar
 
Join Date: Jan 2021
Posts: 1,423
Quote:
Originally Posted by drummerJ99 View Post
Nope. Best you can do is export as csv and try and find a way to convert that to thml. So far...haven't had a ton of luck doing that.
What have you tried?

Could be worth asking ChatGPT as it seems like the sort of thing it could make a little script for. I've been messing with it for days and it comes up with some good stuff, some less good stuff too but it could be worth messing with in this context!
tomkmb is offline   Reply With Quote
Old 12-24-2022, 12:45 PM   #4
drummerJ99
Major Leagues
 
drummerJ99's Avatar
 
Join Date: Oct 2017
Location: I hate hackers!
Posts: 370
Quote:
Originally Posted by tomkmb View Post
What have you tried?

Could be worth asking ChatGPT as it seems like the sort of thing it could make a little script for. I've been messing with it for days and it comes up with some good stuff, some less good stuff too but it could be worth messing with in this context!
Just some of the stuff found in the mods section here on the forums. There was also a http://fhmcvsreader.com/ that no longer exists. Not sure who or what ChatGPT is. I know next to nothing about csv's and/or html.
drummerJ99 is offline   Reply With Quote
Old 12-24-2022, 01:02 PM   #5
reverist
Major Leagues
 
Join Date: May 2020
Location: Murfreesboro, TN
Posts: 312
Quote:
Originally Posted by drummerJ99 View Post
Just some of the stuff found in the mods section here on the forums. There was also a http://fhmcvsreader.com/ that no longer exists. Not sure who or what ChatGPT is. I know next to nothing about csv's and/or html.
ChatGPT is an AI that can come up with a lot of different things based on your prompts. Basically, I foresee it being used to cheat on a lot of high school and college essays lol.
reverist is offline   Reply With Quote
Old 12-24-2022, 01:20 PM   #6
tomkmb
All Star Starter
 
tomkmb's Avatar
 
Join Date: Jan 2021
Posts: 1,423
Quote:
Originally Posted by reverist View Post
ChatGPT is an AI that can come up with a lot of different things based on your prompts. Basically, I foresee it being used to cheat on a lot of high school and college essays lol.
It can also be used to write short scripts in something like Python, to take in a csv and output it into HTML!
tomkmb is offline   Reply With Quote
Old 12-24-2022, 04:51 PM   #7
reverist
Major Leagues
 
Join Date: May 2020
Location: Murfreesboro, TN
Posts: 312
Quote:
Originally Posted by tomkmb View Post
It can also be used to write short scripts in something like Python, to take in a csv and output it into HTML!
It gave me this, but honestly I can't quite get it to work:

import csv

# Open the CSV file and read the contents
with open('data.csv', 'r') as csv_file:
csv_reader = csv.reader(csv_file)

# Create an HTML table
table = '<table>\n'

# Read each row of the CSV file and add it to the HTML table
for row in csv_reader:
table += '\t<tr>\n'
for cell in row:
table += f'\t\t<td>{cell}</td>\n'
table += '\t</tr>\n'

# Close the table
table += '</table>'

# Save the HTML table to a file
with open('table.html', 'w') as html_file:
html_file.write(table)
reverist is offline   Reply With Quote
Old 12-24-2022, 11:51 PM   #8
reverist
Major Leagues
 
Join Date: May 2020
Location: Murfreesboro, TN
Posts: 312
OK, guys, I've had more luck simply finding a converter. If you'll click here, you'll see the result: https://drive.google.com/file/d/1Xuq...ew?usp=sharing

You'll notice my custom league team names are present; I simply found in the game under "Structure" on July 1 what IDs went with which teams, and then in the HTML code that it spit out from what file I input, I replaced the numeral with the team name.

Basically, I did an export, used "team_stats" as a test case, and cut out all minor and junior teams (convenient, since the numbers ran sequentially for my custom league; the NHL does not work this way). I think it basically looks all right.

Here's where I did it: https://www.convertcsv.com/csv-to-html.htm
reverist is offline   Reply With Quote
Old 12-25-2022, 05:47 AM   #9
tomkmb
All Star Starter
 
tomkmb's Avatar
 
Join Date: Jan 2021
Posts: 1,423
Quote:
Originally Posted by reverist View Post
OK, guys, I've had more luck simply finding a converter. If you'll click here, you'll see the result: https://drive.google.com/file/d/1Xuq...ew?usp=sharing

You'll notice my custom league team names are present; I simply found in the game under "Structure" on July 1 what IDs went with which teams, and then in the HTML code that it spit out from what file I input, I replaced the numeral with the team name.

Basically, I did an export, used "team_stats" as a test case, and cut out all minor and junior teams (convenient, since the numbers ran sequentially for my custom league; the NHL does not work this way). I think it basically looks all right.

Here's where I did it: https://www.convertcsv.com/csv-to-html.htm
Nicely done man! Hopefully this will scratch the itch for people who are keen on this feature at the moment.
tomkmb is offline   Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:26 AM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments