Collection of mostly command line tools / PHP scripts. Somewhat out of date.

⌈⌋ ⎇ branch:  scripts + snippets


Artifact [f0673f1a0f]

Artifact f0673f1a0f94ac61b66a3da94f9783d7291f29c9:

  • File social-media-links/social.ajax.php — part of check-in [c49ea11126] at 2014-12-13 17:36:28 on branch trunk — Retrieve count of backlinks to URL from various web services (Facebook, Google+, Twitter, Reddit, StumbleUpon, LinkedIn, Delicious, Pinterest) <em>Shallow merge of previous <code>php-scripts.fossil</code> repo.</em> (user: mario size: 287)

<?php
/**
 * description: Generates an image from the cumulative social media backlinks count
 *
 */


include("./social.count.php");
$num = @social_links_count(filter_var($_GET["url"], FILTER_SANITIZE_URL));

header("Content-Type: json/object; charset=UTF-8");
print json_encode($num);