Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Though Picobrew never published their BeerXML Extensions I am aware with the source of BrewCrafter and various BeerXMLs that I have exported from Picobrew somewhat familiar with their extensions to be able to recreate their API endpoint which would generate the BeerXML all in clientside javascript for use with this static website.
Picobrew Extensions
<KEGSMART>...</KEGSMART>
this contains the explicit instructions for fermentation and cold crashing within a KegSmart enabled kegerator (why they didn't just take it from fermentation steps is beyond me)<ZYMATIC>...</ZYMATIC>
is the main Picobrew extension which contains a list of machine steps and a summary of mash time, mash temp and boil temp (but not boil time) ... this technically could be represented already as part of<MASH_STEPS>
which is a child node of<MASH_PROFILE>
... if Picobrew was after consistency and adherence to the original spec which obviously they weren't.<PB_LOCATION>#</PB_LOCATION>
this is a specific extension of specific ingredient based data tags (HOPS
,FERMENTABLES
, andMISCS
), this is to be able to easily identify which compartment of the machine an ingredient goes into (mash, adj1-4, etc)<WATERS>...</WATERS>
instead of specific water agents in<MISCS>...</MISCS>
though also has a misc typeWater Agent
to be able to support this setup as well.I've tested several (not all thousand) that have various setups in the recipes and have used them to fix some bugs in the import logic of crafter.pilotbatchbrewing.com as well. So I know 1) these XML files are valid and 2) that at a minimum the ones I tried to export will import successfully into the community crafter (minus some stuff around mash profiles and stuff that the crafter right now throws away and creates a new one... lame... I'll fix that separately).
Here is the example of where this Export button would be shown for all recipes. This is the exact same button and location that was present in the Picobrew BrewHouse for browsing your own recipes, they didn't allow non logged in users and non "recipe owners" to convert recipes over to BeerXML so wouldn't show "Export" until you "Copy to BrewHouse".
General Open BeerXML Format Specification -> http://www.beerxml.com/beerxml.htm