BeerXML Plugin

NOTE: The information on this page is woefully out of date. When/if I get time, I plan on updating this plugin to work with the latest versions of WordPress. I have not tested this, so it may or may not work!

The BeerXML plugin for WordPress is a way for me to quickly and easily get all of my beer recipes into WordPress. I wrote it because there really is no way out there to tie in your beer recipes to your blog and I wanted one! If you have suggestions or comments, please feel free to send me an email.

Current version is 0.20 released on March 17, 2006.

Installation:

  1. Get the plugin from GitHub
  2. Unzip into your wp-content/plugins directory.
  3. Activate the plugin: Plugins -> Activate (next to BeerXML)
  4. Set the options in Option -> BeerXML Options to fit your site.
  5. Set the group ID of the lowest group you’d like to allow to manage recipes: Options -> BeerXML Options. Typically 2 or 3. To only allow Administrators to modify recipes, set these options to 8.
  6. Add your recipes through wp-admin -> Manage -> BeerXML. Please note that when you export your recipes into BeerXML, you can only have one recipe per file for this to work. This is something that I am working on resolving, so that you can just export all of your recipes into one big BeerXML file and import directly.
  7. Enjoy!

Usage tips:

  • Display an individual recipe by adding { recipe: } where recipeid = the ID of the recipe you’d like to display. You can find this by browsing to the recipe you’d like to get the ID for in the recipe list and getting the id from the URL. Look for&id=12 where 12 is the id of your recipe.

NOTE: Your PHP install MUST support the XSLT processors (expat and Sablotron) in order for this to work. If you do not have it installed, or you are on a windows machine, please follow the instructions in this article to get them installed.

Todo:

  • Parse multiple recipes in one XML document. The BeerXML spec allows for more than one recipe within the RECIPES element.

Switch to our mobile site