diff --git a/data/cache.txt b/data/cache.txt index 9e26dfe..1f46e02 100644 --- a/data/cache.txt +++ b/data/cache.txt @@ -1 +1 @@ -{} \ No newline at end of file +{"twitter":1318573983,"github":1318573984,"hulu":1318573682,"lastfm":1318574233,"sc2ranks":1318573683,"steam":1318573683,"wow":1318574254} \ No newline at end of file diff --git a/data/index.txt b/data/index.txt index 9e26dfe..f980eda 100644 --- a/data/index.txt +++ b/data/index.txt @@ -1 +1 @@ -{} \ No newline at end of file +{"twitter":{"text":"Vampire monkey http:\/\/t.co\/Bs3JiaP9<\/a>","time":1318543847},"github":{"commit":"Handle shows without series and correctly affiliate title with title and series with series.","repo":"WIA","url":"https:\/\/github.com\/atomaka\/WIA"},"hulu":{"series":"Not Available","title":"CollegeHumor Sketches","time":1318552693,"url":"http:\/\/www.hulu.com\/watch\/288359\/collegehumor-sketches-the-six-girls-youll-date-in-college#http%3A%2F%2Fwww.hulu.com%2Ffeed%2Fhistory%2Fatomaka","thumb":"http:\/\/thumbnails.hulu.com\/364\/40050364\/40050364_145x80_generated.jpg"},"lastfm":{"song":"Louie Louie","artist":"The Kingsmen","time":1318514820,"url":"http:\/\/www.last.fm\/music\/The+Kingsmen\/_\/Louie+Louie","cover":"http:\/\/images.amazon.com\/images\/P\/B000001V79.01._SCMZZZZZZZ_.jpg"},"sc2ranks":{"league":"platinum","division":"Division Scimitar Indigo","rank":97,"points":0,"wins":0},"steam":{"hours":12.9,"recent":[{"name":"Team Fortress 2","link":"http:\/\/store.steampowered.com\/app\/440","hours":11.4},{"name":"Portal 2","link":"http:\/\/store.steampowered.com\/app\/620","hours":1.5}]},"wow":[{"name":"Veincane","level":85,"class":"druid","progression":500,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Veincane\/advanced","spec_icon":"spell_nature_starfall","spec_name":"Balance"},{"name":"Getburnt","level":85,"class":"priest","progression":6,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Getburnt\/advanced","spec_icon":"spell_holy_powerwordshield","spec_name":"Discipline"},{"name":"Toppazz","level":85,"class":"rogue","progression":5,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Toppazz\/advanced","spec_icon":"ability_rogue_eviscerate","spec_name":"Assassination"},{"name":"Ttg","level":85,"class":"warrior","progression":4,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Ttg\/advanced","spec_icon":"ability_warrior_defensivestance","spec_name":"Protection"},{"name":"Gaffer","level":85,"class":"deathknight","progression":3,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Gaffer\/advanced","spec_icon":"spell_deathknight_bloodpresence","spec_name":"Blood"},{"name":"Levita","level":85,"class":"shaman","progression":2,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Levita\/advanced","spec_icon":"spell_nature_magicimmunity","spec_name":"Restoration"},{"name":"Toopro","level":85,"class":"mage","progression":1,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Toopro\/advanced","spec_icon":"spell_holy_magicalsentry","spec_name":"Arcane"},{"name":"Loveglove","level":70,"class":"hunter","progression":0,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Loveglove\/advanced","spec_icon":"ability_hunter_focusedaim","spec_name":"Marksmanship"},{"name":"Notgaffer","level":80,"class":"warlock","progression":0,"armory":"http:\/\/us.battle.net\/wow\/en\/character\/crushridge\/Notgaffer\/advanced","spec_icon":"spell_shadow_metamorphosis","spec_name":"Demonology"}]} \ No newline at end of file diff --git a/public_html/js/niftycube.js b/public_html/js/niftycube.js deleted file mode 100644 index 345a7e2..0000000 --- a/public_html/js/niftycube.js +++ /dev/null @@ -1,319 +0,0 @@ -/* Nifty Corners Cube - rounded corners with CSS and Javascript -Copyright 2006 Alessandro Fulciniti (a.fulciniti@html.it) - -This program is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. - -This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ - -var niftyOk=(document.getElementById && document.createElement && Array.prototype.push); -var niftyCss=false; - -String.prototype.find=function(what){ -return(this.indexOf(what)>=0 ? true : false); -} - -var oldonload=window.onload; -if(typeof(NiftyLoad)!='function') NiftyLoad=function(){}; -if(typeof(oldonload)=='function') - window.onload=function(){oldonload();AddCss();NiftyLoad()}; -else window.onload=function(){AddCss();NiftyLoad()}; - -//commented out who knows if this was bad. -function AddCss(){ -niftyCss=true; -//var l=CreateEl("link"); -//l.setAttribute("type","text/css"); -//l.setAttribute("rel","stylesheet"); -//l.setAttribute("href","niftyCorners.css"); -//l.setAttribute("media","screen"); -//document.getElementsByTagName("head")[0].appendChild(l); -} - -function Nifty(selector,options){ -if(niftyOk==false) return; -if(niftyCss==false) AddCss(); -var i,v=selector.split(","),h=0; -if(options==null) options=""; -if(options.find("fixed-height")) - h=getElementsBySelector(v[0])[0].offsetHeight; -for(i=0;i0;i--) - d.appendChild(CreateStrip(i,side,color,border,btype)); -el.style.paddingBottom=0; -el.appendChild(d); -} - -function CreateStrip(index,side,color,border,btype){ -var x=CreateEl("b"); -x.className=btype+index; -x.style.backgroundColor=color; -x.style.borderColor=border; -if(side=="left"){ - x.style.borderRightWidth="0"; - x.style.marginRight="0"; - } -else if(side=="right"){ - x.style.borderLeftWidth="0"; - x.style.marginLeft="0"; - } -return(x); -} - -function CreateEl(x){ -return(document.createElement(x)); -} - -//added to fix ie8 width problem -function getIeVersion() { - var rv = -1; - if (navigator.appName == 'Microsoft Internet Explorer') { - var ua = navigator.userAgent; - var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); - if (re.exec(ua) != null) { - rv = parseFloat(RegExp.$1); - } - } - return rv; -} -//end add - -function FixIE(el){ -if(el.currentStyle!=null && el.currentStyle.hasLayout!=null && el.currentStyle.hasLayout==false) - //el.style.display="inline-block"; //removed to fix ie8 width problem - //added to fix ie8 width problem - var ver = getIeVersion(); - if (ver < 8) { - el.style.display="inline-block"; - } - //end add -} - -function SameHeight(selector,maxh){ -var i,v=selector.split(","),t,j,els=[],gap; -for(i=0;imaxh) maxh=els[i].offsetHeight; - els[i].style.height="auto"; - } -for(i=0;i0){ - t=CreateEl("b");t.className="niftyfill";t.style.height=gap+"px"; - nc=els[i].lastChild; - if(nc.className=="niftycorners") - els[i].insertBefore(t,nc); - else els[i].appendChild(t); - } - } -} - -function getElementsBySelector(selector){ -var i,j,selid="",selclass="",tag=selector,tag2="",v2,k,f,a,s=[],objlist=[],c; -if(selector.find("#")){ //id selector like "tag#id" - if(selector.find(" ")){ //descendant selector like "tag#id tag" - s=selector.split(" "); - var fs=s[0].split("#"); - if(fs.length==1) return(objlist); - f=document.getElementById(fs[1]); - if(f){ - v=f.getElementsByTagName(s[1]); - for(i=0;i