<?php
/**
* description: Generates a static plain-text link list for URL sharing
*
*/
// escape
$url = htmlspecialchars(urlencode($_REQUEST["url"]), ENT_QUOTES|ENT_HTML5, "UTF-8");
// output
print "
<span class=social-share-links>
<a href=https://plus.google.com/share?url=$url title=google+>g+</a>
<a href=https://www.facebook.com/sharer/sharer.php?u=$url title=facebook>fb</a>
<a href=https://twitter.com/intent/tweet?url=$url title=twitter>tw</a>
<a href=http://reddit.com/submit?url=$url title=reddit>rd</a>
<a href=https://www.linkedin.com/shareArticle?mini=true&url=$url title=linkedin>in</a>
<a href=https://www.stumbleupon.com/submit?url=$url title=stumbleupon>su</a>
<a href=https://del.icio.us/post?url=$url title=delicious>dl</a>
</span>
";