Skip to content

Commit 5ee2b6c

Browse files
author
IACM
committed
Update README.md
1 parent e5d61b8 commit 5ee2b6c

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ If you want place plugin via fast CDN (special thanks to [jsDelivr](http://www.j
3737

3838
```javascript
3939
<!-- Latest 3.2.x goodshare.js minify version from jsDelivr CDN -->
40-
<script src="https://cdn.jsdelivr.net/jquery.goodshare.js/3.2.3/goodshare.min.js"></script>
40+
<script src="https://cdn.jsdelivr.net/jquery.goodshare.js/3.2.4/goodshare.min.js"></script>
4141
```
4242

4343
For more speed and profit, use «all in one» solution from [jsDelivr](http://www.jsdelivr.com) CDN:
4444

4545
```javascript
4646
<!-- jQuery 1.11.3 minify version and latest 3.2.x goodshare.js minify version from jsDelivr CDN -->
47-
<script src="https://cdn.jsdelivr.net/g/jquery@1.11.3,jquery.goodshare.js@3.2.3"></script>
47+
<script src="https://cdn.jsdelivr.net/g/jquery@1.11.3,jquery.goodshare.js@3.2.4"></script>
4848
```
4949

5050
## List of supported social networks and microblogs
@@ -71,6 +71,7 @@ For more speed and profit, use «all in one» solution from [jsDelivr](http://ww
7171
* `ip` [Instapaper](http://www.instapaper.com)
7272
* `ra` [Readability](http://www.readability.com)
7373
* `xi` [Xing](http://www.xing.com)
74+
* `wp` [WordPress](http://www.wordpress.com)
7475

7576
If you don't see your social network, please [let us know](https://github.com/enjoyiacm/goodshare.js#developer) and we'll try to add it!
7677

@@ -173,7 +174,7 @@ Value of ``data-counter`` attribute, see in this list of supported social networ
173174
* `mr` [Мой Мир@Mail.Ru](http://my.mail.ru)
174175
* `gp` [Google Plus](http://plus.google.ru)
175176
* `li` [LinkedIn](http://linkedin.com)
176-
* `tw` [Twitter](http://twitter.com)
177+
* ~~`tw` [Twitter](http://twitter.com)~~
177178
* `tm` [tumblr](http://tumblr.com)
178179
* `pt` [Pinterest](http://pinterest.com)
179180
* `rd` [Reddit](http://reddit.com)
@@ -185,11 +186,13 @@ Value of ``data-counter`` attribute, see in this list of supported social networ
185186

186187
**Note:** ``StumbleUpon``, ``Pocket`` and ``Xing`` counters use [Yahoo Query Language](https://developer.yahoo.com/yql) (YQL). It may impose some restrictions on use, associated with limit queries to Yahoo (we try to find another solution for this, if you know — [write issue to us](https://github.com/enjoyiacm/goodshare.js/issues/new)).
187188

189+
**Note:** After stop supporting Twitter API v1.0 (20 Nov 2015), old way to get ``Twitter`` share counter is not working. But we search way to use Twitter API 1.1 to fix it (if you know how — [write issue to us](https://github.com/enjoyiacm/goodshare.js/issues/new)).
190+
188191
## Usage example
189192

190193
This example shows one of decoration options with all supported social networks.
191194

192-
![goodshare.js usage example github](http://goodshare.ru/assets/images/goodshare-usage-example-github-ver6.png)
195+
![goodshare.js usage example github](http://goodshare.ru/assets/images/goodshare-usage-example-github-ver7.png)
193196

194197
```html
195198
<!DOCTYPE html>
@@ -222,6 +225,7 @@ This example shows one of decoration options with all supported social networks.
222225
a[data-type="ip"] {background: #428bca;}
223226
a[data-type="ra"] {background: #990000;}
224227
a[data-type="xi"] {background: #cfdc00;}
228+
a[data-type="wp"] {background: #0087be;}
225229
a[data-type="tg"] {background: #0088cc;}
226230
a[data-type="vi"] {background: #8f5db7;}
227231
a[data-type="wa"] {background: #43d854;}
@@ -239,7 +243,7 @@ This example shows one of decoration options with all supported social networks.
239243
<a href="#" class="goodshare" data-type="mr">Мой Мир@Mail.Ru <span data-counter="mr"></span></a>
240244
<a href="#" class="goodshare" data-type="gp">Google Plus <span data-counter="gp"></span></a>
241245
<a href="#" class="goodshare" data-type="li">LinkedIn <span data-counter="li"></span></a>
242-
<a href="#" class="goodshare" data-type="tw">Twitter <span data-counter="tw"></span></a>
246+
<a href="#" class="goodshare" data-type="tw">Twitter</a>
243247
<a href="#" class="goodshare" data-type="lj">LiveJournal</a>
244248
<a href="#" class="goodshare" data-type="tm">tumblr <span data-counter="tm"></span></a>
245249
<a href="#" class="goodshare" data-type="bl">Blogger</a>
@@ -255,6 +259,7 @@ This example shows one of decoration options with all supported social networks.
255259
<a href="#" class="goodshare" data-type="ip">Instapaper</a>
256260
<a href="#" class="goodshare" data-type="ra">Readability</a>
257261
<a href="#" class="goodshare" data-type="xi">Xing <span data-counter="xi"></span></a>
262+
<a href="#" class="goodshare" data-type="wp">WordPress</a>
258263
</div>
259264
<div>
260265
<h2>For iOS/Android mobile devices</h2>
@@ -265,7 +270,7 @@ This example shows one of decoration options with all supported social networks.
265270
</div>
266271
<p>See goodshare.js on GitHub: <a href="https://github.com/enjoyiacm/goodshare.js" target="_blank">https://github.com/enjoyiacm/goodshare.js</a></p>.
267272
<!-- jQuery 1.11.3 minify version and latest 3.2.x goodshare.js minify version from jsDelivr CDN -->
268-
<script src="https://cdn.jsdelivr.net/g/jquery@1.11.3,jquery.goodshare.js@3.2.3"></script>
273+
<script src="https://cdn.jsdelivr.net/g/jquery@1.11.3,jquery.goodshare.js@3.2.4"></script>
269274
</body>
270275
</html>
271276
```

0 commit comments

Comments
 (0)