Re: BFRPG SRD
Posted: Mon Jun 01, 2015 11:18 am
Thanks! There's still a lot of work that needs to be done, but life struck on me and on Dustinian as well. Here's hoping I can dedicate some time to this again pretty soon.
https://www.basicfantasy.org/forums/
https://www.basicfantasy.org/forums/viewtopic.php?f=19&t=1089
Nah, it'd be easy. I can write a TTL script to do that. I've also recently been learning about markdown and Git since I migrated the TTL project to GitHub several months ago. But I need to work on TTL; there are several improvements I'm working on.asacolips wrote:It would be a large undertaking to convert the text into Markdown
So, I don't know that I've posted much about this in detail, but I've been creating this SRD using a scripting language I've been working on for years: Text Transformation Language (TTL).Dustinian wrote:Once I have TTL updated...
Those TTL updates enabled me to re-write my BFRPG SRD scripts without having to use lots of hacks and workarounds. I've spent the last two weeks or so saving the new version of the core rulebook, and re-writing my TTL scripts. I've got the SRD in better shape than ever! I fixed a bunch of broken links, BOM artifacts, and orphan tags.Dustinian wrote:I want to re-create the SRD from the newest revision of the core rulebook.
I'm writing a new script literally right now to migrate the cleaned-up HTML into Markdown. Your comment was well-timed, asacolips, because I had been learning Markdown for a few months due to moving TTL to GitHub (GitHub uses a "Readme" Markdown file as the primary documentation for a project).Dustinian wrote:Then I can work on Markdown.
No problem, Delver! It's been a fun project, both as a project in it's own right and as a testbed for TTL. But I'm really glad you find it useful. I'd love negative feedback, if you have a moment. Tell me what irks you about the SRD site. I'd love to be able to ponder that and see if I could solve it with an upcoming change. Thanks for taking the time to respond, though! It means a LOT to me to know that someone actually USES the SRD.Delver wrote:Just letting you know that I use the SRD a lot and I thank you sincerely for doing it, all who were/are involved
Hey, no problem at all. The MD challenge has gotten me something to sink my teeth into. FYI, I have a script that produces MD that's great, with one exception: OpenOffice splits some of the two-line headers into separate rows. I'm still working on this; I just thought of a solution yesterday, but have not had time to implement.asacolips wrote:I probably won't be able to make any improvements on my side of the css for a long while;
Code: Select all
- loop through all h1, h2, h3, h4, h5, and h6 elements and store in an array/database
- for each item in the array, search the document for occurrences of the item text
- - add a specific id to the headline that we can use as a page jump
- - if an occurrence is found, create a link back to the headline in question
Not sure how it happened, but the entire _prototypes folder was wiped. I recovered it. Should be all good now. Sorry, Delver!Delver wrote:Errrm... Seems as if the SRD page has been moved? Has the link changed? Need updating? Help! I'm lost!