• Welcome to the new forum! We upgraded our forum software with a host of new boards, capabilities and features. It is also more secure.
    Jump in and join the conversation! You can learn more about the upgrade and new features here.

BeerSmith XML Tags ((Updated))

uwjester

Apprentice
Joined
Feb 25, 2009
Messages
3
Reaction score
0
Yeah, I name most of my brews in some kind of Dune way. Mentat Marzen, Golden Path Hefeweizen, Muad Dib Spice Ale, Tears of the Maker ESB, etc. Lots of neat graphics that I'd like to get into the reports.
 

bananskib

Apprentice
Joined
Aug 9, 2008
Messages
4
Reaction score
0
Hi,

is there a way to get the recipe in xml-format in a tag? Something like $XML, and all elements are returned. <RECIPE .... </RECIPE>
That way, I can parse it through some xsl, and do my own thing.

Regards,
Robert
 

Wastegate

Grandmaster Brewer
Joined
Mar 14, 2008
Messages
1,115
Reaction score
0
Location
Houston
Go to the "My Recipes" section where your recipes are. Highlight a recipe and use the Drop down box, choose BeerXML.

Cheers
Preston
 

bananskib

Apprentice
Joined
Aug 9, 2008
Messages
4
Reaction score
0
Hi,
  true, that will only give me the XML. But I would like to use the recipe-xml in a ".htm"-report.
Is there a way to get all (and only) the recipe data - without any generated html?

For instance $FERMENTABLES does not just give you the data, it generates a html table with four columns and x rows.

Regards,
Robert
 

Wastegate

Grandmaster Brewer
Joined
Mar 14, 2008
Messages
1,115
Reaction score
0
Location
Houston
I don't believe so. The Recipe data is stored in the Recipe.bsm which is referenced by BeerSmith when you open a recipe.

Cheers
Preston
 
M

Mij

I was looking for the var that represents "Effec into Boiler" and was wondering if that was just a calculation evaluated whenever you are in the "Brewhouse Effec" screen.  I don't see anything like it in the xml output...

 

Attachments

  • Eff-Boiler.png
    Eff-Boiler.png
    47.9 KB · Views: 1,375

Wastegate

Grandmaster Brewer
Joined
Mar 14, 2008
Messages
1,115
Reaction score
0
Location
Houston
I'm pretty sure this is a calculation and not a variable. Maybe Brad could chime in on this one.

Cheers
Preston
 

BeerSmith

Staff member
Administrator
Grandmaster Brewer
Joined
Apr 5, 2003
Messages
5,990
Reaction score
81
Location
Virginia
Yes,
  I don't think I have added that one yet - sorry!

Brad
 
M

Mij

Thanks for the answer!

You know, not a big deal in any way - I just happen to be "testing" batches to try and get a consistent rate/ratio and that value has some importance to me at the moment.  In another month, it won't :)

Thanks again.
 

denimglen

Apprentice
Joined
Jul 3, 2007
Messages
23
Reaction score
0
tgioiosa said:
Hi Preston,

I have tried some of those last datatypes and tags in your latest post, like FERMENTABLES, HOPS, etc.  I couldn't get any success with them in a Recipe Report.

For example, <HOPS></HOPS> can contain several individual <HOP></HOP> datatypes, and the tags such as TYPE, BETA%, ALPHA%, etc. are tied to these <HOP></HOP> pairs, not the encompassing <HOPS></HOPS> datatype.  Question is, how do we enumerate through the <HOPS></HOPS> datatype to get to reference the individual <HOP></HOP> datatypes?

I think it's a similar situation for FERMENTABLES, MISCS, WATERS, and YEASTS. We need to somehow pinpoint the individual entities in those groups in order to get anything to show in a report.

Let us know if you have any success, as I haven't been able to get these to show up.

Cheers, :)
Tony

Just wondering if there's been an update on this?

I'm trying to output the water profile into my brewsheet.

Cheers :)
 

BillN

Apprentice
Joined
Jan 30, 2011
Messages
14
Reaction score
0
Location
Eugene, OR
Hey guys....any body know the tag in 2.0 for mash efficiency - not brewhouse eff.
Thanks!
 

costadelrica

Apprentice
Joined
Mar 14, 2014
Messages
8
Reaction score
0
I was looking for it, I will play with this and see what I can come up with. It makes perfect sense now! I will post what I put together i hope soon :D
 

maxcloutier

New Forum Member
Joined
Aug 15, 2015
Messages
1
Reaction score
0
Sorry for the necro.

I am working on a custom brewsheet and I am unable to print the "first wort hops" other than with  $INGREDIENTS
I like having $MASH_INGREDIENTS + $STEEP_INGREDIENTS  separated from $BOIL_INGREDIENTS + $STEEP_INGREDIENTS + $STEEP_HOPS.

I have found $FIRST_WORT_HOPS in Brewsheet.htm, but it doesn't print anything.

Any thoughts?
 

msevland

New Forum Member
Joined
Oct 11, 2015
Messages
1
Reaction score
0
uwjester said:
I'd like to add custom images to different reports....
If you use put the image extention in asst brewer in beerSmith, this will work.
src=$NAME$ASST_BREWER
... but it would be better if someone can tell me how to make a custom variabel inside the xml document. Something like...
<xsl:variable name="$image_extention" select="'.jpg'" />
<xsl:variable name="$image_path" select="'./images/'" />
Then the code could look like this
src=$image_path$NAME$image_extention
 

Zythonaute

Apprentice
Joined
Jan 7, 2021
Messages
5
Reaction score
0
Hi !!

Sorry to ask but in the basic report there is a tag that is not in this list : $MASH_ACID_TEXT

It would be very usefull for me to use it but it seems that it doesn't work because whatever phosporic acid I add in my recipe, it still indicate "None"

Could you check Brad ?

Thank you so much !

Andy
 

Waldner

Brewer
Joined
May 29, 2010
Messages
37
Reaction score
0
Where is the "Mash Temp" tag in all of these? I see many other mash tags but don't see one for mash temp. Is it called something else perhaps? Thanks
 

GigaFemto

Grandmaster Brewer
Joined
Oct 5, 2016
Messages
376
Reaction score
22
Location
Bay Area, California
There is no such thing as "THE" Mash Temperature. The Mash tag contains a series of Mash Steps, and each of those has its own temperature. You can use the tag for mash steps to get a table of the steps, but there is no access to the internals of the table in a custom report.

--GF
 
Top