Brad Arsenault (dot com)
The Blog of Brad
The Blog of Brad
This is the culmination of a couple hours of work on Friday (the 22nd of January) night. It’s near feature complete, and fully functional. Take a look!
Files: (save as .pl file to run it.) **This code was last tested/updated on March 7, 2010, updated from original code posted here**
So far there have been a lot of changes as follows:
http:// prefixes to URLs, detects for invalid URLs (check code to see what it does)API=3 webpage output which reveals all of the information that the JSON (API=4) reveals; total views, unique views (by IP), date created, date last used, and how many other short codes exist pointing to the same URLAPI=4 now displays how many other shortcodes point to that same URLlist.pl back to not using threadsPerl.css now has a span tag for use with the Ajax on index.plsubs.pl in the &setMessage() sub routine.
stats.plindex.pl, use a button in place of the “Quick” links, and have the enter key automatically do the Ajaxshorten.pl for Ajax supportindex.pl to make it more portableFuture features include:
What do you think?
FWIW this code is free for you to use, however if you use or modify this code please do it with attribution and submit changes to be shared among anyone interested.
This code is available without warranty or guarantee.
Twitter links powered by Tweet This v1.6.1, a WordPress plugin for Twitter.