Author Topic: Custom Recipe Tags  (Read 15337 times)

Offline BeerSmith

  • Brewer, Author, Patriot
  • BeerSmith Administrator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 5558
  • BeerSmith - take the guesswork out of brewing!
    • BeerSmith
Custom Recipe Tags
« on: May 25, 2008, 12:05:25 AM »
Hello all,
  Some nice members put together a list of custom recipe tags, and I made it sticky here:
    http://www.beersmith.com/forum/index.php?topic=1465.0

Cheers,
Brad
Get a free trial of BeerSmith 3 here

Offline MaltLicker

  • Global Moderator
  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 2004
    • Blue Ribbon Brews
Re: Custom Recipe Tags
« Reply #1 on: October 14, 2008, 11:05:10 AM »
Using this info, I modified the "recipetxt.txt" file in the Templates folder.  This controls the "Text" view that most people copy/paste to share or email.  As compact as possible, I tried to show the fields that are used on brew day, and also included the style range specs beside the recipe specs.  It looks nicer in TEXT view with Courier font - the columns line up, etc.

Feedback appreciated.  Did I miss anything?
******************************************

Style: American Stout
Recipe: 13E American Stout   TYPE: All Grain
Recipe Specifications
-----------------------------------------------------------
Est SRM: 61.9 SRM      SRM Range: 30.0-45.0 SRM
Est IBU: 66.0 IBU      IBU Range: 35.0-75.0 IBU
Est OG: 1.070 SG      OG Range: 1.050-1.075 SG
Est BU:GU: 0.949
Estimated FG: 1.017 SG   FG Range: 1.010-1.022 SG
Estimated ABV:   6.84 %   Calories: 314 cal/pint
EE %: 73.00 %   Batch: 3.65 gal     Boil: 4.25 gal   BT: 70 Minutes
Prepare Yeast Starter
 - Amount        Item                                      Type         % or IBU     
