ratebeer home home > gadgets >

Cool RateBeer Widgets

1. Show Your Beer Reviews

You can now show your blog or web site readers your latest beer reviews at ratebeer. Just cut and paste the below code. NOTE: You are NOT logged in to ratebeer right now. The code below is NOT already set to display the ratings from your account. You either log in and come back to the page or modify the code so that the number after u= is your user ID number. This is not your username. If you're confused. I recommend logging in and coming back to this page.

The Widget
This is the basic widget. It's 220 pixels wide with a blue header. Your four latest beers that you've reviewed are shown with your rating as indicated by stars with a link to your rating of the beer.

You can click the code below and cut and paste it into your web site's code to have it display on your web site on blog.



Show Scores Variant
This is a variation on the basic widget that shows your score big and bold as a number score in the ratebeer five-point scale to the right of the beer name and star ranking.

You can click the code below and cut and paste it into your web site's code to have it display on your web site on blog.





2. Realtime Beer Scores


Show beer scores with Javascript.
Examples














Show style score if it exceeds the overall score by 4 (mode=1)


Show style score and overall score (mode=2)


Limit the score by some minimum amount (example: l=90)


Parameters
bid : BeerID
l : limit, a minimum score
m : mode, 0 = overall, 1 show higher score (style beats overall by 4), 2 = show style score and overall
rb-style : the style score


Style Classes
rb-notfound : the beer was not found (or the limit was not reached)
rb-beername : the beer name
rb-score : the score
rb-style : the style score