{"id":19043,"date":"2012-07-15T13:02:09","date_gmt":"2012-07-15T13:02:09","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/beer-ratings\/"},"modified":"2012-07-20T03:05:36","modified_gmt":"2012-07-20T03:05:36","slug":"beer-ratings","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/beer-ratings\/","author":8009132,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"1.0.2","tested":"3.4.2","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"Beer Ratings","header_author":"James Welch","header_description":"","assets_banners_color":"8ba27d","last_updated":"2012-07-20 03:05:36","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.jamesewelch.com\/","header_plugin_uri":"http:\/\/www.jamesewelch.com\/projects\/beer-ratings-wp-plugin\/","header_author_uri":"http:\/\/www.jamesewelch.com","rating":1,"author_block_rating":0,"active_installs":10,"downloads":2439,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"2","2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"573041","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2"],"block_files":[],"assets_screenshots":{"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1566905","resolution":"5","location":"plugin"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1566905","resolution":"4","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1566905","resolution":"2","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1566905","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566905","resolution":"1","location":"plugin"}},"screenshots":{"1":"Example listing of 2 beers","2":"Example listing of Best Beer by Style","3":"Example listing of all beers by specific brewer","4":"Settings tab of options page","5":"Format\/Layouts tab of options page showing header, footer, item"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5632,11605,11599,11603,11604],"plugin_category":[59],"plugin_contributors":[97598],"plugin_business_model":[],"class_list":["post-19043","plugin","type-plugin","status-publish","hentry","plugin_tags-beer","plugin_tags-beer-library","plugin_tags-brew","plugin_tags-breweries","plugin_tags-craft-beer","plugin_category-utilities-and-tools","plugin_contributors-jamesewelch","plugin_committers-jamesewelch"],"banners":{"banner":"https:\/\/ps.w.org\/beer-ratings\/assets\/banner-772x250.png?rev=573041","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/beer-ratings_8ba27d.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/beer-ratings\/trunk\/screenshot-1.png?rev=1566905","caption":"Example listing of 2 beers"},{"src":"https:\/\/ps.w.org\/beer-ratings\/trunk\/screenshot-2.png?rev=1566905","caption":"Example listing of Best Beer by Style"},{"src":"https:\/\/ps.w.org\/beer-ratings\/trunk\/screenshot-3.png?rev=1566905","caption":"Example listing of all beers by specific brewer"},{"src":"https:\/\/ps.w.org\/beer-ratings\/trunk\/screenshot-4.png?rev=1566905","caption":"Settings tab of options page"},{"src":"https:\/\/ps.w.org\/beer-ratings\/trunk\/screenshot-5.png?rev=1566905","caption":"Format\/Layouts tab of options page showing header, footer, item"}],"raw_content":"<!--section=description-->\n<p>The Beer Ratings plugin allows you to display information about beers, brewers, and places to drink. This plugin uses the RateBeer API to retrieve data and you must register for a RateBeer API Key at http:\/\/www.ratebeer.com\/json\/ratebeer-api.asp.<\/p>\n\n<p>You can retrieve beers by brewers, best beers by style, beers available at a specific place, brewer information, place information, and beer information. You can also retrieve beer reviews, rankings, and scores.<\/p>\n\n<h3>Arbitrary section<\/h3>\n\n<p>More information can be found at http:\/\/www.jamesewelch.com\/projects\/beer-ratings-wp-plugin<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>beer-ratings<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Do I need a RateBeer API key to use this plugin?<\/dt>\n<dd><p>Yes. You must have a RateBeer API key to use this plugin.<\/p><\/dd>\n<dt>How do I get a RateBeer API Key?<\/dt>\n<dd><p>Visit http:\/\/www.ratebeer.com\/json\/ratebeer-api.asp and follow the instructions on the page. The plugin author cannot assist you with the API key request process.<\/p><\/dd>\n<dt>How do I show brewer information?<\/dt>\n<dd><p>The code below will show information about Stone Brewing Company (brewer ID of 76).<\/p>\n\n<p>[beerratings-brewer id='76']<\/p><\/dd>\n<dt>How do I show all beers from a specific brewer?<\/dt>\n<dd><p>The code below will show all of the beers by the Stone Brewing Company (brewer ID of 76).<\/p>\n\n<p>[beerratings-beer-brewer id='76']<\/p><\/dd>\n<dt>How do I show place information?<\/dt>\n<dd><p>The code below will show information about SStone Brewing World Bistro and Gardens (place ID of 7319).<\/p>\n\n<p>[beerratings-place id='7319']<\/p><\/dd>\n<dt>How do I show beers available at a specific place?<\/dt>\n<dd><p>The code below will show all available beers at the Stone Brewing World Bistro and Gardens (place ID of 7319).<\/p>\n\n<p>[beerratings-beer-place id='7319']<\/p><\/dd>\n<dt>How do I show the top 25 IPA beers?<\/dt>\n<dd><p>The code below will show the top 25 beers by style. The Imperial Pale Ale style identifier is 17.<\/p>\n\n<p>[beerratings-beer-style id='17']<\/p><\/dd>\n<dt>How do I show beer reviews for a specific beer?<\/dt>\n<dd><p>The code below will show the first 10 reviews (page 1) for Alchemist's Heady Topper (beer ID of 32329).<\/p>\n\n<p>[beerratings-beer-review id='32329]<\/p><\/dd>\n<dt>What else can I do?<\/dt>\n<dd><p>Please read the detailed documentation provided on the plugin's settings page.<\/p><\/dd>\n<dt>How do I find all of these \"ids\"?<\/dt>\n<dd><p>The IDs can be found in the RateBeer.com's web site URLs. More detailed information is included in the plugin's Settings page on the Help tab.<\/p><\/dd>\n<dt>How do I customize the output\/display?<\/dt>\n<dd><p>Each tag, such as [beerratings-beer], has three settings on the Format\/Layouts tab of the plugin settings page. These three settings are:<\/p>\n\n<ol>\n<li>List Header - this HTML is prepended to the item display<\/li>\n<li>List Item - this HTML is used for each item display<\/li>\n<li>List Footer - this HTML is appended to the item display<\/li>\n<\/ol>\n\n<p>This means that when the tag outputs HTML, the List Header will be output first. For example, you include HTML specific tags such as \"&lt;table&gt;&lt;tr&gt;&lt;th&gt;Beer Name&lt;\/th&gt;&lt;th&gt;Brewer Name&lt;\/th&gt;&lt;th&gt;ABV&lt;\/th&gt;&lt;\/tr&gt;\".<\/p>\n\n<p>Next, the List Item will be used to loop through the returned records using the specific output fields and output conditions available for that tag. For example, \"&lt;tr&gt;&lt;td&gt;#_BEERNAME&lt;\/td&gt;&lt;td&gt;#_BREWERNAME&lt;\/td&gt;&lt;td&gt;{has_abv}#_ALCOHOL%{\/has_abv}&lt;\/td&gt;&lt;\/tr&gt;\". The example format will be output for each returned record. The condition state of {has_abv} means that the inner content will only be rendered if the beer has a non-empty\/non-null value for the ABV value (#_ALCOHOL).<\/p>\n\n<p>Finally, the List Footer will be output last. This is where you would close any &lt;table&gt; or &lt;div&gt; tags. Using the above examples, the footer could be as sample as \"&lt;\/table&gt;\".<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>initial upload to WordPress plugin gallery<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Updated help page for #_STYLEPCTL <\/li>\n<li>Updated help page for #_OVERALLPCTL<\/li>\n<li>Updated default item format for [beerratings-beer] to use conditionals around overall and style percentages<\/li>\n<li>Updated various tags using 'limit' and 'show_retired' attributes to not count retired as part of limit when show_retired='false'.<\/li>\n<li>Added [beerratings-bestbeer-country] tag and help documentation<\/li>\n<li>Added [beerratings-bestbeer-season] tag and help documentation<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added user_id to  [beerratings-bestbeer-country] <\/li>\n<li>Added user_id to  [beerratings-bestbeer-season] <\/li>\n<li>Added [beerratings-bestbeer] (top 50) tag and help documentation<\/li>\n<\/ul>","raw_excerpt":"The Beer Ratings plugin allows you to display information about beers, brewers, and places to drink. The plugin requires a RateBeer API Key.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/19043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=19043"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jamesewelch"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=19043"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=19043"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=19043"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=19043"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=19043"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=19043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}