{"id":21752,"date":"2013-01-25T19:11:45","date_gmt":"2013-01-25T19:11:45","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/strava-ride-details\/"},"modified":"2014-03-23T21:13:28","modified_gmt":"2014-03-23T21:13:28","slug":"strava-ride-details","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/strava-ride-details\/","author":8565992,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.1","stable_tag":"1.2.1","tested":"3.7.41","requires":"3.4","requires_php":"","requires_plugins":"","header_name":"Strava Ride Details","header_author":"Endo Creative","header_description":"","assets_banners_color":"f25716","last_updated":"2014-03-23 21:13:28","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/endocreative.com\/","header_plugin_uri":"http:\/\/www.endocreative.com","header_author_uri":"http:\/\/www.endocreative.com","rating":4,"author_block_rating":0,"active_installs":50,"downloads":4128,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":0},"assets_icons":[],"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"880570","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.1","1.2","1.2.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"658862","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"658862","resolution":"2","location":"assets"}},"screenshots":{"1":"Adding the shortcode","2":"Ride details styled using CSS"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16163,80,22202],"plugin_category":[43],"plugin_contributors":[81420],"plugin_business_model":[],"class_list":["post-21752","plugin","type-plugin","status-publish","hentry","plugin_tags-biking","plugin_tags-shortcode","plugin_tags-strava","plugin_category-customization","plugin_contributors-endocreative","plugin_committers-endocreative"],"banners":{"banner":"https:\/\/ps.w.org\/strava-ride-details\/assets\/banner-772x250.jpg?rev=880570","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/strava-ride-details_f25716.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/strava-ride-details\/assets\/screenshot-1.png?rev=658862","caption":"Adding the shortcode"},{"src":"https:\/\/ps.w.org\/strava-ride-details\/assets\/screenshot-2.png?rev=658862","caption":"Ride details styled using CSS"}],"raw_content":"<!--section=description-->\n<p>Strava Ride Details allows you to display Strava ride details from a specific ride in your posts and pages using a shortcode. It uses v3 of Strava's API, and uses OAuth for authentication.<\/p>\n\n<p>The details displayed by default are:<\/p>\n\n<ul>\n<li>Ride Name<\/li>\n<li>Distance<\/li>\n<li>Elevation Gain<\/li>\n<li>Moving Time<\/li>\n<li>Location<\/li>\n<\/ul>\n\n<p>Each of the details can be turned on or off. The details are displayed in an unordered list so you can style the elements however you would like using CSS.<\/p>\n\n<p>You can also choose to display units in mi\/ft or km\/m.<\/p>\n\n<p>While Strava does offer their own embed widget, this plugin:<\/p>\n\n<ul>\n<li>does not require an iframe<\/li>\n<li>allows you to style the results to match your site<\/li>\n<li>will work in responsive themes<\/li>\n<\/ul>\n\n<p>By default all details are display using the shortcode <code>[strava id=\"ride_id\"]<\/code>, where ride_id is the string of digits at the end of the URL when viewing a single ride on Strava.<\/p>\n\n<p>If you would like to remove a detail, just set it to false in the shortcode. For example, if you would like to show only the distance, then use this shortcode:<\/p>\n\n<pre><code>[strava id=\"ride_id\" name=\"false\" elevation=\"false\" moving_time=\"false\" location=\"false\"]\n<\/code><\/pre>\n\n<h3>Plugin Setup<\/h3>\n\n<ol>\n<li>Log in to your Strava account and create an application [http:\/\/www.strava.com\/developers]<\/li>\n<li>Make sure the redirect URI of your application is the same domain as your site<\/li>\n<li>Copy your client ID and client secret from your application into the Strava Ride Details settings page<\/li>\n<li>Click \"Connect with Strava\" on the settings page to generate an access token<\/li>\n<li>Save settings<\/li>\n<\/ol>\n\n<h3>Add to page\/post<\/h3>\n\n<ol>\n<li>Insert <code>[strava id=\"ride_id\"]<\/code> in your post or page<\/li>\n<\/ol>\n\n<!--section=installation-->\n<ol>\n<li>Upload the folder <code>strava-ride-details<\/code> 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=changelog-->\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Added link to settings page on Plugins page<\/li>\n<li>Added instructions for plugin setup on settings page<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Updated to use version 3 of the Strava API.<\/li>\n<li>Added settings page<\/li>\n<li>Added authentication with Strava via OAuth.<\/li>\n<li>Added ability to choose either English or Metric display units in settings.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Plugin released.<\/li>\n<\/ul>","raw_excerpt":"This plugin allows you to display Strava ride details from a specific ride in your posts and pages using a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/21752","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=21752"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/endocreative"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=21752"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=21752"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=21752"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=21752"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=21752"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=21752"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}