Added StumbleUpon

This commit is contained in:
Jaex 2014-07-15 03:59:47 +03:00
parent fd7769d91e
commit 2b25cf7ed3
3 changed files with 640 additions and 635 deletions

File diff suppressed because it is too large Load diff

View file

@ -1069,12 +1069,15 @@ public void ShareURL(string url)
case URLSharingServices.LinkedIn: case URLSharingServices.LinkedIn:
URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl); URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl);
break; break;
case URLSharingServices.VK: case URLSharingServices.StumbleUpon:
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl); URLHelpers.OpenURL("http://www.stumbleupon.com/submit?url=" + encodedUrl);
break; break;
case URLSharingServices.Delicious: case URLSharingServices.Delicious:
URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl); URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl);
break; break;
case URLSharingServices.VK:
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
break;
} }
} }
} }

View file

@ -160,10 +160,12 @@ public enum URLSharingServices
Tumblr, Tumblr,
[Description("LinkedIn")] [Description("LinkedIn")]
LinkedIn, LinkedIn,
[Description("VK")] [Description("StumbleUpon")]
VK, StumbleUpon,
[Description("Delicious")] [Description("Delicious")]
Delicious Delicious,
[Description("VK")]
VK
} }
public enum HttpMethod public enum HttpMethod