1 Pkgs        American Ale II (Wyeast Labs #1272)       Yeast-Ale                 

Ingredients for Mashing
Amount        Item                                      Type         % or IBU     
5.00 lb       Pale Ale Malt 2-Row (Briess) (3.5 SRM)    Grain        53.16 %       
1.00 lb       Munich I (Weyermann) (7.1 SRM)            Grain        10.63 %       
0.75 lb       Maris Otter (Crisp) (4.0 SRM)             Grain        7.97 %       
0.62 lb       Chocolate Malt (450.0 SRM)                Grain        6.59 %       
0.50 lb       Roasted Barley (Thomas Fawcett) (609.0 SRMGrain        5.32 %       
0.30 lb       Chocolate Wheat (Weyermann) (415.0 SRM)   Grain        3.19 %       
0.25 lb       Cara 20 (Dingemans) (23.0 SRM)            Grain        2.66 %       
0.25 lb       Chocolate, Pale (Thomas Fawcett) (200.0 SRGrain        2.66 %       
0.25 lb       Crystal Malt - 60L (Thomas Fawcett) (60.0 Grain        2.66 %       
0.13 lb       Coffee Kiln Malt (165.0 SRM)              Grain        1.33 %       
0.11 lb       Brown Malt (Crisp) (65.0 SRM)             Grain        1.17 %       
1.25 oz       Crystal 4.2 [3.30 %]  (70 min) (Mash Hop) Hops         4.4 IBU       

Total Grain Weight: 9.16 lb

Single Infusion, Medium Body
Step Time     Name               Description                         Step Temp     
60 min        Mash In            Add 11.44 qt of water at 164.8 F    153.0 F       
10 min        Mash Out           Heat to 168.0 F over 5 min          168.0 F       

-----------------------------------
Estimated pre-boil gravity: 1.060   Est OG: 1.070 SG
Boil Ingredients
Boil         Amount       Item                                      Type         
70 min       0.25 lb      Cane (Beet) Sugar (0.0 SRM)               Sugar       
60 min       0.60 oz      Cluster [7.70 %]  (60 min)                Hops         
60 min       0.27 tsp     FermCapS (Boil 60.0 min)                  Misc         
51 min       7.84 oz      Yeast Sample (Boil 51.0 min)              Misc         
20 min       1.00 items   Preheat Chiller Outside (Boil 20.0 min)   Misc         
13 min       1.00 items   Whirlfloc Tablet (Boil 13.0 min)          Misc         
10 min       0.12 oz      Centennial [8.70 %]  (10 min)             Hops         
10 min       0.50 tsp     Wyeast Nutrient (Boil 10.0 min)           Misc         
9 min        1.00 items   Wort Chiller (Boil 9.0 min)               Misc         
5 min        0.13 oz      Centennial [8.70 %]  (5 min)              Hops         
0 min        0.12 oz      Centennial [8.70 %]  (0 min)              Hops         

-----------------------------------
Notes:

Offline tom_hampton

  • BeerSmith Grandmaster Brewer
  • *****
  • Posts: 929
  • BeerSmith 2 Rocks!
    • Tom's Miata Racing Blog
Re: Custom Recipe Tags
« Reply #2 on: October 21, 2011, 02:43:32 PM »
The "COMPETITION" tags don't seem to work any longer.  Or rather, don't require the "COMPETITION." prefix.

Beersmith still seems to recognize the $COMPETITON.* pattern, because it replaces it with blank.  Whereas, if it doesn't recognize a tag then normally it simply leaves it untouched.  In other words, $Unknown_tag will be passed on to the output report unchanged.

The following:

Code: [Select]
<BR><H1>Competition Data Type:</H1>
<BR>Name: $COMPETITION.BREWER
<BR>Assistant Brewer: $COMPETITION.ASST_BREWER
<BR>Club/Organization: $COMPETITION.CLUB
<BR>Address: $COMPETITION.ADDRESS
<BR>Phone: $COMPETITION.PHONE
<BR>Email: $COMPETITION.EMAIL
<BR>Name of Brew: $COMPETITION.NAME
<BR>Entry Category: $COMPETITION.STYLE_NAME
<BR>Type: $COMPETITION.TYPE
<BR>Category Number: $COMPETITION.STYLE_NUMBER
<BR>Subcategory Letter: $COMPETITION.STYLE_LETTER
<BR>Starting Gravity: $COMPETITION.DISPLAY_OG
<BR>Batch Size: $COMPETITION.DISPLAY_BATCH_SIZE
<BR>Final Gravity: $COMPETITION.DISPLAY_FG
<BR>Mash Profile: $COMPETITION.MASH_NAME
<BR>Hops Used: $COMPETITION.HOPS
<BR>Fermentables: $COMPETITION.FERMENTABLES
<BR>Misc: $COMPETITION.MISCS
<BR>Yeast: $COMPETITION.YEASTS
<BR>Category: $COMPETITION.STYLE

Results in the following output HTML:

Code: [Select]
<BR><H1>Competition Data Type:</H1>
<BR>Name:
<BR>Assistant Brewer:
<BR>Club/Organization:
<BR>Address:
<BR>Phone:
<BR>Email:
<BR>Name of Brew:
<BR>Entry Category:
<BR>Type:
<BR>Category Number:
<BR>Subcategory Letter:
<BR>Starting Gravity: 
<BR>Batch Size:
<BR>Final Gravity: 
<BR>Mash Profile:
<BR>Hops Used:
<BR>Fermentables:
<BR>Misc:
<BR>Yeast:
<BR>Category:
<BR>

And looks like this:

Quote
Competition Data Type:
Name:
Assistant Brewer:
Club/Organization:
Address:
Phone:
Email:
Name of Brew:
Entry Category:
Type:
Category Number:
Subcategory Letter:
Starting Gravity:
Batch Size:
Final Gravity:
Mash Profile:
Hops Used:
Fermentables:
Misc:
Yeast:
Category:

NOTE: All of these tags work as expected WITHOUT the "COMPETITION."  in the middle.  EG: $COMPETITION.STYLE_NUMBER doesn't work, but $STYLE_NUMBER does.
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: Custom Recipe Tags
« Reply #3 on: November 17, 2011, 02:14:47 PM »
Brad-

I found a tag newly supported by BS2: $FIRST_WORT_HOPS.  Makes me wonder if there are other "undiscovered" tags that are supported.

Would there be any way to get a definitive list?  I can read source code (of all variants), so I'd be happy to do the parsing myself and document the "official list". 
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 burp

  • BeerSmith New Brewer
  • *
  • Posts: 2
Re: Custom Recipe Tags
« Reply #4 on: October 31, 2012, 02:10:42 AM »
Old thread I know but didn't want to duplicate with a new one. I have looked at all of the helpful tag information and it is greatly appreciated. I could not, however, find a tag for "Mash Volume Needed" that appears in the "Vols" tab within a recipe. Has anyone bumped into this tag during your research?

 

modification