Author Topic: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2  (Read 26918 times)

Offline RumRiverBrewer

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • BeerSmith 2 Rocks!
Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« on: November 29, 2011, 05:15:18 PM »
[[ MODERATORS NOTE - SEE THE FILES ATTACHED NEAR THE END OF THIS THREAD FOR A COMPLETE LIST OF TAGS
   SUPPORTED BY BEERSMITH 2]]

I discovered an undocumented one (at least not in any documentation I could find  :-\)  @GRAIN_ABSORP

Could someone point me to where ALL of the tags are listed?  I really want "Water Avail From Mash" but getting the complete list would be great.

TIA!!
« Last Edit: December 06, 2011, 09:17:48 PM by BeerSmith »

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #1 on: November 29, 2011, 08:35:01 PM »
You've probably already seen this thread:

http://www.beersmith.com/forum/index.php/topic,1635.0.html

But, just in case.

I've offered to go through the source and find all the tags. 
R.I.P.:Belgian Blonde
On Tap: Apfelwein, Kolsch(v2), Pumpkin Ale, Belgian Specialty 
Aging/Storing: Coffee Porter, Chocolate Porter, Flanders Red, English Barlywine
Fermenting: Maggie's Altbier
Next Up: PtE(1.1), Belgian Dubbel?

Working thru all BCS recipes

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5188
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #2 on: November 30, 2011, 03:59:37 PM »
I'm a bit busy at the moment with a Mac build, but could provide the main source file (that one file) for the recipes if someone wants to go through all of the possible tags for recipes.  It would require a bit of knowledge of C++ - drop me an email or message if interested.

Brad
Get my new book and podcast from the BeerSmith Blog

Offline RumRiverBrewer

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • BeerSmith 2 Rocks!
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #3 on: November 30, 2011, 07:43:59 PM »
I was thinking about the possibility of examining the output from $MASH_STEPS

Offline RumRiverBrewer

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • BeerSmith 2 Rocks!
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #4 on: November 30, 2011, 07:53:35 PM »
I was thinking about the possibility of examining the output from $MASH_STEPS in HTML and trying to get at the total mash water as an integer using RegEx in javascript and subtracting $GRAIN_ABSORP from it to get Avail Water From Mash, but I was a bit too busy at work today today to make it happen...  ;D

I wouldn't mind looking at some code - it would probably be easier!

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #5 on: December 03, 2011, 06:42:45 AM »
I'm a bit busy at the moment with a Mac build, but could provide the main source file (that one file) for the recipes if someone wants to go through all of the possible tags for recipes.  It would require a bit of knowledge of C++ - drop me an email or message if interested.

Brad

Pm sent. I was unsure of your email.
R.I.P.:Belgian Blonde
On Tap: Apfelwein, Kolsch(v2), Pumpkin Ale, Belgian Specialty 
Aging/Storing: Coffee Porter, Chocolate Porter, Flanders Red, English Barlywine
Fermenting: Maggie's Altbier
Next Up: PtE(1.1), Belgian Dubbel?

Working thru all BCS recipes

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #6 on: December 05, 2011, 09:43:26 PM »
Brad sent me one of the files.  Here is a quick and dirty dump of all supported recipe tags, along with sample TXT output:

Format of the data:

Code: [Select]
<tag_name>::
<tag results>
================================================================================================

The results are too big to fit directly in the forum, so I've attached the saved report file.

« Last Edit: December 05, 2011, 09:48:39 PM by tom_hampton »
R.I.P.:Belgian Blonde
On Tap: Apfelwein, Kolsch(v2), Pumpkin Ale, Belgian Specialty 
Aging/Storing: Coffee Porter, Chocolate Porter, Flanders Red, English Barlywine
Fermenting: Maggie's Altbier
Next Up: PtE(1.1), Belgian Dubbel?

Working thru all BCS recipes

