Archive for the ‘PHP’ Category
Display Twitter Followers as Text – Syberplanet API
Thursday, May 28th, 2009
Making the Call
http://api.syberplanet.net/twitter/?u=Twitter+Username
Input Variables
Username - u
Output - output
Output - output
Output Types
- Text
- Javascript
31 htaccess Snippets
Saturday, May 23rd, 2009
Redirect Everyone Except IP address to alternate page
ErrorDocument 403 http://www.yahoo.com/
Order deny,allow
Order deny,allow
Deny from all
Allow from 208.113.134.190
When developing sites
AuthName “Under Development”
AuthUserFile /home/sitename.com/.htpasswd
AuthType basic
Require valid-user
Order deny,allow
Deny from all
Allow from 208.113.134.190 w3.org htmlhelp.com googlebot.com
Satisfy Any
AuthUserFile /home/sitename.com/.htpasswd
AuthType basic
Require valid-user
Order deny,allow
Deny from all
Allow from 208.113.134.190 w3.org htmlhelp.com googlebot.com
Satisfy Any
This lets google crawl the page, lets me access without a password, and lets my client access the page WITH a password. It also allows for XHTML and CSS validation! (w3.org)
(more…)
Album Art API – Syberplanet (Beta)
Tuesday, May 5th, 2009![]()
VARIABLES
Search Term : q
File Size : s
list images : l
Output mode : m
Query
Can be done in any form meaning with or without spaces
http://api.syberplanet.net/albumart/?q=song OR Artist+name
(more…)



