Syber Blog - Your Source 4 All Web 2.0

Archive for the ‘PHP’ Category

Display Twitter Followers as Text – Syberplanet API

Thursday, May 28th, 2009

Syberplanet Twitter API

Making the Call

http://api.syberplanet.net/twitter/?u=Twitter+Username

Input Variables

Username - u
Output - output

Output Types

  • Text
  • Javascript

(more…)

31 htaccess Snippets

Saturday, May 23rd, 2009

htaccess snippets

Redirect Everyone Except IP address to alternate page

ErrorDocument 403 http://www.yahoo.com/
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

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

Album Art API

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…)




Advertise on Syber Blog
Earn $$ with WidgetBucks!