Offline MaltLicker

  • Global Moderator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 2004
    • Blue Ribbon Brews
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #7 on: December 06, 2011, 05:41:23 PM »
Great list.  If I put a $ in front of these (w/o the two colons), would it work in the old style text report? 

I've noticed some more codes that worked in 1.4 don't work now, such as

$COMPETITION.YEASTS

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #8 on: December 06, 2011, 06:37:55 PM »
In short, yes.

Here is the report file I used to generate the above.

-tch

R.I.P.:Belgian Blonde
On Tap: Apfelwein, Kolsch(v2), Pumpkin Ale, Belgian Specialty 
Aging/Storing: Coffee Porter, Chocolate Porter, Flanders Red, English Barlywine
Fermenting: Maggie's Altbier
Next Up: PtE(1.1), Belgian Dubbel?

Working thru all BCS recipes

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5188
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #9 on: December 06, 2011, 09:16:41 PM »
Thanks!
  I'm going to sticky this for a while since a lot of people are interested in building custom reports.

Brad
Get my new book and podcast from the BeerSmith Blog

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #10 on: December 07, 2011, 10:18:27 PM »
Thanks!
  I'm going to sticky this for a while since a lot of people are interested in building custom reports.

Brad

Sure thing.  I'm planning to try and document where the different variables get their data.  I've created a "test recipe" that I have populated EVERYTHING in the most complicated way in order to populate all the fields.  Its a lot of nonsense, but you learn some things going through the exercise.  I don't know how quickly I'll get through it.  But, that's my thought.

Let me know if there are other things that I could strip out from the code.

-tch
R.I.P.:Belgian Blonde
On Tap: Apfelwein, Kolsch(v2), Pumpkin Ale, Belgian Specialty 
Aging/Storing: Coffee Porter, Chocolate Porter, Flanders Red, English Barlywine
Fermenting: Maggie's Altbier
Next Up: PtE(1.1), Belgian Dubbel?

Working thru all BCS recipes

Offline RumRiverBrewer

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • BeerSmith 2 Rocks!
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #11 on: December 19, 2011, 08:26:11 PM »
This is great,  Thanks!

Offline jeremiahhansen

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 6
  • BeerSmith 2 Rocks!
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #12 on: January 01, 2013, 07:25:15 PM »
Thanks so much for this list of custom report tags, it's very helpful.  I would like to use the following two variables in a report but can't find them anywhere.  Please help!
  • Measured Pre-Boil Gravity (found on the Mash and Fermentation recipe tabs)
  • Grain Absorption (found on the Mash and Vols recipe tabs)
This is an older thread, so hopefully this reply will be seen.  If not I'll start a new thread.
Thanks again!

Offline toddm

  • BeerSmith Apprentice Brewer
  • **
  • Posts: 9
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #13 on: March 14, 2013, 08:57:53 AM »
I was thinking about the possibility of examining the output from $MASH_STEPS

I'd also appreciate a way to break apart the mash steps.

Also a way to show both dual units. For instance I see quarts (mashing) & gallons (sparge). I'm still working out my system since I just moved, but currently am measuring mashing in gallons, while at my old place I had to use a measuring cup - thus I measured sparge in quarts



Offline bandidobrewing

  • BeerSmith New Brewer
  • *
  • Posts: 1
  • BeerSmith 2 Rocks!
Re: Help - Need the **Complete** list of XML Tags (PLEASE) for BS2
« Reply #14 on: February 05, 2014, 06:56:36 PM »
Is there any tag for dry hopping? In my custom recipe print out, I have:

Mash Ingredients : $MASH_INGREDIENTS
Boil Ingredients: $BOIL_INGREDIENTS
Steep Hops: $STEEP_HOPS
Steep Ingredients: $STEEP_INGREDIENTS
Fermentation Ingredients:   $FERMENT_INGREDIENTS

This printout doesn't show the hops I use in my dry hopping schedule. Any ideas? Thanks!

 

modification