This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
136 lines (94 loc) · 6.21 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
=== EndomondoWP ===
Contributors: Odyno
Tags: Endomondo, Sport, Tracker, embedding, GPS, Fitness, Wellness
Donate link: http://www.staniscia.net/donate
Requires at least: 3.4.2
Tested up to: 3.9.2
Stable tag: 0.0.5
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Embed Endomondo workouts on Wordpress Blog
== Description ==
[Endomondo](http://www.endomondo.com/) is a sports community based on free real-time GPS tracking of running, cycling, etc. Bring your mobile on the track and get a complete training log. You can show your workout on Wordpress with [Endomondo WP]( http://www.staniscia.net/endomondowp/ ).
Download the plugin from WordPress Site, install it and add EndomondoWP on page/post
It’s easy, add the shortcode *[ endomondowp user=“XXXX” ]* and swap *“XXXX”* with your Endomondo ID. You can find your id on URL of your endomondo profile [http://www.endomondo.com/profile/XXXX]()
[youtube https://www.youtube.com/watch?v=kv5JaaccCk8]
= DEMO and INFO =
You can find more [info](http://www.staniscia.net/endomondowp) and [demo of plugin](http://www.staniscia.net/workout) on plugin homesite.
= It's opened to extensions =
You can use it on your plugin or into "Page Template" (see [Page Templates « WordPress Codex ](http://codex.wordpress.org/Page_Templates) ) with the function do_endomondowp(...) or with 4 custom actions!!
= Configure it =
If you want to control the view, you can add these attributes on shortcode
* user: The endomondo User ID
* type: The type of view (default is 'last-workout')
* id: unique id of element (default is random number)
* width: the width of page (default is 680)
* height: the height of page (default is 600)
= For designers =
If you want to customize the style of view, you can add css and use the hook!!
= For developer =
You can use the EndomondoWP on your plugin! Otherwise you can use it on your current theme. In according to Codex, you can modify the current theme with ["Child Themes « WordPress Codex"](http://codex.wordpress.org/Child_Themes),
with a new ["Page Templates « WordPress Codex"](http://codex.wordpress.org/Page_Templates) or simply modify directly the php file of theme. In any of this case you can add a invocation of function *do_endomondowp(...)* and you will have same action of shortcode.
Also the parameters of function are the same of shortcode.
Otherwise on your plugin or on your *function.php* you can add one hook to one of 4 action and you can run your custom code.
The allowed action are show below and every action have the same parameter of *do_endomondowp(...)* function:
* pre_ewp_show action. It's called before *do_endomondowp(...)* function
* post_ewp_show action. It's called after *do_endomondowp(...)* function
* pre_ewp_shortcode action. It's called before invocation of all shortcode [endomondowp ...]
* post_ewp_shortcode action. It's called after invocation of all shortcode [endomondowp ...]
## Disclaimer, legalese and everything else.
*This is not affiliated or endorset by Endomondo, or any other party.*
This software available on the site is provided "as is" and any expressed or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall Alessandro Staniscia, or any of their contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
== Installation ==
EndomondoWP can be installed using integrated WordPress plugin installer or manually.
= Integrated WordPress plugin installer method =
* Go to Plugins > Add New.
* Under Search, type in ’EndomondoWP’.
* Click Install Now to install the WordPress Plugin.
* A popup window will ask you to confirm your wish to install the Plugin.
* If this is the first time you've installed a WordPress Plugin, enter the FTP login credential information. If you've installed a Plugin before, it will still have the login information.
* Click Proceed to continue with the installation. The resulting installation screen will list the installation as successful or note any problems during the install.
* If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.
= Manual method =
* Upload ’EndomondoWp ’ folder from EndomondoWp.zip file downloaded from EndomondoWp WordPress plugin directory page to the ’/wp-content/plugins/’ directory.
* Activate ’EndomondoWp’ plugin through the ’Plugins’ menu in WordPress.
== Screenshots ==
1. Screenshot with all views
2. Screenshot Shortcode *type="last-workout"*
3. Screenshot Shortcode *type="workout-list"*
4. Screenshot Shortcode *type="event"*
5. Screenshot Shortcode *type="team"*
6. Screenshot Shortcode *Edit forms*
== Credits ==
Copyright 2012 Alessandro Staniscia (email : [email protected])
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
== Changelog ==
= ToDo =
* I18n
= 0.0.5 =
* Added button Wordpress on editor
= 0.0.4 =
* Wrong release
= 0.0.3 =
* Removed new line
= 0.0.2 =
* Add view event
* Add view team
* Add view challenge
* Admin Changed with more info
* Bugfix and removed broken link
= 0.0.1 =
* Review Baseline
= 0.0.0 =
* Baseline to Release
== Upgrade Notice ==
None.