BrewToad shutting down, BeerXML export bug

Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum

Help Support Homebrew Talk - Beer, Wine, Mead, & Cider Brewing Discussion Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.

camiller

Well-Known Member
Joined
Apr 12, 2007
Messages
1,907
Reaction score
51
Location
Omaha, NE
So with the notification of the demise of BrewToad at the end of the year our clubs webmaster and I were kicking around the possibility of spinning up our own instance of BrewBlogger for our club. Admittedly BrewBlogger hasn't seen a lot of updates in the past few years, but there seems to be slow activity on the developers github toward a version 3 release. So our webmaster brought up an instance and we fixed an issue regarding php versions and found that many fermentables were not coming over on import. After a bit of debugging I determined that the export from BrewToad is using some "Type" values that are not part of the standard.

BrewToads fermentables section may have the following types:

Grain
Adjunct
Dry Extract
Sugar
Base Malt
Kilned Malt
Liquid Extract
Caramel/Crystal Malt
Roasted Malt

However the BeerXML spec states the following with regard to type:
May be "Grain", "Sugar", "Extract", "Dry Extract" or "Adjunct". Extract refers to liquid extract.

So if you are exporting your recipes and the software you are importing into has a strict implementation of beerXML it may simply ignore some fermentables. You can either edit your recipe's xml file and change "Base Malt", "Kilned Malt", "Caramel/Crystal Malt", and "Roasted Malt" to "Grain" and "Liquid Extract" to "Extract". Or, if you are writing your own software you can change the code as you see fit if you want to loosen up on the standard to allow these recipes to import.
 
Back
Top