什么啊.0.000
2011年03月20日
个人中心feeds
//document.domain="qq.com";
// siDomain = G_Param.siDomain || "qzonestyle.gtimg.cn";
var _re = document.referrer,
exp = /^http:\/\/([\d\w-]+)(?:\.s\d\d?)?\.(qzone|pengyou)\.qq\.com/i;
exp2 = /^http:\/\/([a-zA-Z0-9\-]+)?\.?(qzs|pengyou)\.qq\.com[\/]*#?/i;
//debugger;
var
G_Param,
g_sid,
g_imgd,
g_wd,
g_rd,
g_V;
if(exp.test(_re)||exp2.test(_re)){
document.domain="qq.com";
g_sid = parent.siDomain || parent.parent.siDomain || "qzonestyle.gtimg.cn";
g_sid = g_sid.replace("http://","");
g_imgd = parent.imgcacheDomain || parent.parent.siDomain || "imgcache.qq.com";
g_DPrefix = parent.g_DPrefix || parent.parent.g_DPrefix || "";
g_rd = "r."+g_DPrefix+"qzone.qq.com";
g_wd = "w."+g_DPrefix+"qzone.qq.com";
g_imgd = g_imgd.replace("http://","");
g_V = parent.g_V || parent.parent.g_V || {
"qz":"_2.0.7.8"
};
}else{
window.OUTSIDE_DOMAIN = true;
g_sid = "qzonestyle.gtimg.cn";
g_imgd = "imgcache.qq.com";
g_rd = "r.qzone.qq.com";
g_wd = "w.qzone.qq.com";
g_V = {
"qz":"_2.0.7.8"
};
}
function commonDictionarySplit(s, esp, vq, eq) {
var res = {};
if(!s || typeof(s) != "string"){
return res;
}
if (typeof(esp) != 'string') {
esp = "&";
}
if (typeof(vq) != 'string') {
vq = "";
}
if (typeof(eq) != 'string') {
eq = "=";
}
var l = s.split(vq + esp),
len = l.length,
tmp,
t = eq + vq,
p;
if(vq){
tmp = l[len - 1].split(vq);
l[len - 1] = tmp.slice(0, tmp.length - 1).join(vq);
}
for (var i = 0, len; i 1) {
res[tmp[0]] = tmp.slice(1).join(t);
continue;
}
}
res[l] = true;
}
return res;
}
var _jsBegin='',
cssBegin = '';
G_Param = commonDictionarySplit(location.search.substring(1),"&");
//debugger;
if(!G_Param){
G_Param = frameElement.G_Param || {};
}
if(typeof(G_Param.hideExtend)=="string"){
G_Param.hideExtend = (G_Param.hideExtend != "false");
}
if(typeof(G_Param.mode)=="undefined"||isNaN(parseInt(G_Param.mode,10))){
G_Param.mode = 1;
}
if(typeof(G_Param.style)=="undefined"||isNaN(parseInt(G_Param.style,10))){
G_Param.style = 100;
}
G_Param.CSSQueue = [];
var G_sExp = /[\|!|-|\(|\)]/ig;
if(typeof(G_Param.specialCSS)!="undefined"&&!G_sExp.test(G_Param.specialCSS)){
G_Param.CSSQueue.push(([cssBegin,decodeURIComponent(G_Param.specialCSS),cssEnd]).join(""));
}else{
if(G_Param.style==100){//这个样式只在独立版用
G_Param.CSSQueue.push(([cssBegin,").join]http://",g_sid,'/qzonestyle/qzone_icenter_v1/css/ihome_v2.css',cssEnd]).join(""));
}else{
G_Param.CSSQueue.push(([cssBegin,").join]http://",g_sid,'/qzonestyle/qzone_client_v5/css/',G_Param.style,'/color_out.css',cssEnd]).join(""));
}
}
if(typeof(G_Param.DEFAULT_FEEDS_CGI)=="undefined"){
G_Param.DEFAULT_FEEDS_CGI = "http://"+g_rd+"/cgi-bin/feeds/feeds_ic_unaided_xml";
//G_Param.DEFAULT_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_interactive_xml";
}
if(typeof(G_Param.MORE_FEEDS_CGI)=="undefined"){
G_Param.MORE_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_more_mix";
//G_Param.DEFAULT_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_interactive_xml";
}
if(typeof(G_Param.i_uin)=="undefined"){
G_Param.i_uin = window.OUTSIDE_DOMAIN?0:(parent.g_iUin||parent.parent.g_iUin||0);
}
if(typeof(G_Param.i_login_uin)=="undefined"){
G_Param.i_login_uin = window.OUTSIDE_DOMAIN?0:(parent.g_iLoginUin||parent.parent.g_iLoginUin||0);
}
if(typeof(G_Param.mode)=="undefined"){
G_Param.mode = 3;
}
if(typeof(G_Param.needDelOpr)=="string"){
G_Param.needDelOpr = (G_Param.needDelOpr != "false");
}
if(typeof(G_Param.noOpr)=="undefined"){
G_Param.noOpr = 1;
}
if(typeof(G_Param.view)=="undefined"){
G_Param.view = 1;
}
if(typeof(G_Param.scope)=="undefined"){
G_Param.scope = 0;
}
if(typeof(G_Param.filter)=="undefined"){
G_Param.filter = "all";
}
if(typeof(G_Param.max)=="undefined"){
G_Param.max = -1;
}
if(typeof(G_Param.heightHack)!="undefined"){//fix iframe高度
G_Param.heightHack = parseInt(G_Param.heightHack,10);
}
if(typeof(G_Param.errmsg)=="undefined"){
G_Param.errmsg = "主人最近比较忙,没有公开的空间更新。";
}
if(typeof(G_Param.PV_ACT_DOMAIN)=="undefined"){
G_Param.PV_ACT_DOMAIN = "ic2act";
}
if(typeof(G_Param.PV_DOMAIN)=="undefined"){
G_Param.PV_DOMAIN = "ic2";
}
var tmp_begin = '\
\
|||||||||\' nick=\'\'>\
\
',
tmp_end = '',
host_tmp = '" link="0" id="feed______">\
">\
\
">\
" class="nickname q_namecard c_tx q_des" link="nameCard_ des_"> \
____">\
" title="" param="|||||||||">\
\
\
___" style="display:">\
\
\
',
friend_tmp = '" link="1" id="feed______">\
">\
\
">\
" class="nickname q_namecard c_tx q_des" link="nameCard_ des_"> \
____">\
" title="" param="|||||||||">\
\
\
___" style="display:">\
\
\
';
var coreCSSQueue = [
cssBegin,"http://",g_sid,'/qzonestyle/qzone_client_v5/css/ifeeds_template.css',cssEnd,
cssBegin,"http://",g_sid,'/qzone_v5/app/app_icon.css',cssEnd
];
coreCSSQueue = coreCSSQueue.concat(G_Param.CSSQueue);
document.write(coreCSSQueue.join(''));
var _csfeedsdata = {
result:'',
message:'',
main:{
needFold:'',
icServerTime:'1300605262',
icView:'0',
2011年03月20日
个人中心feeds
//document.domain="qq.com";
// siDomain = G_Param.siDomain || "qzonestyle.gtimg.cn";
var _re = document.referrer,
exp = /^http:\/\/([\d\w-]+)(?:\.s\d\d?)?\.(qzone|pengyou)\.qq\.com/i;
exp2 = /^http:\/\/([a-zA-Z0-9\-]+)?\.?(qzs|pengyou)\.qq\.com[\/]*#?/i;
//debugger;
var
G_Param,
g_sid,
g_imgd,
g_wd,
g_rd,
g_V;
if(exp.test(_re)||exp2.test(_re)){
document.domain="qq.com";
g_sid = parent.siDomain || parent.parent.siDomain || "qzonestyle.gtimg.cn";
g_sid = g_sid.replace("http://","");
g_imgd = parent.imgcacheDomain || parent.parent.siDomain || "imgcache.qq.com";
g_DPrefix = parent.g_DPrefix || parent.parent.g_DPrefix || "";
g_rd = "r."+g_DPrefix+"qzone.qq.com";
g_wd = "w."+g_DPrefix+"qzone.qq.com";
g_imgd = g_imgd.replace("http://","");
g_V = parent.g_V || parent.parent.g_V || {
"qz":"_2.0.7.8"
};
}else{
window.OUTSIDE_DOMAIN = true;
g_sid = "qzonestyle.gtimg.cn";
g_imgd = "imgcache.qq.com";
g_rd = "r.qzone.qq.com";
g_wd = "w.qzone.qq.com";
g_V = {
"qz":"_2.0.7.8"
};
}
function commonDictionarySplit(s, esp, vq, eq) {
var res = {};
if(!s || typeof(s) != "string"){
return res;
}
if (typeof(esp) != 'string') {
esp = "&";
}
if (typeof(vq) != 'string') {
vq = "";
}
if (typeof(eq) != 'string') {
eq = "=";
}
var l = s.split(vq + esp),
len = l.length,
tmp,
t = eq + vq,
p;
if(vq){
tmp = l[len - 1].split(vq);
l[len - 1] = tmp.slice(0, tmp.length - 1).join(vq);
}
for (var i = 0, len; i 1) {
res[tmp[0]] = tmp.slice(1).join(t);
continue;
}
}
res[l] = true;
}
return res;
}
var _jsBegin='',
cssBegin = '';
G_Param = commonDictionarySplit(location.search.substring(1),"&");
//debugger;
if(!G_Param){
G_Param = frameElement.G_Param || {};
}
if(typeof(G_Param.hideExtend)=="string"){
G_Param.hideExtend = (G_Param.hideExtend != "false");
}
if(typeof(G_Param.mode)=="undefined"||isNaN(parseInt(G_Param.mode,10))){
G_Param.mode = 1;
}
if(typeof(G_Param.style)=="undefined"||isNaN(parseInt(G_Param.style,10))){
G_Param.style = 100;
}
G_Param.CSSQueue = [];
var G_sExp = /[\|!|-|\(|\)]/ig;
if(typeof(G_Param.specialCSS)!="undefined"&&!G_sExp.test(G_Param.specialCSS)){
G_Param.CSSQueue.push(([cssBegin,decodeURIComponent(G_Param.specialCSS),cssEnd]).join(""));
}else{
if(G_Param.style==100){//这个样式只在独立版用
G_Param.CSSQueue.push(([cssBegin,").join]http://",g_sid,'/qzonestyle/qzone_icenter_v1/css/ihome_v2.css',cssEnd]).join(""));
}else{
G_Param.CSSQueue.push(([cssBegin,").join]http://",g_sid,'/qzonestyle/qzone_client_v5/css/',G_Param.style,'/color_out.css',cssEnd]).join(""));
}
}
if(typeof(G_Param.DEFAULT_FEEDS_CGI)=="undefined"){
G_Param.DEFAULT_FEEDS_CGI = "http://"+g_rd+"/cgi-bin/feeds/feeds_ic_unaided_xml";
//G_Param.DEFAULT_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_interactive_xml";
}
if(typeof(G_Param.MORE_FEEDS_CGI)=="undefined"){
G_Param.MORE_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_more_mix";
//G_Param.DEFAULT_FEEDS_CGI = "http://ic.qzone.qq.com/cgi-bin/feeds/feeds_ic_interactive_xml";
}
if(typeof(G_Param.i_uin)=="undefined"){
G_Param.i_uin = window.OUTSIDE_DOMAIN?0:(parent.g_iUin||parent.parent.g_iUin||0);
}
if(typeof(G_Param.i_login_uin)=="undefined"){
G_Param.i_login_uin = window.OUTSIDE_DOMAIN?0:(parent.g_iLoginUin||parent.parent.g_iLoginUin||0);
}
if(typeof(G_Param.mode)=="undefined"){
G_Param.mode = 3;
}
if(typeof(G_Param.needDelOpr)=="string"){
G_Param.needDelOpr = (G_Param.needDelOpr != "false");
}
if(typeof(G_Param.noOpr)=="undefined"){
G_Param.noOpr = 1;
}
if(typeof(G_Param.view)=="undefined"){
G_Param.view = 1;
}
if(typeof(G_Param.scope)=="undefined"){
G_Param.scope = 0;
}
if(typeof(G_Param.filter)=="undefined"){
G_Param.filter = "all";
}
if(typeof(G_Param.max)=="undefined"){
G_Param.max = -1;
}
if(typeof(G_Param.heightHack)!="undefined"){//fix iframe高度
G_Param.heightHack = parseInt(G_Param.heightHack,10);
}
if(typeof(G_Param.errmsg)=="undefined"){
G_Param.errmsg = "主人最近比较忙,没有公开的空间更新。";
}
if(typeof(G_Param.PV_ACT_DOMAIN)=="undefined"){
G_Param.PV_ACT_DOMAIN = "ic2act";
}
if(typeof(G_Param.PV_DOMAIN)=="undefined"){
G_Param.PV_DOMAIN = "ic2";
}
var tmp_begin = '\
\
|||||||||\' nick=\'\'>\
\
',
tmp_end = '',
host_tmp = '" link="0" id="feed______">\
">\
\
">\
" class="nickname q_namecard c_tx q_des" link="nameCard_ des_"> \
____">\
" title="" param="|||||||||">\
\
\
___" style="display:">\
\
\
',
friend_tmp = '" link="1" id="feed______">\
">\
\
">\
" class="nickname q_namecard c_tx q_des" link="nameCard_ des_"> \
____">\
" title="" param="|||||||||">\
\
\
___" style="display:">\
\
\
';
var coreCSSQueue = [
cssBegin,"http://",g_sid,'/qzonestyle/qzone_client_v5/css/ifeeds_template.css',cssEnd,
cssBegin,"http://",g_sid,'/qzone_v5/app/app_icon.css',cssEnd
];
coreCSSQueue = coreCSSQueue.concat(G_Param.CSSQueue);
document.write(coreCSSQueue.join(''));
var _csfeedsdata = {
result:'',
message:'',
main:{
needFold:'',
icServerTime:'1300605262',
icView:'0',