{"id":11005,"date":"2010-11-01T02:49:22","date_gmt":"2010-11-01T02:49:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/yelp-it\/"},"modified":"2012-10-07T01:37:27","modified_gmt":"2012-10-07T01:37:27","slug":"yelp-it","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/yelp-it\/","author":7293077,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4.3","stable_tag":"trunk","tested":"3.3.2","requires":"3.0.1","requires_php":"","requires_plugins":"","header_name":"Yelp It","header_author":"Coffeesnobdavis","header_description":"","assets_banners_color":"","last_updated":"2012-10-07 01:37:27","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/coffeesnobdavis.com\/yelp-it","header_plugin_uri":"http:\/\/coffeesnobdavis.com\/yelp-it","header_author_uri":"http:\/\/coffeesnobdavis.com","rating":4.7,"author_block_rating":0,"active_installs":60,"downloads":9094,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1566915","resolution":"1","location":"plugin"}},"screenshots":{"1":"Context for my cafe breakdown."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2061,1519,29851],"plugin_category":[38,53],"plugin_contributors":[83774],"plugin_business_model":[],"class_list":["post-11005","plugin","type-plugin","status-closed","hentry","plugin_tags-oauth","plugin_tags-reviews","plugin_tags-yelp","plugin_category-authentication","plugin_category-ratings-and-reviews","plugin_contributors-coffeesnobdavis","plugin_committers-coffeesnobdavis"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/yelp-it.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/yelp-it\/trunk\/screenshot-1.png?rev=1566915","caption":"Context for my cafe breakdown."}],"raw_content":"<!--section=installation-->\n<p>Note: Requires <code>curl<\/code> and might require PHP5, not sure.<\/p>\n\n<ol>\n<li>Upload <code>yelp-it<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory or install it using the \"Install\" button in Wordpress' plugin directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Get your Yelp API v2 token, token secret, consumer key, and consumer secret\n\n<ul>\n<li>Sign in to Yelp and <a href=\"http:\/\/www.yelp.com\/developers\/getting_started\/api_access\" title=\"It's free!\">manage your API access<\/a><\/li>\n<li>Press the button to get access to Yelp API v2 (free)<\/li>\n<\/ul><\/li>\n<li>Copy over those things into the Yelp It plugin config screen, under the Wordpress Plugins menu in the Administration Dashboard.<\/li>\n<li>Use the shortcode <code>[yelpprofile term=\"Donuts\" location=\"San Francisco, CA\" align=\"right\"]<\/code> to test it out (shortcodes are entered directly in your page\/blog post!)<\/li>\n<\/ol>\n\n<p>Keep in mind that your Yelp API key is limited to 100 calls per day by default. There's no caching allowed, so that means after 100 views of a page with this Yelp widget on it, it will stop working until the next day. To increase your call limit, contact Yelp and ask for a higher limit using the handy textbox where you <a href=\"http:\/\/www.yelp.com\/developers\/getting_started\/api_access\">manage your Yelp API key<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>0.4.3<\/h4>\n\n<ul>\n<li>Fix broken yelp logo image, now included in plugin<\/li>\n<\/ul>\n\n<h4>0.4.2<\/h4>\n\n<ul>\n<li>Add check for OAuthException class again. If you are getting errors about that, this should fix it.<\/li>\n<\/ul>\n\n<h4>0.4.1<\/h4>\n\n<ul>\n<li>Remove debug code... so sorry, I'm a terrible person<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Added much requested option to set the Yelp links to open in a new window. Use with caution, users may not want this.<\/li>\n<\/ul>\n\n<h4>0.3.3<\/h4>\n\n<ul>\n<li>Expanded conditional check to wrap the inclusion of the entire OAuth lib. If you are getting OAuth conflicts, this should resolve that.<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Added conditional check for OAuthException class creation so it doesn't conflict with others.<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Bugfix for Yelp API change that is stricter about using a value for \"sort\" if using a search term.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Deprecated <code>method<\/code> parameter, it will automatically use the correct method depending on whether you set the ID or the term\/location. If you set the ID, it will use the Business method and ignore the term\/location\/limit.<\/li>\n<li>Set box-shadow to 0 for img tags in the Yelp profiles. This is a common theme style for images, but might not work since some themes use IDs to target them.<\/li>\n<\/ul>\n\n<h4>0.21<\/h4>\n\n<ul>\n<li>Now not completely effing broken for some people<\/li>\n<li>Re-wrote settings to use a single array of settings instead of individual ones.<\/li>\n<li>Let Wordpress handle the saving of settings, two people reported their settings were disappearing. That shouldn't happen now. If it does, I can't help you.<\/li>\n<li>Added legacy support for old settings if they were already working for you, migrates them to new format.<\/li>\n<li>Added activation and uninstall hooks<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Added support for Yelp's new business search, adds the ability to get a listing by business ID.<\/li>\n<li>Added support for multiple results and sorting.<\/li>\n<li>Better error handling<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<p>Created. Limited to one business output. Only accepts term, location, and the ability to align the box.<\/p>\n\n<!--section=description-->\n<h3>Important Note<\/h3>\n\n<p><strong>You get 100 views by default. To increase your call limit, contact Yelp and ask for a higher limit using the handy textbox where you <a href=\"http:\/\/www.yelp.com\/developers\/getting_started\/api_access\">manage your Yelp API key<\/a>. See 'Installation' for more details. I do not control this, Yelp does.<\/strong><\/p>\n\n<p>So you're talking about some cafe or restaurant and you wish you could display a small box that contains a fresh Yelp rating for it. Well now you can. This plugin installs a shortcode. By default, you can set the <code>term<\/code> and <code>location<\/code> and it will spit out the first business result from that search. Or, you can set the <code>limit<\/code> to higher than 1 and it will spit out more. Or, you can set the <code>id<\/code> to and enter the Yelp <code>id<\/code> for a business to only get that business (see <em>Business method<\/em> under Parameters below).<\/p>\n\n<h3>Parameters<\/h3>\n\n<p>All parameters are optional. There are two methods, Business and Search. Use Business if you know the ID of the business you want to show. See below for more details.<\/p>\n\n<ul>\n<li><code>align<\/code> accepts left, right, center, or nothing. If you don't define align, it will just be a block element. You can configure all this stuff in the CSS or your own CSS.<\/li>\n<\/ul>\n\n<p><em>Business method<\/em><\/p>\n\n<ul>\n<li><code>id<\/code> (required) is the ID of the business. It is the last part of the Yelp URL of its Yelp page. Ex: <code>http:\/\/www.yelp.com\/biz\/the-waterboy-sacramento<\/code>, the id is <code>the-waterboy-sacramento<\/code>. This is the <em>only<\/em> parameter you need to set to use this method.<\/li>\n<\/ul>\n\n<p><em>Search method<\/em><\/p>\n\n<ul>\n<li><code>term<\/code> is the search term that you would use if you were just entering it in a Yelp search. Default is \"Four Barrel\", but might change.<\/li>\n<li><code>location<\/code> (required) is the location part of the search, exactly like when you use Yelp at yelp.com. Default is \"San Francisco\", but might change.<\/li>\n<li><code>limit<\/code> is the number of businesses that Yelp will return. Default is 1.<\/li>\n<li><code>sort<\/code> is the Yelp sorting method, 0 (default) is Best Match, 1 is Distance, and 2 is Highest Rated.<\/li>\n<\/ul>","raw_excerpt":"Just show a flippin Yelp blurb for a business. Name, Rating, Review Count.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/11005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=11005"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/coffeesnobdavis"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=11005"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=11005"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=11005"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=11005"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=11005"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=11005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}