Skip to content

Commit

Permalink
Added livememe.com support.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jul 9, 2013
1 parent f4939b4 commit b998e79
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions feed/index.php
Expand Up @@ -108,6 +108,14 @@ function process_item($item, $url)
$imgid = $matches[3];
$url = "http://i.qkme.me/$imgid.jpg";
} // else if
else if (preg_match('/^.*?\:\/\/(.*?\.|)livememe\.com\/(.*?)$/', $url, $matches) > 0)
{
// pull livememe image out of base URL.
$appendimg = true;
$credithtml = "<br/><font size='-2'><a href='$url'>view this at livememe.com</a></font>";
$imgid = $matches[2];
$url = "http://i.lvme.me/$imgid.jpg";
} // else if
} // if

else // URL filename has an extension.
Expand Down

0 comments on commit b998e79

Please sign in to comment.