DDR爱好者之家 Design By 杰米
<html>
<head>
<title>笨狼CSDN爬虫</title>
<style>
body
{
font-size:12;
margin:20;
background-color:#eeeeee;
}
div
{
font-size:12;
border:1 solid navy;
margin-left:20;
}
input.num
{
width:20;
overflow:visible;
BORDER-RIGHT: 0px;
BORDER-TOP: 0px;
BORDER-LEFT: 0px;
BORDER-BOTTOM: 1px solid navy;
margin-left:-5;
margin-bottom:-2;
background-color:#eeeeee;
}
.worm
{
font-family:webdings;
font-size:30;
color:#663300;
}
</style>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
帖子号码<br>
<span class="worm" id="wormIcon">!</span>从: http://community.csdn.net/Expert/topic/
<input id="numStart1" value="3738" class="num">/
<input id="numStart2" value="3738400" class="num">
.xml?temp=.XXXXXXX
<br>
<span class="worm">"</span>到: http://community.csdn.net/Expert/topic/
<input id="numEnd1" value="3739" class="num">
/<input id="numEnd2" value="3748450" class="num">
.xml?temp=.XXXXXXX
<br/><br/>
爬行范围<br/>
<span class="worm">ß</span>
<select id="bigclassid" onchange="javascript:changeitem();">
<option value="0">全部社区</option>
<option value="3"selected>Web开发</option>
<option value="4">软件工程/管理</option>
<option value="5">企业开发</option>
<option value="6">专题开发</option>
<option value="7">多媒体/设计</option>
<option value="8">Linux/Unix社区</option>
<option value="9">硬件/嵌入开发</option>
<option value="10">Windows专区</option>
<option value="11">硬件使用</option>
<option value="13">软件培训/认证/考试</option>
<option value="14">扩充话题</option>
<option value="15">社区支持</option>
<option value="16">产品/厂家</option>
<option value="17">其他开发语言</option>
<option value="18">其他数据库开发</option>
<option value="20">计算机图书</option>
<option value="50">VC/MFC</option>
<option value="51">VB</option>
<option value="52">.NET技术</option>
<option value="53">Delphi</option>
<option value="54">Java</option>
<option value="55">C++Builder</option>
<option value="56">C/C++</option>
<option value="57">MS-SQLServer</option>
<option value="58">PowerBuilder</option>
<option value="59">WebSphere</option>
<option value="60">DB2</option>
<option value="61">Oracle</option>
<option value="62">程序员杂志</option>
<option value="63">移动平台</option>
<option value="64">PowerTools控件专区</option>
<option value="65">《开发高手》杂志</option>
<option value="66">palmos</option>
<option value="67">2004微软创新杯软件开发大赛</option>
<option value="68">《MSDN开发精选》杂志</option>
</select>
<select id="smallclassid"id="smallclassid">
<option value="301"selected>ASP</option>
<option value="303">PHP</option>
<option value="304">JavaScript</option>
<option value="305">CGI</option>
<option value="306">XML/SOAP</option>
<option value="307">IIS</option>
<option value="308">Apache</option>
<option value="309">应用服务器</option>
<option value="310">HTML(CSS)</option>
<option value="311">其他</option>
<option value="312">非技术区</option>
<option value="313">ColdFusion</option>
</select>
<br/>
<button onclick="gogogo();" id="wormClick">开始爬...</button>
<br/> <br/>
说明:<br/>
1,将CSDN帖子分类保存在爬虫身边/*.XML文件;
<br/>
2,也可以选择保留XML文件,进行深加工;
<br/>
3,请根据当前的帖子号码来设定爬行距离;
<br/>
4,欢迎光临<a href="http://superdullwolf.cnzone.net/index.asp" target="_blank">我的站点</a>;
<script language="javascript">
window.resizeTo(600,400);
window.moveTo(window.screen.availWidth/2-300,window.screen.availHeight/2-150);
var xmlURL=new String();
var headURL ="http://community.csdn.net/Expert/topic/";
var tailURL =".xml?temp=";
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
var stream = new ActiveXObject("ADODB.Stream");
var fso = new ActiveXObject("Scripting.FileSystemObject")
//定义本文件绝对路径
var thisFileDir =getthisFileDir();
//定义本文件名
var thisFileName = LastOne(thisFileDir,"\\");
//定义本文件夹路径
var thisFileFolder = getFolderDir(thisFileDir);
InitBigClass();
InitSmallClass();
var xmlID;
var xmlFolder = setFolder("xml");
function gogogo()
{ //主程序
wormClick.innerText ="正在爬...";
//window.resizeTo(100,200);
//window.scrollTo(10,20);
//window.moveTo(window.screen.availWidth-200,window.screen.availHeight-250)
for(i=parseInt(numStart1.value) ;i<parseInt(numEnd1.value);i++)
{
for(j=parseInt(numStart2.value);j<parseInt(numEnd2.value);j++)
{
xmlURL = headURL + i + "/" + j + tailURL + Math.random().toString().substr(1,8);
try
{
saveToFile(xmlURL,smallclassid.value);
xmlID = j;
}
catch(e)
{
}
}
}
alert("爬行完毕!!");
wormClick.innerText = "开始爬...";
}
function saveToFile(URL,classID)
{
xmlhttp.Open("GET",URL, false);
try
{
xmlhttp.Send();
var result = xmlhttp.status;
}
catch(e)
{
return(false);
}
if (xmlhttp.readyState == 4) // 调用完毕
{
if(result==200)
{
var tempXML=xmlhttp.responseBody;
stream.type=1;
stream.Open() ;
stream.Write(tempXML);
stream.SaveToFile(xmlFolder + xmlID + ".xml")
stream.Close();
}
}
}
function setFolder(str)
{
var folder = thisFileFolder + str;
if(!fso.FolderExists( folder))
{
fso.CreateFolder(folder)
}
return(folder + "\\")
}
function getthisFileDir()
{//得到本文件完全路径
var temp = window.location.href;
temp = temp.substr(8);
temp = unescape(temp);
temp = temp.replace(/[\/]/ig,"\\")
return(temp);
}
function LastOne(Str,splitStr)
{//输入字符和分隔符,得到最后一部分
var Arr=Str.split(splitStr)
return(Arr[Arr.length-1]);
}
function getFolderDir(fullDir)
{//输入得到全路径,得到文件夹路径
var s=LastOne(fullDir,"\\");
return(fullDir.substr(0,fullDir.length-s.length));
}
function InitBigClass()
{
bigclass = new Array();
bigclass[0] = new Array();
bigclass[0][0] = "0";
bigclass[0][1] = "全部社区";
bigclass[1] = new Array();
bigclass[1][0] = "3";
bigclass[1][1] = "Web 开发";
bigclass[2] = new Array();
bigclass[2][0] = "4";
bigclass[2][1] = "软件工程/管理";
bigclass[3] = new Array();
bigclass[3][0] = "5";
bigclass[3][1] = "企业开发";
bigclass[4] = new Array();
bigclass[4][0] = "6";
bigclass[4][1] = "专题开发";
bigclass[5] = new Array();
bigclass[5][0] = "7";
bigclass[5][1] = "多媒体/设计";
bigclass[6] = new Array();
bigclass[6][0] = "8";
bigclass[6][1] = "Linux/Unix社区";
bigclass[7] = new Array();
bigclass[7][0] = "9";
bigclass[7][1] = "硬件/嵌入开发";
bigclass[8] = new Array();
bigclass[8][0] = "10";
bigclass[8][1] = "Windows专区";
bigclass[9] = new Array();
bigclass[9][0] = "11";
bigclass[9][1] = "硬件使用";
bigclass[10] = new Array();
bigclass[10][0] = "13";
bigclass[10][1] = "软件培训/认证/考试";
bigclass[11] = new Array();
bigclass[11][0] = "14";
bigclass[11][1] = "扩充话题";
bigclass[12] = new Array();
bigclass[12][0] = "15";
bigclass[12][1] = "社区支持";
bigclass[13] = new Array();
bigclass[13][0] = "16";
bigclass[13][1] = "产品/厂家";
bigclass[14] = new Array();
bigclass[14][0] = "17";
bigclass[14][1] = "其他开发语言";
bigclass[15] = new Array();
bigclass[15][0] = "18";
bigclass[15][1] = "其他数据库开发";
bigclass[16] = new Array();
bigclass[16][0] = "20";
bigclass[16][1] = "计算机图书";
bigclass[17] = new Array();
bigclass[17][0] = "50";
bigclass[17][1] = "VC/MFC";
bigclass[18] = new Array();
bigclass[18][0] = "51";
bigclass[18][1] = "VB";
bigclass[19] = new Array();
bigclass[19][0] = "52";
bigclass[19][1] = ".NET技术";
bigclass[20] = new Array();
bigclass[20][0] = "53";
bigclass[20][1] = "Delphi";
bigclass[21] = new Array();
bigclass[21][0] = "54";
bigclass[21][1] = "Java";
bigclass[22] = new Array();
bigclass[22][0] = "55";
bigclass[22][1] = "C++ Builder";
bigclass[23] = new Array();
bigclass[23][0] = "56";
bigclass[23][1] = "C/C++";
bigclass[24] = new Array();
bigclass[24][0] = "57";
bigclass[24][1] = "MS-SQL Server";
bigclass[25] = new Array();
bigclass[25][0] = "58";
bigclass[25][1] = "PowerBuilder";
bigclass[26] = new Array();
bigclass[26][0] = "59";
bigclass[26][1] = "WebSphere";
bigclass[27] = new Array();
bigclass[27][0] = "60";
bigclass[27][1] = "DB2";
bigclass[28] = new Array();
bigclass[28][0] = "61";
bigclass[28][1] = "Oracle";
bigclass[29] = new Array();
bigclass[29][0] = "62";
bigclass[29][1] = "程序员杂志";
bigclass[30] = new Array();
bigclass[30][0] = "63";
bigclass[30][1] = "移动平台";
bigclass[31] = new Array();
bigclass[31][0] = "64";
bigclass[31][1] = "PowerTools控件专区";
bigclass[32] = new Array();
bigclass[32][0] = "65";
bigclass[32][1] = "《开发高手》杂志";
bigclass[33] = new Array();
bigclass[33][0] = "66";
bigclass[33][1] = "palm os";
bigclass[34] = new Array();
bigclass[34][0] = "67";
bigclass[34][1] = "2004微软创新杯软件开发大赛";
bigclass[35] = new Array();
bigclass[35][0] = "68";
bigclass[35][1] = "《MSDN开发精选》杂志";
}
function InitSmallClass(){
smallclass = new Array();
smallclass[0] = new Array();
smallclass[0][0] = "301";
smallclass[0][1] = "ASP";
smallclass[0][2] = "3";
smallclass[1] = new Array();
smallclass[1][0] = "303";
smallclass[1][1] = "PHP";
smallclass[1][2] = "3";
smallclass[2] = new Array();
smallclass[2][0] = "304";
smallclass[2][1] = "JavaScript";
smallclass[2][2] = "3";
smallclass[3] = new Array();
smallclass[3][0] = "305";
smallclass[3][1] = "CGI";
smallclass[3][2] = "3";
smallclass[4] = new Array();
smallclass[4][0] = "306";
smallclass[4][1] = "XML/SOAP";
smallclass[4][2] = "3";
smallclass[5] = new Array();
smallclass[5][0] = "307";
smallclass[5][1] = "IIS";
smallclass[5][2] = "3";
smallclass[6] = new Array();
smallclass[6][0] = "308";
smallclass[6][1] = "Apache";
smallclass[6][2] = "3";
smallclass[7] = new Array();
smallclass[7][0] = "309";
smallclass[7][1] = "应用服务器";
smallclass[7][2] = "3";
smallclass[8] = new Array();
smallclass[8][0] = "310";
smallclass[8][1] = "HTML(CSS)";
smallclass[8][2] = "3";
smallclass[9] = new Array();
smallclass[9][0] = "311";
smallclass[9][1] = "其他";
smallclass[9][2] = "3";
smallclass[10] = new Array();
smallclass[10][0] = "312";
smallclass[10][1] = "非技术区";
smallclass[10][2] = "3";
smallclass[11] = new Array();
smallclass[11][0] = "313";
smallclass[11][1] = "ColdFusion";
smallclass[11][2] = "3";
smallclass[12] = new Array();
smallclass[12][0] = "401";
smallclass[12][1] = "开发方法版";
smallclass[12][2] = "4";
smallclass[13] = new Array();
smallclass[13][0] = "402";
smallclass[13][1] = "开发过程版";
smallclass[13][2] = "4";
smallclass[14] = new Array();
smallclass[14][0] = "403";
smallclass[14][1] = "质量管理与控制版";
smallclass[14][2] = "4";
smallclass[15] = new Array();
smallclass[15][0] = "404";
smallclass[15][1] = "工程管理版";
smallclass[15][2] = "4";
smallclass[16] = new Array();
smallclass[16][0] = "405";
smallclass[16][1] = "休闲广场";
smallclass[16][2] = "4";
smallclass[17] = new Array();
smallclass[17][0] = "406";
smallclass[17][1] = "微创软件开发管理";
smallclass[17][2] = "4";
smallclass[18] = new Array();
smallclass[18][0] = "407";
smallclass[18][1] = "Rational";
smallclass[18][2] = "4";
smallclass[19] = new Array();
smallclass[19][0] = "408";
smallclass[19][1] = "Power Designer";
smallclass[19][2] = "4";
smallclass[20] = new Array();
smallclass[20][0] = "409";
smallclass[20][1] = "软件规划版";
smallclass[20][2] = "4";
smallclass[21] = new Array();
smallclass[21][0] = "501";
smallclass[21][1] = "地理信息系统";
smallclass[21][2] = "5";
smallclass[22] = new Array();
smallclass[22][0] = "502";
smallclass[22][1] = "企业信息化";
smallclass[22][2] = "5";
smallclass[23] = new Array();
smallclass[23][0] = "503";
smallclass[23][1] = "行业开发";
smallclass[23][2] = "5";
smallclass[24] = new Array();
smallclass[24][0] = "504";
smallclass[24][1] = "WebLogic";
smallclass[24][2] = "5";
smallclass[25] = new Array();
smallclass[25][0] = "505";
smallclass[25][1] = "Lotus";
smallclass[25][2] = "5";
smallclass[26] = new Array();
smallclass[26][0] = "506";
smallclass[26][1] = "Exchange Server";
smallclass[26][2] = "5";
smallclass[27] = new Array();
smallclass[27][0] = "507";
smallclass[27][1] = "其他";
smallclass[27][2] = "5";
smallclass[28] = new Array();
smallclass[28][0] = "508";
smallclass[28][1] = "SAP";
smallclass[28][2] = "5";
smallclass[29] = new Array();
smallclass[29][0] = "509";
smallclass[29][1] = "BizTalk Server";
smallclass[29][2] = "5";
smallclass[30] = new Array();
smallclass[30][0] = "601";
smallclass[30][1] = "多媒体/流媒体开发";
smallclass[30][2] = "6";
smallclass[31] = new Array();
smallclass[31][0] = "602";
smallclass[31][1] = "游戏开发";
smallclass[31][2] = "6";
smallclass[32] = new Array();
smallclass[32][0] = "603";
smallclass[32][1] = "数据结构与算法";
smallclass[32][2] = "6";
smallclass[33] = new Array();
smallclass[33][0] = "604";
smallclass[33][1] = "网络通信";
smallclass[33][2] = "6";
smallclass[34] = new Array();
smallclass[34][0] = "605";
smallclass[34][1] = "图形图象";
smallclass[34][2] = "6";
smallclass[35] = new Array();
smallclass[35][0] = "606";
smallclass[35][1] = "数据库应用/设计版";
smallclass[35][2] = "6";
smallclass[36] = new Array();
smallclass[36][0] = "607";
smallclass[36][1] = "信息/网络安全";
smallclass[36][2] = "6";
smallclass[37] = new Array();
smallclass[37][0] = "608";
smallclass[37][1] = "非技术区";
smallclass[37][2] = "6";
smallclass[38] = new Array();
smallclass[38][0] = "701";
smallclass[38][1] = "网页设计(Dreamweaver等)";
smallclass[38][2] = "7";
smallclass[39] = new Array();
smallclass[39][0] = "702";
smallclass[39][1] = "图象工具使用";
smallclass[39][2] = "7";
smallclass[40] = new Array();
smallclass[40][0] = "703";
smallclass[40][1] = "Flash流媒体";
smallclass[40][2] = "7";
smallclass[41] = new Array();
smallclass[41][0] = "704";
smallclass[41][1] = "多媒体设计(3DMaX, Maya等)";
smallclass[41][2] = "7";
smallclass[42] = new Array();
smallclass[42][0] = "705";
smallclass[42][1] = "交互式设计";
smallclass[42][2] = "7";
smallclass[43] = new Array();
smallclass[43][0] = "706";
smallclass[43][1] = "AutoCAD";
smallclass[43][2] = "7";
smallclass[44] = new Array();
smallclass[44][0] = "801";
smallclass[44][1] = "系统维护与使用区";
smallclass[44][2] = "8";
smallclass[45] = new Array();
smallclass[45][0] = "802";
smallclass[45][1] = "程序开发区";
smallclass[45][2] = "8";
smallclass[46] = new Array();
smallclass[46][0] = "803";
smallclass[46][1] = "内核及驱动程序研究区";
smallclass[46][2] = "8";
smallclass[47] = new Array();
smallclass[47][0] = "804";
smallclass[47][1] = "专题技术讨论区";
smallclass[47][2] = "8";
smallclass[48] = new Array();
smallclass[48][0] = "805";
smallclass[48][1] = "实用资料发布区";
smallclass[48][2] = "8";
smallclass[49] = new Array();
smallclass[49][0] = "806";
smallclass[49][1] = "UNIX文化";
smallclass[49][2] = "8";
smallclass[50] = new Array();
smallclass[50][0] = "901";
smallclass[50][1] = "硬件设计";
smallclass[50][2] = "9";
smallclass[51] = new Array();
smallclass[51][0] = "902";
smallclass[51][1] = "驱动开发/核心开发";
smallclass[51][2] = "9";
smallclass[52] = new Array();
smallclass[52][0] = "903";
smallclass[52][1] = "单片机/工控";
smallclass[52][2] = "9";
smallclass[53] = new Array();
smallclass[53][0] = "904";
smallclass[53][1] = "无线";
smallclass[53][2] = "9";
smallclass[54] = new Array();
smallclass[54][0] = "905";
smallclass[54][1] = "嵌入开发(WinCE)";
smallclass[54][2] = "9";
smallclass[55] = new Array();
smallclass[55][0] = "906";
smallclass[55][1] = "其他硬件开发";
smallclass[55][2] = "9";
smallclass[56] = new Array();
smallclass[56][0] = "907";
smallclass[56][1] = "非技术区";
smallclass[56][2] = "9";
smallclass[57] = new Array();
smallclass[57][0] = "1001";
smallclass[57][1] = "安全技术/病毒";
smallclass[57][2] = "10";
smallclass[58] = new Array();
smallclass[58][0] = "1002";
smallclass[58][1] = "网络管理配置和工具使用";
smallclass[58][2] = "10";
smallclass[59] = new Array();
smallclass[59][0] = "1005";
smallclass[59][1] = "Tivoli";
smallclass[59][2] = "10";
smallclass[60] = new Array();
smallclass[60][0] = "1201";
smallclass[60][1] = "Windows 9X";
smallclass[60][2] = "10";
smallclass[61] = new Array();
smallclass[61][0] = "1202";
smallclass[61][1] = "Windows NT/2000/XP/2003";
smallclass[61][2] = "10";
smallclass[62] = new Array();
smallclass[62][0] = "1205";
smallclass[62][1] = "一般软件使用";
smallclass[62][2] = "10";
smallclass[63] = new Array();
smallclass[63][0] = "1206";
smallclass[63][1] = "Office使用";
smallclass[63][2] = "10";
smallclass[64] = new Array();
smallclass[64][0] = "1208";
smallclass[64][1] = "非技术区";
smallclass[64][2] = "10";
smallclass[65] = new Array();
smallclass[65][0] = "1101";
smallclass[65][1] = "数码设备";
smallclass[65][2] = "11";
smallclass[66] = new Array();
smallclass[66][0] = "1102";
smallclass[66][1] = "交换及路由技术";
smallclass[66][2] = "11";
smallclass[67] = new Array();
smallclass[67][0] = "1103";
smallclass[67][1] = "外设及办公设备";
smallclass[67][2] = "11";
smallclass[68] = new Array();
smallclass[68][0] = "1104";
smallclass[68][1] = "电脑整机及配件";
smallclass[68][2] = "11";
smallclass[69] = new Array();
smallclass[69][0] = "1105";
smallclass[69][1] = "装机与升级及其他";
smallclass[69][2] = "11";
smallclass[70] = new Array();
smallclass[70][0] = "1106";
smallclass[70][1] = "非技术区";
smallclass[70][2] = "11";
smallclass[71] = new Array();
smallclass[71][0] = "1107";
smallclass[71][1] = "网络设计与维护";
smallclass[71][2] = "11";
smallclass[72] = new Array();
smallclass[72][0] = "1301";
smallclass[72][1] = "IT认证";
smallclass[72][2] = "13";
smallclass[73] = new Array();
smallclass[73][0] = "1302";
smallclass[73][1] = "软件水平考试";
smallclass[73][2] = "13";
smallclass[74] = new Array();
smallclass[74][0] = "1303";
smallclass[74][1] = "其他";
smallclass[74][2] = "13";
smallclass[75] = new Array();
smallclass[75][0] = "1304";
smallclass[75][1] = "IBM 软件认证";
smallclass[75][2] = "13";
smallclass[76] = new Array();
smallclass[76][0] = "1305";
smallclass[76][1] = "软件培训";
smallclass[76][2] = "13";
smallclass[77] = new Array();
smallclass[77][0] = "1306";
smallclass[77][1] = "软件学院";
smallclass[77][2] = "13";
smallclass[78] = new Array();
smallclass[78][0] = "1401";
smallclass[78][1] = "共享软件(走向海外)";
smallclass[78][2] = "14";
smallclass[79] = new Array();
smallclass[79][0] = "1403";
smallclass[79][1] = "程序人生";
smallclass[79][2] = "14";
smallclass[80] = new Array();
smallclass[80][0] = "1404";
smallclass[80][1] = "灌水乐园";
smallclass[80][2] = "14";
smallclass[81] = new Array();
smallclass[81][0] = "1405";
smallclass[81][1] = "程序员英语";
smallclass[81][2] = "14";
smallclass[82] = new Array();
smallclass[82][0] = "1409";
smallclass[82][1] = "活动聚会";
smallclass[82][2] = "14";
smallclass[83] = new Array();
smallclass[83][0] = "1501";
smallclass[83][1] = "公告";
smallclass[83][2] = "15";
smallclass[84] = new Array();
smallclass[84][0] = "1502";
smallclass[84][1] = "新版申请";
smallclass[84][2] = "15";
smallclass[85] = new Array();
smallclass[85][0] = "1503";
smallclass[85][1] = "建议和意见";
smallclass[85][2] = "15";
smallclass[86] = new Array();
smallclass[86][0] = "1504";
smallclass[86][1] = "投诉专区";
smallclass[86][2] = "15";
smallclass[87] = new Array();
smallclass[87][0] = "1505";
smallclass[87][1] = "社区电子杂志";
smallclass[87][2] = "15";
smallclass[88] = new Array();
smallclass[88][0] = "1601";
smallclass[88][1] = "程序员杂志";
smallclass[88][2] = "16";
smallclass[89] = new Array();
smallclass[89][0] = "1602";
smallclass[89][1] = "程序员大本营";
smallclass[89][2] = "16";
smallclass[90] = new Array();
smallclass[90][0] = "1603";
smallclass[90][1] = "华表电子表格";
smallclass[90][2] = "16";
smallclass[91] = new Array();
smallclass[91][0] = "1604";
smallclass[91][1] = "IBM 开发者大会";
smallclass[91][2] = "16";
smallclass[92] = new Array();
smallclass[92][0] = "1605";
smallclass[92][1] = "人民邮电出版社";
smallclass[92][2] = "16";
smallclass[93] = new Array();
smallclass[93][0] = "1607";
smallclass[93][1] = "微软Tech-Ed技术教育大会";
smallclass[93][2] = "16";
smallclass[94] = new Array();
smallclass[94][0] = "1608";
smallclass[94][1] = "清华大学出版社";
smallclass[94][2] = "16";
smallclass[95] = new Array();
smallclass[95][0] = "1609";
smallclass[95][1] = "中国软件技术大会";
smallclass[95][2] = "16";
smallclass[96] = new Array();
smallclass[96][0] = "1701";
smallclass[96][1] = "Kylix";
smallclass[96][2] = "17";
smallclass[97] = new Array();
smallclass[97][0] = "1702";
smallclass[97][1] = "脚本语言(Perl ,Python)";
smallclass[97][2] = "17";
smallclass[98] = new Array();
smallclass[98][0] = "1703";
smallclass[98][1] = "汇编语言";
smallclass[98][2] = "17";
smallclass[99] = new Array();
smallclass[99][0] = "1704";
smallclass[99][1] = "Office开发/ VBA";
smallclass[99][2] = "17";
smallclass[100] = new Array();
smallclass[100][0] = "1705";
smallclass[100][1] = "其他开发语言";
smallclass[100][2] = "17";
smallclass[101] = new Array();
smallclass[101][0] = "1706";
smallclass[101][1] = "C# builder";
smallclass[101][2] = "17";
smallclass[102] = new Array();
smallclass[102][0] = "1802";
smallclass[102][1] = "数据仓库";
smallclass[102][2] = "18";
smallclass[103] = new Array();
smallclass[103][0] = "1803";
smallclass[103][1] = "VFP";
smallclass[103][2] = "18";
smallclass[104] = new Array();
smallclass[104][0] = "1804";
smallclass[104][1] = "Access";
smallclass[104][2] = "18";
smallclass[105] = new Array();
smallclass[105][0] = "1805";
smallclass[105][1] = "Sybase";
smallclass[105][2] = "18";
smallclass[106] = new Array();
smallclass[106][0] = "1806";
smallclass[106][1] = "IBM DB2";
smallclass[106][2] = "18";
smallclass[107] = new Array();
smallclass[107][0] = "1807";
smallclass[107][1] = "Informix";
smallclass[107][2] = "18";
smallclass[108] = new Array();
smallclass[108][0] = "1808";
smallclass[108][1] = "MySQL/Postgresql";
smallclass[108][2] = "18";
smallclass[109] = new Array();
smallclass[109][0] = "1809";
smallclass[109][1] = "数据库报表";
smallclass[109][2] = "18";
smallclass[110] = new Array();
smallclass[110][0] = "1810";
smallclass[110][1] = "其他数据库";
smallclass[110][2] = "18";
smallclass[111] = new Array();
smallclass[111][0] = "1811";
smallclass[111][1] = "InterBase";
smallclass[111][2] = "18";
smallclass[112] = new Array();
smallclass[112][0] = "1812";
smallclass[112][1] = "Visual DBTOOLS";
smallclass[112][2] = "18";
smallclass[113] = new Array();
smallclass[113][0] = "1606";
smallclass[113][1] = "P&C专业出版";
smallclass[113][2] = "20";
smallclass[114] = new Array();
smallclass[114][0] = "5001";
smallclass[114][1] = "基础类";
smallclass[114][2] = "50";
smallclass[115] = new Array();
smallclass[115][0] = "5002";
smallclass[115][1] = "非技术类";
smallclass[115][2] = "50";
smallclass[116] = new Array();
smallclass[116][0] = "5003";
smallclass[116][1] = "界面";
smallclass[116][2] = "50";
smallclass[117] = new Array();
smallclass[117][0] = "5004";
smallclass[117][1] = "网络编程";
smallclass[117][2] = "50";
smallclass[118] = new Array();
smallclass[118][0] = "5005";
smallclass[118][1] = "进程/线程/DLL";
smallclass[118][2] = "50";
smallclass[119] = new Array();
smallclass[119][0] = "5006";
smallclass[119][1] = "ATL/ActiveX/COM";
smallclass[119][2] = "50";
smallclass[120] = new Array();
smallclass[120][0] = "5007";
smallclass[120][1] = "数据库";
smallclass[120][2] = "50";
smallclass[121] = new Array();
smallclass[121][0] = "5008";
smallclass[121][1] = "硬件/系统";
smallclass[121][2] = "50";
smallclass[122] = new Array();
smallclass[122][0] = "5009";
smallclass[122][1] = "HTML/XML";
smallclass[122][2] = "50";
smallclass[123] = new Array();
smallclass[123][0] = "5010";
smallclass[123][1] = "图形处理/算法";
smallclass[123][2] = "50";
smallclass[124] = new Array();
smallclass[124][0] = "5011";
smallclass[124][1] = "Visual C++ 资源";
smallclass[124][2] = "50";
smallclass[125] = new Array();
smallclass[125][0] = "5101";
smallclass[125][1] = "基础类";
smallclass[125][2] = "51";
smallclass[126] = new Array();
smallclass[126][0] = "5102";
smallclass[126][1] = "非技术类";
smallclass[126][2] = "51";
smallclass[127] = new Array();
smallclass[127][0] = "5103";
smallclass[127][1] = "控件";
smallclass[127][2] = "51";
smallclass[128] = new Array();
smallclass[128][0] = "5104";
smallclass[128][1] = "API";
smallclass[128][2] = "51";
smallclass[129] = new Array();
smallclass[129][0] = "5105";
smallclass[129][1] = "数据库(包含打印,安装,报表)";
smallclass[129][2] = "51";
smallclass[130] = new Array();
smallclass[130][0] = "5106";
smallclass[130][1] = "多媒体";
smallclass[130][2] = "51";
smallclass[131] = new Array();
smallclass[131][0] = "5107";
smallclass[131][1] = "网络编程";
smallclass[131][2] = "51";
smallclass[132] = new Array();
smallclass[132][0] = "5108";
smallclass[132][1] = "VBA";
smallclass[132][2] = "51";
smallclass[133] = new Array();
smallclass[133][0] = "5109";
smallclass[133][1] = "COM/DCOM/COM+";
smallclass[133][2] = "51";
smallclass[134] = new Array();
smallclass[134][0] = "5110";
smallclass[134][1] = "VB资源";
smallclass[134][2] = "51";
smallclass[135] = new Array();
smallclass[135][0] = "5201";
smallclass[135][1] = "C#";
smallclass[135][2] = "52";
smallclass[136] = new Array();
smallclass[136][0] = "5202";
smallclass[136][1] = "ASP.NET";
smallclass[136][2] = "52";
smallclass[137] = new Array();
smallclass[137][0] = "5203";
smallclass[137][1] = ".NET Framework";
smallclass[137][2] = "52";
smallclass[138] = new Array();
smallclass[138][0] = "5204";
smallclass[138][1] = "Web Services";
smallclass[138][2] = "52";
smallclass[139] = new Array();
smallclass[139][0] = "5205";
smallclass[139][1] = "VB.NET";
smallclass[139][2] = "52";
smallclass[140] = new Array();
smallclass[140][0] = "5206";
smallclass[140][1] = "VC.NET";
smallclass[140][2] = "52";
smallclass[141] = new Array();
smallclass[141][0] = "5207";
smallclass[141][1] = "其他";
smallclass[141][2] = "52";
smallclass[142] = new Array();
smallclass[142][0] = "5208";
smallclass[142][1] = "非技术区";
smallclass[142][2] = "52";
smallclass[143] = new Array();
smallclass[143][0] = "5209";
smallclass[143][1] = "J#";
smallclass[143][2] = "52";
smallclass[144] = new Array();
smallclass[144][0] = "5210";
smallclass[144][1] = "Delphi.net";
smallclass[144][2] = "52";
smallclass[145] = new Array();
smallclass[145][0] = "5211";
smallclass[145][1] = "图表区";
smallclass[145][2] = "52";
smallclass[146] = new Array();
smallclass[146][0] = "5212";
smallclass[146][1] = ".NET技术前瞻";
smallclass[146][2] = "52";
smallclass[147] = new Array();
smallclass[147][0] = "5213";
smallclass[147][1] = "分析与设计";
smallclass[147][2] = "52";
smallclass[148] = new Array();
smallclass[148][0] = "5301";
smallclass[148][1] = "VCL组件开发及应用";
smallclass[148][2] = "53";
smallclass[149] = new Array();
smallclass[149][0] = "5302";
smallclass[149][1] = "非技术区";
smallclass[149][2] = "53";
smallclass[150] = new Array();
smallclass[150][0] = "5304";
smallclass[150][1] = "Windows SDK/API";
smallclass[150][2] = "53";
smallclass[151] = new Array();
smallclass[151][0] = "5305";
smallclass[151][1] = "数据库相关";
smallclass[151][2] = "53";
smallclass[152] = new Array();
smallclass[152][0] = "5306";
smallclass[152][1] = "GAME,图形处理/多媒体";
smallclass[152][2] = "53";
smallclass[153] = new Array();
smallclass[153][0] = "5307";
smallclass[153][1] = "网络通信/分布式开发";
smallclass[153][2] = "53";
smallclass[154] = new Array();
smallclass[154][0] = "5308";
smallclass[154][1] = "语言基础/算法/系统设计";
smallclass[154][2] = "53";
smallclass[155] = new Array();
smallclass[155][0] = "5401";
smallclass[155][1] = "J2SE / 基础类";
smallclass[155][2] = "54";
smallclass[156] = new Array();
smallclass[156][0] = "5402";
smallclass[156][1] = "非技术区";
smallclass[156][2] = "54";
smallclass[157] = new Array();
smallclass[157][0] = "5403";
smallclass[157][1] = "Java Enterprise Open Source";
smallclass[157][2] = "54";
smallclass[158] = new Array();
smallclass[158][0] = "5404";
smallclass[158][1] = "J2EE / EJB / JMS";
smallclass[158][2] = "54";
smallclass[159] = new Array();
smallclass[159][0] = "5405";
smallclass[159][1] = "J2ME";
smallclass[159][2] = "54";
smallclass[160] = new Array();
smallclass[160][0] = "5406";
smallclass[160][1] = "Java WebServices & XML/Soap";
smallclass[160][2] = "54";
smallclass[161] = new Array();
smallclass[161][0] = "5407";
smallclass[161][1] = "IntelliJ IDEA";
smallclass[161][2] = "54";
smallclass[162] = new Array();
smallclass[162][0] = "5409";
smallclass[162][1] = "JSP/Servlet/JavaBean";
smallclass[162][2] = "54";
smallclass[163] = new Array();
smallclass[163][0] = "5410";
smallclass[163][1] = "设计模式";
smallclass[163][2] = "54";
smallclass[164] = new Array();
smallclass[164][0] = "5411";
smallclass[164][1] = "SUN Java 认证";
smallclass[164][2] = "54";
smallclass[165] = new Array();
smallclass[165][0] = "5412";
smallclass[165][1] = "Borland JBuilder";
smallclass[165][2] = "54";
smallclass[166] = new Array();
smallclass[166][0] = "5501";
smallclass[166][1] = "基础类";
smallclass[166][2] = "55";
smallclass[167] = new Array();
smallclass[167][0] = "5502";
smallclass[167][1] = "BCB茶馆";
smallclass[167][2] = "55";
smallclass[168] = new Array();
smallclass[168][0] = "5503";
smallclass[168][1] = "VCL组件使用和开发";
smallclass[168][2] = "55";
smallclass[169] = new Array();
smallclass[169][0] = "5504";
smallclass[169][1] = "数据库及相关技术";
smallclass[169][2] = "55";
smallclass[170] = new Array();
smallclass[170][0] = "5505";
smallclass[170][1] = "Windows SDK/API";
smallclass[170][2] = "55";
smallclass[171] = new Array();
smallclass[171][0] = "5506";
smallclass[171][1] = "网络及通讯开发";
smallclass[171][2] = "55";
smallclass[172] = new Array();
smallclass[172][0] = "5507";
smallclass[172][1] = "ActiveX/COM/DCOM";
smallclass[172][2] = "55";
smallclass[173] = new Array();
smallclass[173][0] = "5601";
smallclass[173][1] = "C语言";
smallclass[173][2] = "56";
smallclass[174] = new Array();
smallclass[174][0] = "5602";
smallclass[174][1] = "非技术区";
smallclass[174][2] = "56";
smallclass[175] = new Array();
smallclass[175][0] = "5603";
smallclass[175][1] = "工具平台和程序库";
smallclass[175][2] = "56";
smallclass[176] = new Array();
smallclass[176][0] = "5604";
smallclass[176][1] = "C++ 语言";
smallclass[176][2] = "56";
smallclass[177] = new Array();
smallclass[177][0] = "5605";
smallclass[177][1] = "新手乐园";
smallclass[177][2] = "56";
smallclass[178] = new Array();
smallclass[178][0] = "5606";
smallclass[178][1] = "模式及实现";
smallclass[178][2] = "56";
smallclass[179] = new Array();
smallclass[179][0] = "5607";
smallclass[179][1] = "其它技术问题";
smallclass[179][2] = "56";
smallclass[180] = new Array();
smallclass[180][0] = "5701";
smallclass[180][1] = "基础类";
smallclass[180][2] = "57";
smallclass[181] = new Array();
smallclass[181][0] = "5702";
smallclass[181][1] = "非技术版";
smallclass[181][2] = "57";
smallclass[182] = new Array();
smallclass[182][0] = "5703";
smallclass[182][1] = "数据库管理";
smallclass[182][2] = "57";
smallclass[183] = new Array();
smallclass[183][0] = "5704";
smallclass[183][1] = "数据库开发";
smallclass[183][2] = "57";
smallclass[184] = new Array();
smallclass[184][0] = "5801";
smallclass[184][1] = "基础类";
smallclass[184][2] = "58";
smallclass[185] = new Array();
smallclass[185][0] = "5802";
smallclass[185][1] = "非技术版";
smallclass[185][2] = "58";
smallclass[186] = new Array();
smallclass[186][0] = "5803";
smallclass[186][1] = "Pb脚本语言";
smallclass[186][2] = "58";
smallclass[187] = new Array();
smallclass[187][0] = "5804";
smallclass[187][1] = "DataWindow";
smallclass[187][2] = "58";
smallclass[188] = new Array();
smallclass[188][0] = "5805";
smallclass[188][1] = "API 调用";
smallclass[188][2] = "58";
smallclass[189] = new Array();
smallclass[189][0] = "5806";
smallclass[189][1] = "控件与界面";
smallclass[189][2] = "58";
smallclass[190] = new Array();
smallclass[190][0] = "5807";
smallclass[190][1] = "Pb Web 应用";
smallclass[190][2] = "58";
smallclass[191] = new Array();
smallclass[191][0] = "5808";
smallclass[191][1] = "数据库相关";
smallclass[191][2] = "58";
smallclass[192] = new Array();
smallclass[192][0] = "5809";
smallclass[192][1] = "项目管理";
smallclass[192][2] = "58";
smallclass[193] = new Array();
smallclass[193][0] = "5901";
smallclass[193][1] = "基础类";
smallclass[193][2] = "59";
smallclass[194] = new Array();
smallclass[194][0] = "5902";
smallclass[194][1] = "WebService";
smallclass[194][2] = "59";
smallclass[195] = new Array();
smallclass[195][0] = "5903";
smallclass[195][1] = "开发工具/WSAD";
smallclass[195][2] = "59";
smallclass[196] = new Array();
smallclass[196][0] = "5904";
smallclass[196][1] = "应用服务器/WAS";
smallclass[196][2] = "59";
smallclass[197] = new Array();
smallclass[197][0] = "5905";
smallclass[197][1] = "企业门户/WS Portal Server";
smallclass[197][2] = "59";
smallclass[198] = new Array();
smallclass[198][0] = "5906";
smallclass[198][1] = "业务整合/Business Integrator";
smallclass[198][2] = "59";
smallclass[199] = new Array();
smallclass[199][0] = "5907";
smallclass[199][1] = "非技术区";
smallclass[199][2] = "59";
smallclass[200] = new Array();
smallclass[200][0] = "6001";
smallclass[200][1] = "基础类";
smallclass[200][2] = "60";
smallclass[201] = new Array();
smallclass[201][0] = "6002";
smallclass[201][1] = "数据库管理";
smallclass[201][2] = "60";
smallclass[202] = new Array();
smallclass[202][0] = "6003";
smallclass[202][1] = "数据库开发";
smallclass[202][2] = "60";
smallclass[203] = new Array();
smallclass[203][0] = "6004";
smallclass[203][1] = "非技术区";
smallclass[203][2] = "60";
smallclass[204] = new Array();
smallclass[204][0] = "6005";
smallclass[204][1] = "数据管理";
smallclass[204][2] = "60";
smallclass[205] = new Array();
smallclass[205][0] = "6006";
smallclass[205][1] = "内容管理";
smallclass[205][2] = "60";
smallclass[206] = new Array();
smallclass[206][0] = "6007";
smallclass[206][1] = "商业智能";
smallclass[206][2] = "60";
smallclass[207] = new Array();
smallclass[207][0] = "6101";
smallclass[207][1] = "基础和管理";
smallclass[207][2] = "61";
smallclass[208] = new Array();
smallclass[208][0] = "6102";
smallclass[208][1] = "开发";
smallclass[208][2] = "61";
smallclass[209] = new Array();
smallclass[209][0] = "6103";
smallclass[209][1] = "高级技术";
smallclass[209][2] = "61";
smallclass[210] = new Array();
smallclass[210][0] = "6104";
smallclass[210][1] = "认证与考试";
smallclass[210][2] = "61";
smallclass[211] = new Array();
smallclass[211][0] = "6201";
smallclass[211][1] = "基本信息";
smallclass[211][2] = "62";
smallclass[212] = new Array();
smallclass[212][0] = "6202";
smallclass[212][1] = "文章评论";
smallclass[212][2] = "62";
smallclass[213] = new Array();
smallclass[213][0] = "6203";
smallclass[213][1] = "购买/订阅/渠道";
smallclass[213][2] = "62";
smallclass[214] = new Array();
smallclass[214][0] = "6204";
smallclass[214][1] = "广告咨询";
smallclass[214][2] = "62";
smallclass[215] = new Array();
smallclass[215][0] = "6301";
smallclass[215][1] = "开发平台";
smallclass[215][2] = "63";
smallclass[216] = new Array();
smallclass[216][0] = "6302";
smallclass[216][1] = "手机操作系统";
smallclass[216][2] = "63";
smallclass[217] = new Array();
smallclass[217][0] = "6303";
smallclass[217][1] = "开发应用";
smallclass[217][2] = "63";
smallclass[218] = new Array();
smallclass[218][0] = "6304";
smallclass[218][1] = "近距离无线技术";
smallclass[218][2] = "63";
smallclass[219] = new Array();
smallclass[219][0] = "6401";
smallclass[219][1] = "控件";
smallclass[219][2] = "64";
smallclass[220] = new Array();
smallclass[220][0] = "6402";
smallclass[220][1] = "SVG";
smallclass[220][2] = "64";
smallclass[221] = new Array();
smallclass[221][0] = "6501";
smallclass[221][1] = "基本信息";
smallclass[221][2] = "65";
smallclass[222] = new Array();
smallclass[222][0] = "6502";
smallclass[222][1] = "文章评论";
smallclass[222][2] = "65";
smallclass[223] = new Array();
smallclass[223][0] = "6503";
smallclass[223][1] = "选题投稿";
smallclass[223][2] = "65";
smallclass[224] = new Array();
smallclass[224][0] = "6504";
smallclass[224][1] = "购买/订阅/广告";
smallclass[224][2] = "65";
smallclass[225] = new Array();
smallclass[225][0] = "6601";
smallclass[225][1] = "文章精粹";
smallclass[225][2] = "66";
smallclass[226] = new Array();
smallclass[226][0] = "6602";
smallclass[226][1] = "招聘及招标";
smallclass[226][2] = "66";
smallclass[227] = new Array();
smallclass[227][0] = "6603";
smallclass[227][1] = "技术讨论";
smallclass[227][2] = "66";
smallclass[228] = new Array();
smallclass[228][0] = "6604";
smallclass[228][1] = "Palm OS 6";
smallclass[228][2] = "66";
smallclass[229] = new Array();
smallclass[229][0] = "6701";
smallclass[229][1] = "软件开发竞赛";
smallclass[229][2] = "67";
smallclass[230] = new Array();
smallclass[230][0] = "6702";
smallclass[230][1] = "逻辑算法竞赛";
smallclass[230][2] = "67";
smallclass[231] = new Array();
smallclass[231][0] = "6703";
smallclass[231][1] = "渲染技术竞赛";
smallclass[231][2] = "67";
smallclass[232] = new Array();
smallclass[232][0] = "6704";
smallclass[232][1] = "短片制作竞赛";
smallclass[232][2] = "67";
smallclass[233] = new Array();
smallclass[233][0] = "6801";
smallclass[233][1] = "基本信息";
smallclass[233][2] = "68";
smallclass[234] = new Array();
smallclass[234][0] = "6802";
smallclass[234][1] = "文章评论";
smallclass[234][2] = "68";
smallclass[235] = new Array();
smallclass[235][0] = "6803";
smallclass[235][1] = "购买\渠道\订阅";
smallclass[235][2] = "68";
smallclass[236] = new Array();
smallclass[236][0] = "6804";
smallclass[236][1] = "意见建议";
smallclass[236][2] = "68";
}
function changeitem()
{
var SelectedBigId,i,j;
for (i= smallclassid.options.length-1;i>=0 ;--i)
{
smallclassid.options[i] = null;
}
SelectedBigId = bigclassid.options[bigclassid.selectedIndex].value;
j = 0;
for (i=0 ;i< smallclass.length ;i++)
{
if (SelectedBigId == smallclass[i][2])
{
smallclassid.options[j] = new Option(smallclass[i][1],smallclass[i][0]);
++j;
}
}
}
</script>
</body>
</html>
CSDN.hta
<head>
<title>笨狼CSDN爬虫</title>
<style>
body
{
font-size:12;
margin:20;
background-color:#eeeeee;
}
div
{
font-size:12;
border:1 solid navy;
margin-left:20;
}
input.num
{
width:20;
overflow:visible;
BORDER-RIGHT: 0px;
BORDER-TOP: 0px;
BORDER-LEFT: 0px;
BORDER-BOTTOM: 1px solid navy;
margin-left:-5;
margin-bottom:-2;
background-color:#eeeeee;
}
.worm
{
font-family:webdings;
font-size:30;
color:#663300;
}
</style>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
帖子号码<br>
<span class="worm" id="wormIcon">!</span>从: http://community.csdn.net/Expert/topic/
<input id="numStart1" value="3738" class="num">/
<input id="numStart2" value="3738400" class="num">
.xml?temp=.XXXXXXX
<br>
<span class="worm">"</span>到: http://community.csdn.net/Expert/topic/
<input id="numEnd1" value="3739" class="num">
/<input id="numEnd2" value="3748450" class="num">
.xml?temp=.XXXXXXX
<br/><br/>
爬行范围<br/>
<span class="worm">ß</span>
<select id="bigclassid" onchange="javascript:changeitem();">
<option value="0">全部社区</option>
<option value="3"selected>Web开发</option>
<option value="4">软件工程/管理</option>
<option value="5">企业开发</option>
<option value="6">专题开发</option>
<option value="7">多媒体/设计</option>
<option value="8">Linux/Unix社区</option>
<option value="9">硬件/嵌入开发</option>
<option value="10">Windows专区</option>
<option value="11">硬件使用</option>
<option value="13">软件培训/认证/考试</option>
<option value="14">扩充话题</option>
<option value="15">社区支持</option>
<option value="16">产品/厂家</option>
<option value="17">其他开发语言</option>
<option value="18">其他数据库开发</option>
<option value="20">计算机图书</option>
<option value="50">VC/MFC</option>
<option value="51">VB</option>
<option value="52">.NET技术</option>
<option value="53">Delphi</option>
<option value="54">Java</option>
<option value="55">C++Builder</option>
<option value="56">C/C++</option>
<option value="57">MS-SQLServer</option>
<option value="58">PowerBuilder</option>
<option value="59">WebSphere</option>
<option value="60">DB2</option>
<option value="61">Oracle</option>
<option value="62">程序员杂志</option>
<option value="63">移动平台</option>
<option value="64">PowerTools控件专区</option>
<option value="65">《开发高手》杂志</option>
<option value="66">palmos</option>
<option value="67">2004微软创新杯软件开发大赛</option>
<option value="68">《MSDN开发精选》杂志</option>
</select>
<select id="smallclassid"id="smallclassid">
<option value="301"selected>ASP</option>
<option value="303">PHP</option>
<option value="304">JavaScript</option>
<option value="305">CGI</option>
<option value="306">XML/SOAP</option>
<option value="307">IIS</option>
<option value="308">Apache</option>
<option value="309">应用服务器</option>
<option value="310">HTML(CSS)</option>
<option value="311">其他</option>
<option value="312">非技术区</option>
<option value="313">ColdFusion</option>
</select>
<br/>
<button onclick="gogogo();" id="wormClick">开始爬...</button>
<br/> <br/>
说明:<br/>
1,将CSDN帖子分类保存在爬虫身边/*.XML文件;
<br/>
2,也可以选择保留XML文件,进行深加工;
<br/>
3,请根据当前的帖子号码来设定爬行距离;
<br/>
4,欢迎光临<a href="http://superdullwolf.cnzone.net/index.asp" target="_blank">我的站点</a>;
<script language="javascript">
window.resizeTo(600,400);
window.moveTo(window.screen.availWidth/2-300,window.screen.availHeight/2-150);
var xmlURL=new String();
var headURL ="http://community.csdn.net/Expert/topic/";
var tailURL =".xml?temp=";
var xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
var stream = new ActiveXObject("ADODB.Stream");
var fso = new ActiveXObject("Scripting.FileSystemObject")
//定义本文件绝对路径
var thisFileDir =getthisFileDir();
//定义本文件名
var thisFileName = LastOne(thisFileDir,"\\");
//定义本文件夹路径
var thisFileFolder = getFolderDir(thisFileDir);
InitBigClass();
InitSmallClass();
var xmlID;
var xmlFolder = setFolder("xml");
function gogogo()
{ //主程序
wormClick.innerText ="正在爬...";
//window.resizeTo(100,200);
//window.scrollTo(10,20);
//window.moveTo(window.screen.availWidth-200,window.screen.availHeight-250)
for(i=parseInt(numStart1.value) ;i<parseInt(numEnd1.value);i++)
{
for(j=parseInt(numStart2.value);j<parseInt(numEnd2.value);j++)
{
xmlURL = headURL + i + "/" + j + tailURL + Math.random().toString().substr(1,8);
try
{
saveToFile(xmlURL,smallclassid.value);
xmlID = j;
}
catch(e)
{
}
}
}
alert("爬行完毕!!");
wormClick.innerText = "开始爬...";
}
function saveToFile(URL,classID)
{
xmlhttp.Open("GET",URL, false);
try
{
xmlhttp.Send();
var result = xmlhttp.status;
}
catch(e)
{
return(false);
}
if (xmlhttp.readyState == 4) // 调用完毕
{
if(result==200)
{
var tempXML=xmlhttp.responseBody;
stream.type=1;
stream.Open() ;
stream.Write(tempXML);
stream.SaveToFile(xmlFolder + xmlID + ".xml")
stream.Close();
}
}
}
function setFolder(str)
{
var folder = thisFileFolder + str;
if(!fso.FolderExists( folder))
{
fso.CreateFolder(folder)
}
return(folder + "\\")
}
function getthisFileDir()
{//得到本文件完全路径
var temp = window.location.href;
temp = temp.substr(8);
temp = unescape(temp);
temp = temp.replace(/[\/]/ig,"\\")
return(temp);
}
function LastOne(Str,splitStr)
{//输入字符和分隔符,得到最后一部分
var Arr=Str.split(splitStr)
return(Arr[Arr.length-1]);
}
function getFolderDir(fullDir)
{//输入得到全路径,得到文件夹路径
var s=LastOne(fullDir,"\\");
return(fullDir.substr(0,fullDir.length-s.length));
}
function InitBigClass()
{
bigclass = new Array();
bigclass[0] = new Array();
bigclass[0][0] = "0";
bigclass[0][1] = "全部社区";
bigclass[1] = new Array();
bigclass[1][0] = "3";
bigclass[1][1] = "Web 开发";
bigclass[2] = new Array();
bigclass[2][0] = "4";
bigclass[2][1] = "软件工程/管理";
bigclass[3] = new Array();
bigclass[3][0] = "5";
bigclass[3][1] = "企业开发";
bigclass[4] = new Array();
bigclass[4][0] = "6";
bigclass[4][1] = "专题开发";
bigclass[5] = new Array();
bigclass[5][0] = "7";
bigclass[5][1] = "多媒体/设计";
bigclass[6] = new Array();
bigclass[6][0] = "8";
bigclass[6][1] = "Linux/Unix社区";
bigclass[7] = new Array();
bigclass[7][0] = "9";
bigclass[7][1] = "硬件/嵌入开发";
bigclass[8] = new Array();
bigclass[8][0] = "10";
bigclass[8][1] = "Windows专区";
bigclass[9] = new Array();
bigclass[9][0] = "11";
bigclass[9][1] = "硬件使用";
bigclass[10] = new Array();
bigclass[10][0] = "13";
bigclass[10][1] = "软件培训/认证/考试";
bigclass[11] = new Array();
bigclass[11][0] = "14";
bigclass[11][1] = "扩充话题";
bigclass[12] = new Array();
bigclass[12][0] = "15";
bigclass[12][1] = "社区支持";
bigclass[13] = new Array();
bigclass[13][0] = "16";
bigclass[13][1] = "产品/厂家";
bigclass[14] = new Array();
bigclass[14][0] = "17";
bigclass[14][1] = "其他开发语言";
bigclass[15] = new Array();
bigclass[15][0] = "18";
bigclass[15][1] = "其他数据库开发";
bigclass[16] = new Array();
bigclass[16][0] = "20";
bigclass[16][1] = "计算机图书";
bigclass[17] = new Array();
bigclass[17][0] = "50";
bigclass[17][1] = "VC/MFC";
bigclass[18] = new Array();
bigclass[18][0] = "51";
bigclass[18][1] = "VB";
bigclass[19] = new Array();
bigclass[19][0] = "52";
bigclass[19][1] = ".NET技术";
bigclass[20] = new Array();
bigclass[20][0] = "53";
bigclass[20][1] = "Delphi";
bigclass[21] = new Array();
bigclass[21][0] = "54";
bigclass[21][1] = "Java";
bigclass[22] = new Array();
bigclass[22][0] = "55";
bigclass[22][1] = "C++ Builder";
bigclass[23] = new Array();
bigclass[23][0] = "56";
bigclass[23][1] = "C/C++";
bigclass[24] = new Array();
bigclass[24][0] = "57";
bigclass[24][1] = "MS-SQL Server";
bigclass[25] = new Array();
bigclass[25][0] = "58";
bigclass[25][1] = "PowerBuilder";
bigclass[26] = new Array();
bigclass[26][0] = "59";
bigclass[26][1] = "WebSphere";
bigclass[27] = new Array();
bigclass[27][0] = "60";
bigclass[27][1] = "DB2";
bigclass[28] = new Array();
bigclass[28][0] = "61";
bigclass[28][1] = "Oracle";
bigclass[29] = new Array();
bigclass[29][0] = "62";
bigclass[29][1] = "程序员杂志";
bigclass[30] = new Array();
bigclass[30][0] = "63";
bigclass[30][1] = "移动平台";
bigclass[31] = new Array();
bigclass[31][0] = "64";
bigclass[31][1] = "PowerTools控件专区";
bigclass[32] = new Array();
bigclass[32][0] = "65";
bigclass[32][1] = "《开发高手》杂志";
bigclass[33] = new Array();
bigclass[33][0] = "66";
bigclass[33][1] = "palm os";
bigclass[34] = new Array();
bigclass[34][0] = "67";
bigclass[34][1] = "2004微软创新杯软件开发大赛";
bigclass[35] = new Array();
bigclass[35][0] = "68";
bigclass[35][1] = "《MSDN开发精选》杂志";
}
function InitSmallClass(){
smallclass = new Array();
smallclass[0] = new Array();
smallclass[0][0] = "301";
smallclass[0][1] = "ASP";
smallclass[0][2] = "3";
smallclass[1] = new Array();
smallclass[1][0] = "303";
smallclass[1][1] = "PHP";
smallclass[1][2] = "3";
smallclass[2] = new Array();
smallclass[2][0] = "304";
smallclass[2][1] = "JavaScript";
smallclass[2][2] = "3";
smallclass[3] = new Array();
smallclass[3][0] = "305";
smallclass[3][1] = "CGI";
smallclass[3][2] = "3";
smallclass[4] = new Array();
smallclass[4][0] = "306";
smallclass[4][1] = "XML/SOAP";
smallclass[4][2] = "3";
smallclass[5] = new Array();
smallclass[5][0] = "307";
smallclass[5][1] = "IIS";
smallclass[5][2] = "3";
smallclass[6] = new Array();
smallclass[6][0] = "308";
smallclass[6][1] = "Apache";
smallclass[6][2] = "3";
smallclass[7] = new Array();
smallclass[7][0] = "309";
smallclass[7][1] = "应用服务器";
smallclass[7][2] = "3";
smallclass[8] = new Array();
smallclass[8][0] = "310";
smallclass[8][1] = "HTML(CSS)";
smallclass[8][2] = "3";
smallclass[9] = new Array();
smallclass[9][0] = "311";
smallclass[9][1] = "其他";
smallclass[9][2] = "3";
smallclass[10] = new Array();
smallclass[10][0] = "312";
smallclass[10][1] = "非技术区";
smallclass[10][2] = "3";
smallclass[11] = new Array();
smallclass[11][0] = "313";
smallclass[11][1] = "ColdFusion";
smallclass[11][2] = "3";
smallclass[12] = new Array();
smallclass[12][0] = "401";
smallclass[12][1] = "开发方法版";
smallclass[12][2] = "4";
smallclass[13] = new Array();
smallclass[13][0] = "402";
smallclass[13][1] = "开发过程版";
smallclass[13][2] = "4";
smallclass[14] = new Array();
smallclass[14][0] = "403";
smallclass[14][1] = "质量管理与控制版";
smallclass[14][2] = "4";
smallclass[15] = new Array();
smallclass[15][0] = "404";
smallclass[15][1] = "工程管理版";
smallclass[15][2] = "4";
smallclass[16] = new Array();
smallclass[16][0] = "405";
smallclass[16][1] = "休闲广场";
smallclass[16][2] = "4";
smallclass[17] = new Array();
smallclass[17][0] = "406";
smallclass[17][1] = "微创软件开发管理";
smallclass[17][2] = "4";
smallclass[18] = new Array();
smallclass[18][0] = "407";
smallclass[18][1] = "Rational";
smallclass[18][2] = "4";
smallclass[19] = new Array();
smallclass[19][0] = "408";
smallclass[19][1] = "Power Designer";
smallclass[19][2] = "4";
smallclass[20] = new Array();
smallclass[20][0] = "409";
smallclass[20][1] = "软件规划版";
smallclass[20][2] = "4";
smallclass[21] = new Array();
smallclass[21][0] = "501";
smallclass[21][1] = "地理信息系统";
smallclass[21][2] = "5";
smallclass[22] = new Array();
smallclass[22][0] = "502";
smallclass[22][1] = "企业信息化";
smallclass[22][2] = "5";
smallclass[23] = new Array();
smallclass[23][0] = "503";
smallclass[23][1] = "行业开发";
smallclass[23][2] = "5";
smallclass[24] = new Array();
smallclass[24][0] = "504";
smallclass[24][1] = "WebLogic";
smallclass[24][2] = "5";
smallclass[25] = new Array();
smallclass[25][0] = "505";
smallclass[25][1] = "Lotus";
smallclass[25][2] = "5";
smallclass[26] = new Array();
smallclass[26][0] = "506";
smallclass[26][1] = "Exchange Server";
smallclass[26][2] = "5";
smallclass[27] = new Array();
smallclass[27][0] = "507";
smallclass[27][1] = "其他";
smallclass[27][2] = "5";
smallclass[28] = new Array();
smallclass[28][0] = "508";
smallclass[28][1] = "SAP";
smallclass[28][2] = "5";
smallclass[29] = new Array();
smallclass[29][0] = "509";
smallclass[29][1] = "BizTalk Server";
smallclass[29][2] = "5";
smallclass[30] = new Array();
smallclass[30][0] = "601";
smallclass[30][1] = "多媒体/流媒体开发";
smallclass[30][2] = "6";
smallclass[31] = new Array();
smallclass[31][0] = "602";
smallclass[31][1] = "游戏开发";
smallclass[31][2] = "6";
smallclass[32] = new Array();
smallclass[32][0] = "603";
smallclass[32][1] = "数据结构与算法";
smallclass[32][2] = "6";
smallclass[33] = new Array();
smallclass[33][0] = "604";
smallclass[33][1] = "网络通信";
smallclass[33][2] = "6";
smallclass[34] = new Array();
smallclass[34][0] = "605";
smallclass[34][1] = "图形图象";
smallclass[34][2] = "6";
smallclass[35] = new Array();
smallclass[35][0] = "606";
smallclass[35][1] = "数据库应用/设计版";
smallclass[35][2] = "6";
smallclass[36] = new Array();
smallclass[36][0] = "607";
smallclass[36][1] = "信息/网络安全";
smallclass[36][2] = "6";
smallclass[37] = new Array();
smallclass[37][0] = "608";
smallclass[37][1] = "非技术区";
smallclass[37][2] = "6";
smallclass[38] = new Array();
smallclass[38][0] = "701";
smallclass[38][1] = "网页设计(Dreamweaver等)";
smallclass[38][2] = "7";
smallclass[39] = new Array();
smallclass[39][0] = "702";
smallclass[39][1] = "图象工具使用";
smallclass[39][2] = "7";
smallclass[40] = new Array();
smallclass[40][0] = "703";
smallclass[40][1] = "Flash流媒体";
smallclass[40][2] = "7";
smallclass[41] = new Array();
smallclass[41][0] = "704";
smallclass[41][1] = "多媒体设计(3DMaX, Maya等)";
smallclass[41][2] = "7";
smallclass[42] = new Array();
smallclass[42][0] = "705";
smallclass[42][1] = "交互式设计";
smallclass[42][2] = "7";
smallclass[43] = new Array();
smallclass[43][0] = "706";
smallclass[43][1] = "AutoCAD";
smallclass[43][2] = "7";
smallclass[44] = new Array();
smallclass[44][0] = "801";
smallclass[44][1] = "系统维护与使用区";
smallclass[44][2] = "8";
smallclass[45] = new Array();
smallclass[45][0] = "802";
smallclass[45][1] = "程序开发区";
smallclass[45][2] = "8";
smallclass[46] = new Array();
smallclass[46][0] = "803";
smallclass[46][1] = "内核及驱动程序研究区";
smallclass[46][2] = "8";
smallclass[47] = new Array();
smallclass[47][0] = "804";
smallclass[47][1] = "专题技术讨论区";
smallclass[47][2] = "8";
smallclass[48] = new Array();
smallclass[48][0] = "805";
smallclass[48][1] = "实用资料发布区";
smallclass[48][2] = "8";
smallclass[49] = new Array();
smallclass[49][0] = "806";
smallclass[49][1] = "UNIX文化";
smallclass[49][2] = "8";
smallclass[50] = new Array();
smallclass[50][0] = "901";
smallclass[50][1] = "硬件设计";
smallclass[50][2] = "9";
smallclass[51] = new Array();
smallclass[51][0] = "902";
smallclass[51][1] = "驱动开发/核心开发";
smallclass[51][2] = "9";
smallclass[52] = new Array();
smallclass[52][0] = "903";
smallclass[52][1] = "单片机/工控";
smallclass[52][2] = "9";
smallclass[53] = new Array();
smallclass[53][0] = "904";
smallclass[53][1] = "无线";
smallclass[53][2] = "9";
smallclass[54] = new Array();
smallclass[54][0] = "905";
smallclass[54][1] = "嵌入开发(WinCE)";
smallclass[54][2] = "9";
smallclass[55] = new Array();
smallclass[55][0] = "906";
smallclass[55][1] = "其他硬件开发";
smallclass[55][2] = "9";
smallclass[56] = new Array();
smallclass[56][0] = "907";
smallclass[56][1] = "非技术区";
smallclass[56][2] = "9";
smallclass[57] = new Array();
smallclass[57][0] = "1001";
smallclass[57][1] = "安全技术/病毒";
smallclass[57][2] = "10";
smallclass[58] = new Array();
smallclass[58][0] = "1002";
smallclass[58][1] = "网络管理配置和工具使用";
smallclass[58][2] = "10";
smallclass[59] = new Array();
smallclass[59][0] = "1005";
smallclass[59][1] = "Tivoli";
smallclass[59][2] = "10";
smallclass[60] = new Array();
smallclass[60][0] = "1201";
smallclass[60][1] = "Windows 9X";
smallclass[60][2] = "10";
smallclass[61] = new Array();
smallclass[61][0] = "1202";
smallclass[61][1] = "Windows NT/2000/XP/2003";
smallclass[61][2] = "10";
smallclass[62] = new Array();
smallclass[62][0] = "1205";
smallclass[62][1] = "一般软件使用";
smallclass[62][2] = "10";
smallclass[63] = new Array();
smallclass[63][0] = "1206";
smallclass[63][1] = "Office使用";
smallclass[63][2] = "10";
smallclass[64] = new Array();
smallclass[64][0] = "1208";
smallclass[64][1] = "非技术区";
smallclass[64][2] = "10";
smallclass[65] = new Array();
smallclass[65][0] = "1101";
smallclass[65][1] = "数码设备";
smallclass[65][2] = "11";
smallclass[66] = new Array();
smallclass[66][0] = "1102";
smallclass[66][1] = "交换及路由技术";
smallclass[66][2] = "11";
smallclass[67] = new Array();
smallclass[67][0] = "1103";
smallclass[67][1] = "外设及办公设备";
smallclass[67][2] = "11";
smallclass[68] = new Array();
smallclass[68][0] = "1104";
smallclass[68][1] = "电脑整机及配件";
smallclass[68][2] = "11";
smallclass[69] = new Array();
smallclass[69][0] = "1105";
smallclass[69][1] = "装机与升级及其他";
smallclass[69][2] = "11";
smallclass[70] = new Array();
smallclass[70][0] = "1106";
smallclass[70][1] = "非技术区";
smallclass[70][2] = "11";
smallclass[71] = new Array();
smallclass[71][0] = "1107";
smallclass[71][1] = "网络设计与维护";
smallclass[71][2] = "11";
smallclass[72] = new Array();
smallclass[72][0] = "1301";
smallclass[72][1] = "IT认证";
smallclass[72][2] = "13";
smallclass[73] = new Array();
smallclass[73][0] = "1302";
smallclass[73][1] = "软件水平考试";
smallclass[73][2] = "13";
smallclass[74] = new Array();
smallclass[74][0] = "1303";
smallclass[74][1] = "其他";
smallclass[74][2] = "13";
smallclass[75] = new Array();
smallclass[75][0] = "1304";
smallclass[75][1] = "IBM 软件认证";
smallclass[75][2] = "13";
smallclass[76] = new Array();
smallclass[76][0] = "1305";
smallclass[76][1] = "软件培训";
smallclass[76][2] = "13";
smallclass[77] = new Array();
smallclass[77][0] = "1306";
smallclass[77][1] = "软件学院";
smallclass[77][2] = "13";
smallclass[78] = new Array();
smallclass[78][0] = "1401";
smallclass[78][1] = "共享软件(走向海外)";
smallclass[78][2] = "14";
smallclass[79] = new Array();
smallclass[79][0] = "1403";
smallclass[79][1] = "程序人生";
smallclass[79][2] = "14";
smallclass[80] = new Array();
smallclass[80][0] = "1404";
smallclass[80][1] = "灌水乐园";
smallclass[80][2] = "14";
smallclass[81] = new Array();
smallclass[81][0] = "1405";
smallclass[81][1] = "程序员英语";
smallclass[81][2] = "14";
smallclass[82] = new Array();
smallclass[82][0] = "1409";
smallclass[82][1] = "活动聚会";
smallclass[82][2] = "14";
smallclass[83] = new Array();
smallclass[83][0] = "1501";
smallclass[83][1] = "公告";
smallclass[83][2] = "15";
smallclass[84] = new Array();
smallclass[84][0] = "1502";
smallclass[84][1] = "新版申请";
smallclass[84][2] = "15";
smallclass[85] = new Array();
smallclass[85][0] = "1503";
smallclass[85][1] = "建议和意见";
smallclass[85][2] = "15";
smallclass[86] = new Array();
smallclass[86][0] = "1504";
smallclass[86][1] = "投诉专区";
smallclass[86][2] = "15";
smallclass[87] = new Array();
smallclass[87][0] = "1505";
smallclass[87][1] = "社区电子杂志";
smallclass[87][2] = "15";
smallclass[88] = new Array();
smallclass[88][0] = "1601";
smallclass[88][1] = "程序员杂志";
smallclass[88][2] = "16";
smallclass[89] = new Array();
smallclass[89][0] = "1602";
smallclass[89][1] = "程序员大本营";
smallclass[89][2] = "16";
smallclass[90] = new Array();
smallclass[90][0] = "1603";
smallclass[90][1] = "华表电子表格";
smallclass[90][2] = "16";
smallclass[91] = new Array();
smallclass[91][0] = "1604";
smallclass[91][1] = "IBM 开发者大会";
smallclass[91][2] = "16";
smallclass[92] = new Array();
smallclass[92][0] = "1605";
smallclass[92][1] = "人民邮电出版社";
smallclass[92][2] = "16";
smallclass[93] = new Array();
smallclass[93][0] = "1607";
smallclass[93][1] = "微软Tech-Ed技术教育大会";
smallclass[93][2] = "16";
smallclass[94] = new Array();
smallclass[94][0] = "1608";
smallclass[94][1] = "清华大学出版社";
smallclass[94][2] = "16";
smallclass[95] = new Array();
smallclass[95][0] = "1609";
smallclass[95][1] = "中国软件技术大会";
smallclass[95][2] = "16";
smallclass[96] = new Array();
smallclass[96][0] = "1701";
smallclass[96][1] = "Kylix";
smallclass[96][2] = "17";
smallclass[97] = new Array();
smallclass[97][0] = "1702";
smallclass[97][1] = "脚本语言(Perl ,Python)";
smallclass[97][2] = "17";
smallclass[98] = new Array();
smallclass[98][0] = "1703";
smallclass[98][1] = "汇编语言";
smallclass[98][2] = "17";
smallclass[99] = new Array();
smallclass[99][0] = "1704";
smallclass[99][1] = "Office开发/ VBA";
smallclass[99][2] = "17";
smallclass[100] = new Array();
smallclass[100][0] = "1705";
smallclass[100][1] = "其他开发语言";
smallclass[100][2] = "17";
smallclass[101] = new Array();
smallclass[101][0] = "1706";
smallclass[101][1] = "C# builder";
smallclass[101][2] = "17";
smallclass[102] = new Array();
smallclass[102][0] = "1802";
smallclass[102][1] = "数据仓库";
smallclass[102][2] = "18";
smallclass[103] = new Array();
smallclass[103][0] = "1803";
smallclass[103][1] = "VFP";
smallclass[103][2] = "18";
smallclass[104] = new Array();
smallclass[104][0] = "1804";
smallclass[104][1] = "Access";
smallclass[104][2] = "18";
smallclass[105] = new Array();
smallclass[105][0] = "1805";
smallclass[105][1] = "Sybase";
smallclass[105][2] = "18";
smallclass[106] = new Array();
smallclass[106][0] = "1806";
smallclass[106][1] = "IBM DB2";
smallclass[106][2] = "18";
smallclass[107] = new Array();
smallclass[107][0] = "1807";
smallclass[107][1] = "Informix";
smallclass[107][2] = "18";
smallclass[108] = new Array();
smallclass[108][0] = "1808";
smallclass[108][1] = "MySQL/Postgresql";
smallclass[108][2] = "18";
smallclass[109] = new Array();
smallclass[109][0] = "1809";
smallclass[109][1] = "数据库报表";
smallclass[109][2] = "18";
smallclass[110] = new Array();
smallclass[110][0] = "1810";
smallclass[110][1] = "其他数据库";
smallclass[110][2] = "18";
smallclass[111] = new Array();
smallclass[111][0] = "1811";
smallclass[111][1] = "InterBase";
smallclass[111][2] = "18";
smallclass[112] = new Array();
smallclass[112][0] = "1812";
smallclass[112][1] = "Visual DBTOOLS";
smallclass[112][2] = "18";
smallclass[113] = new Array();
smallclass[113][0] = "1606";
smallclass[113][1] = "P&C专业出版";
smallclass[113][2] = "20";
smallclass[114] = new Array();
smallclass[114][0] = "5001";
smallclass[114][1] = "基础类";
smallclass[114][2] = "50";
smallclass[115] = new Array();
smallclass[115][0] = "5002";
smallclass[115][1] = "非技术类";
smallclass[115][2] = "50";
smallclass[116] = new Array();
smallclass[116][0] = "5003";
smallclass[116][1] = "界面";
smallclass[116][2] = "50";
smallclass[117] = new Array();
smallclass[117][0] = "5004";
smallclass[117][1] = "网络编程";
smallclass[117][2] = "50";
smallclass[118] = new Array();
smallclass[118][0] = "5005";
smallclass[118][1] = "进程/线程/DLL";
smallclass[118][2] = "50";
smallclass[119] = new Array();
smallclass[119][0] = "5006";
smallclass[119][1] = "ATL/ActiveX/COM";
smallclass[119][2] = "50";
smallclass[120] = new Array();
smallclass[120][0] = "5007";
smallclass[120][1] = "数据库";
smallclass[120][2] = "50";
smallclass[121] = new Array();
smallclass[121][0] = "5008";
smallclass[121][1] = "硬件/系统";
smallclass[121][2] = "50";
smallclass[122] = new Array();
smallclass[122][0] = "5009";
smallclass[122][1] = "HTML/XML";
smallclass[122][2] = "50";
smallclass[123] = new Array();
smallclass[123][0] = "5010";
smallclass[123][1] = "图形处理/算法";
smallclass[123][2] = "50";
smallclass[124] = new Array();
smallclass[124][0] = "5011";
smallclass[124][1] = "Visual C++ 资源";
smallclass[124][2] = "50";
smallclass[125] = new Array();
smallclass[125][0] = "5101";
smallclass[125][1] = "基础类";
smallclass[125][2] = "51";
smallclass[126] = new Array();
smallclass[126][0] = "5102";
smallclass[126][1] = "非技术类";
smallclass[126][2] = "51";
smallclass[127] = new Array();
smallclass[127][0] = "5103";
smallclass[127][1] = "控件";
smallclass[127][2] = "51";
smallclass[128] = new Array();
smallclass[128][0] = "5104";
smallclass[128][1] = "API";
smallclass[128][2] = "51";
smallclass[129] = new Array();
smallclass[129][0] = "5105";
smallclass[129][1] = "数据库(包含打印,安装,报表)";
smallclass[129][2] = "51";
smallclass[130] = new Array();
smallclass[130][0] = "5106";
smallclass[130][1] = "多媒体";
smallclass[130][2] = "51";
smallclass[131] = new Array();
smallclass[131][0] = "5107";
smallclass[131][1] = "网络编程";
smallclass[131][2] = "51";
smallclass[132] = new Array();
smallclass[132][0] = "5108";
smallclass[132][1] = "VBA";
smallclass[132][2] = "51";
smallclass[133] = new Array();
smallclass[133][0] = "5109";
smallclass[133][1] = "COM/DCOM/COM+";
smallclass[133][2] = "51";
smallclass[134] = new Array();
smallclass[134][0] = "5110";
smallclass[134][1] = "VB资源";
smallclass[134][2] = "51";
smallclass[135] = new Array();
smallclass[135][0] = "5201";
smallclass[135][1] = "C#";
smallclass[135][2] = "52";
smallclass[136] = new Array();
smallclass[136][0] = "5202";
smallclass[136][1] = "ASP.NET";
smallclass[136][2] = "52";
smallclass[137] = new Array();
smallclass[137][0] = "5203";
smallclass[137][1] = ".NET Framework";
smallclass[137][2] = "52";
smallclass[138] = new Array();
smallclass[138][0] = "5204";
smallclass[138][1] = "Web Services";
smallclass[138][2] = "52";
smallclass[139] = new Array();
smallclass[139][0] = "5205";
smallclass[139][1] = "VB.NET";
smallclass[139][2] = "52";
smallclass[140] = new Array();
smallclass[140][0] = "5206";
smallclass[140][1] = "VC.NET";
smallclass[140][2] = "52";
smallclass[141] = new Array();
smallclass[141][0] = "5207";
smallclass[141][1] = "其他";
smallclass[141][2] = "52";
smallclass[142] = new Array();
smallclass[142][0] = "5208";
smallclass[142][1] = "非技术区";
smallclass[142][2] = "52";
smallclass[143] = new Array();
smallclass[143][0] = "5209";
smallclass[143][1] = "J#";
smallclass[143][2] = "52";
smallclass[144] = new Array();
smallclass[144][0] = "5210";
smallclass[144][1] = "Delphi.net";
smallclass[144][2] = "52";
smallclass[145] = new Array();
smallclass[145][0] = "5211";
smallclass[145][1] = "图表区";
smallclass[145][2] = "52";
smallclass[146] = new Array();
smallclass[146][0] = "5212";
smallclass[146][1] = ".NET技术前瞻";
smallclass[146][2] = "52";
smallclass[147] = new Array();
smallclass[147][0] = "5213";
smallclass[147][1] = "分析与设计";
smallclass[147][2] = "52";
smallclass[148] = new Array();
smallclass[148][0] = "5301";
smallclass[148][1] = "VCL组件开发及应用";
smallclass[148][2] = "53";
smallclass[149] = new Array();
smallclass[149][0] = "5302";
smallclass[149][1] = "非技术区";
smallclass[149][2] = "53";
smallclass[150] = new Array();
smallclass[150][0] = "5304";
smallclass[150][1] = "Windows SDK/API";
smallclass[150][2] = "53";
smallclass[151] = new Array();
smallclass[151][0] = "5305";
smallclass[151][1] = "数据库相关";
smallclass[151][2] = "53";
smallclass[152] = new Array();
smallclass[152][0] = "5306";
smallclass[152][1] = "GAME,图形处理/多媒体";
smallclass[152][2] = "53";
smallclass[153] = new Array();
smallclass[153][0] = "5307";
smallclass[153][1] = "网络通信/分布式开发";
smallclass[153][2] = "53";
smallclass[154] = new Array();
smallclass[154][0] = "5308";
smallclass[154][1] = "语言基础/算法/系统设计";
smallclass[154][2] = "53";
smallclass[155] = new Array();
smallclass[155][0] = "5401";
smallclass[155][1] = "J2SE / 基础类";
smallclass[155][2] = "54";
smallclass[156] = new Array();
smallclass[156][0] = "5402";
smallclass[156][1] = "非技术区";
smallclass[156][2] = "54";
smallclass[157] = new Array();
smallclass[157][0] = "5403";
smallclass[157][1] = "Java Enterprise Open Source";
smallclass[157][2] = "54";
smallclass[158] = new Array();
smallclass[158][0] = "5404";
smallclass[158][1] = "J2EE / EJB / JMS";
smallclass[158][2] = "54";
smallclass[159] = new Array();
smallclass[159][0] = "5405";
smallclass[159][1] = "J2ME";
smallclass[159][2] = "54";
smallclass[160] = new Array();
smallclass[160][0] = "5406";
smallclass[160][1] = "Java WebServices & XML/Soap";
smallclass[160][2] = "54";
smallclass[161] = new Array();
smallclass[161][0] = "5407";
smallclass[161][1] = "IntelliJ IDEA";
smallclass[161][2] = "54";
smallclass[162] = new Array();
smallclass[162][0] = "5409";
smallclass[162][1] = "JSP/Servlet/JavaBean";
smallclass[162][2] = "54";
smallclass[163] = new Array();
smallclass[163][0] = "5410";
smallclass[163][1] = "设计模式";
smallclass[163][2] = "54";
smallclass[164] = new Array();
smallclass[164][0] = "5411";
smallclass[164][1] = "SUN Java 认证";
smallclass[164][2] = "54";
smallclass[165] = new Array();
smallclass[165][0] = "5412";
smallclass[165][1] = "Borland JBuilder";
smallclass[165][2] = "54";
smallclass[166] = new Array();
smallclass[166][0] = "5501";
smallclass[166][1] = "基础类";
smallclass[166][2] = "55";
smallclass[167] = new Array();
smallclass[167][0] = "5502";
smallclass[167][1] = "BCB茶馆";
smallclass[167][2] = "55";
smallclass[168] = new Array();
smallclass[168][0] = "5503";
smallclass[168][1] = "VCL组件使用和开发";
smallclass[168][2] = "55";
smallclass[169] = new Array();
smallclass[169][0] = "5504";
smallclass[169][1] = "数据库及相关技术";
smallclass[169][2] = "55";
smallclass[170] = new Array();
smallclass[170][0] = "5505";
smallclass[170][1] = "Windows SDK/API";
smallclass[170][2] = "55";
smallclass[171] = new Array();
smallclass[171][0] = "5506";
smallclass[171][1] = "网络及通讯开发";
smallclass[171][2] = "55";
smallclass[172] = new Array();
smallclass[172][0] = "5507";
smallclass[172][1] = "ActiveX/COM/DCOM";
smallclass[172][2] = "55";
smallclass[173] = new Array();
smallclass[173][0] = "5601";
smallclass[173][1] = "C语言";
smallclass[173][2] = "56";
smallclass[174] = new Array();
smallclass[174][0] = "5602";
smallclass[174][1] = "非技术区";
smallclass[174][2] = "56";
smallclass[175] = new Array();
smallclass[175][0] = "5603";
smallclass[175][1] = "工具平台和程序库";
smallclass[175][2] = "56";
smallclass[176] = new Array();
smallclass[176][0] = "5604";
smallclass[176][1] = "C++ 语言";
smallclass[176][2] = "56";
smallclass[177] = new Array();
smallclass[177][0] = "5605";
smallclass[177][1] = "新手乐园";
smallclass[177][2] = "56";
smallclass[178] = new Array();
smallclass[178][0] = "5606";
smallclass[178][1] = "模式及实现";
smallclass[178][2] = "56";
smallclass[179] = new Array();
smallclass[179][0] = "5607";
smallclass[179][1] = "其它技术问题";
smallclass[179][2] = "56";
smallclass[180] = new Array();
smallclass[180][0] = "5701";
smallclass[180][1] = "基础类";
smallclass[180][2] = "57";
smallclass[181] = new Array();
smallclass[181][0] = "5702";
smallclass[181][1] = "非技术版";
smallclass[181][2] = "57";
smallclass[182] = new Array();
smallclass[182][0] = "5703";
smallclass[182][1] = "数据库管理";
smallclass[182][2] = "57";
smallclass[183] = new Array();
smallclass[183][0] = "5704";
smallclass[183][1] = "数据库开发";
smallclass[183][2] = "57";
smallclass[184] = new Array();
smallclass[184][0] = "5801";
smallclass[184][1] = "基础类";
smallclass[184][2] = "58";
smallclass[185] = new Array();
smallclass[185][0] = "5802";
smallclass[185][1] = "非技术版";
smallclass[185][2] = "58";
smallclass[186] = new Array();
smallclass[186][0] = "5803";
smallclass[186][1] = "Pb脚本语言";
smallclass[186][2] = "58";
smallclass[187] = new Array();
smallclass[187][0] = "5804";
smallclass[187][1] = "DataWindow";
smallclass[187][2] = "58";
smallclass[188] = new Array();
smallclass[188][0] = "5805";
smallclass[188][1] = "API 调用";
smallclass[188][2] = "58";
smallclass[189] = new Array();
smallclass[189][0] = "5806";
smallclass[189][1] = "控件与界面";
smallclass[189][2] = "58";
smallclass[190] = new Array();
smallclass[190][0] = "5807";
smallclass[190][1] = "Pb Web 应用";
smallclass[190][2] = "58";
smallclass[191] = new Array();
smallclass[191][0] = "5808";
smallclass[191][1] = "数据库相关";
smallclass[191][2] = "58";
smallclass[192] = new Array();
smallclass[192][0] = "5809";
smallclass[192][1] = "项目管理";
smallclass[192][2] = "58";
smallclass[193] = new Array();
smallclass[193][0] = "5901";
smallclass[193][1] = "基础类";
smallclass[193][2] = "59";
smallclass[194] = new Array();
smallclass[194][0] = "5902";
smallclass[194][1] = "WebService";
smallclass[194][2] = "59";
smallclass[195] = new Array();
smallclass[195][0] = "5903";
smallclass[195][1] = "开发工具/WSAD";
smallclass[195][2] = "59";
smallclass[196] = new Array();
smallclass[196][0] = "5904";
smallclass[196][1] = "应用服务器/WAS";
smallclass[196][2] = "59";
smallclass[197] = new Array();
smallclass[197][0] = "5905";
smallclass[197][1] = "企业门户/WS Portal Server";
smallclass[197][2] = "59";
smallclass[198] = new Array();
smallclass[198][0] = "5906";
smallclass[198][1] = "业务整合/Business Integrator";
smallclass[198][2] = "59";
smallclass[199] = new Array();
smallclass[199][0] = "5907";
smallclass[199][1] = "非技术区";
smallclass[199][2] = "59";
smallclass[200] = new Array();
smallclass[200][0] = "6001";
smallclass[200][1] = "基础类";
smallclass[200][2] = "60";
smallclass[201] = new Array();
smallclass[201][0] = "6002";
smallclass[201][1] = "数据库管理";
smallclass[201][2] = "60";
smallclass[202] = new Array();
smallclass[202][0] = "6003";
smallclass[202][1] = "数据库开发";
smallclass[202][2] = "60";
smallclass[203] = new Array();
smallclass[203][0] = "6004";
smallclass[203][1] = "非技术区";
smallclass[203][2] = "60";
smallclass[204] = new Array();
smallclass[204][0] = "6005";
smallclass[204][1] = "数据管理";
smallclass[204][2] = "60";
smallclass[205] = new Array();
smallclass[205][0] = "6006";
smallclass[205][1] = "内容管理";
smallclass[205][2] = "60";
smallclass[206] = new Array();
smallclass[206][0] = "6007";
smallclass[206][1] = "商业智能";
smallclass[206][2] = "60";
smallclass[207] = new Array();
smallclass[207][0] = "6101";
smallclass[207][1] = "基础和管理";
smallclass[207][2] = "61";
smallclass[208] = new Array();
smallclass[208][0] = "6102";
smallclass[208][1] = "开发";
smallclass[208][2] = "61";
smallclass[209] = new Array();
smallclass[209][0] = "6103";
smallclass[209][1] = "高级技术";
smallclass[209][2] = "61";
smallclass[210] = new Array();
smallclass[210][0] = "6104";
smallclass[210][1] = "认证与考试";
smallclass[210][2] = "61";
smallclass[211] = new Array();
smallclass[211][0] = "6201";
smallclass[211][1] = "基本信息";
smallclass[211][2] = "62";
smallclass[212] = new Array();
smallclass[212][0] = "6202";
smallclass[212][1] = "文章评论";
smallclass[212][2] = "62";
smallclass[213] = new Array();
smallclass[213][0] = "6203";
smallclass[213][1] = "购买/订阅/渠道";
smallclass[213][2] = "62";
smallclass[214] = new Array();
smallclass[214][0] = "6204";
smallclass[214][1] = "广告咨询";
smallclass[214][2] = "62";
smallclass[215] = new Array();
smallclass[215][0] = "6301";
smallclass[215][1] = "开发平台";
smallclass[215][2] = "63";
smallclass[216] = new Array();
smallclass[216][0] = "6302";
smallclass[216][1] = "手机操作系统";
smallclass[216][2] = "63";
smallclass[217] = new Array();
smallclass[217][0] = "6303";
smallclass[217][1] = "开发应用";
smallclass[217][2] = "63";
smallclass[218] = new Array();
smallclass[218][0] = "6304";
smallclass[218][1] = "近距离无线技术";
smallclass[218][2] = "63";
smallclass[219] = new Array();
smallclass[219][0] = "6401";
smallclass[219][1] = "控件";
smallclass[219][2] = "64";
smallclass[220] = new Array();
smallclass[220][0] = "6402";
smallclass[220][1] = "SVG";
smallclass[220][2] = "64";
smallclass[221] = new Array();
smallclass[221][0] = "6501";
smallclass[221][1] = "基本信息";
smallclass[221][2] = "65";
smallclass[222] = new Array();
smallclass[222][0] = "6502";
smallclass[222][1] = "文章评论";
smallclass[222][2] = "65";
smallclass[223] = new Array();
smallclass[223][0] = "6503";
smallclass[223][1] = "选题投稿";
smallclass[223][2] = "65";
smallclass[224] = new Array();
smallclass[224][0] = "6504";
smallclass[224][1] = "购买/订阅/广告";
smallclass[224][2] = "65";
smallclass[225] = new Array();
smallclass[225][0] = "6601";
smallclass[225][1] = "文章精粹";
smallclass[225][2] = "66";
smallclass[226] = new Array();
smallclass[226][0] = "6602";
smallclass[226][1] = "招聘及招标";
smallclass[226][2] = "66";
smallclass[227] = new Array();
smallclass[227][0] = "6603";
smallclass[227][1] = "技术讨论";
smallclass[227][2] = "66";
smallclass[228] = new Array();
smallclass[228][0] = "6604";
smallclass[228][1] = "Palm OS 6";
smallclass[228][2] = "66";
smallclass[229] = new Array();
smallclass[229][0] = "6701";
smallclass[229][1] = "软件开发竞赛";
smallclass[229][2] = "67";
smallclass[230] = new Array();
smallclass[230][0] = "6702";
smallclass[230][1] = "逻辑算法竞赛";
smallclass[230][2] = "67";
smallclass[231] = new Array();
smallclass[231][0] = "6703";
smallclass[231][1] = "渲染技术竞赛";
smallclass[231][2] = "67";
smallclass[232] = new Array();
smallclass[232][0] = "6704";
smallclass[232][1] = "短片制作竞赛";
smallclass[232][2] = "67";
smallclass[233] = new Array();
smallclass[233][0] = "6801";
smallclass[233][1] = "基本信息";
smallclass[233][2] = "68";
smallclass[234] = new Array();
smallclass[234][0] = "6802";
smallclass[234][1] = "文章评论";
smallclass[234][2] = "68";
smallclass[235] = new Array();
smallclass[235][0] = "6803";
smallclass[235][1] = "购买\渠道\订阅";
smallclass[235][2] = "68";
smallclass[236] = new Array();
smallclass[236][0] = "6804";
smallclass[236][1] = "意见建议";
smallclass[236][2] = "68";
}
function changeitem()
{
var SelectedBigId,i,j;
for (i= smallclassid.options.length-1;i>=0 ;--i)
{
smallclassid.options[i] = null;
}
SelectedBigId = bigclassid.options[bigclassid.selectedIndex].value;
j = 0;
for (i=0 ;i< smallclass.length ;i++)
{
if (SelectedBigId == smallclass[i][2])
{
smallclassid.options[j] = new Option(smallclass[i][1],smallclass[i][0]);
++j;
}
}
}
</script>
</body>
</html>
CSDN.hta
DDR爱好者之家 Design By 杰米
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
DDR爱好者之家 Design By 杰米
暂无评论...
更新日志
2024年12月27日
2024年12月27日
- 小骆驼-《草原狼2(蓝光CD)》[原抓WAV+CUE]
- 群星《欢迎来到我身边 电影原声专辑》[320K/MP3][105.02MB]
- 群星《欢迎来到我身边 电影原声专辑》[FLAC/分轨][480.9MB]
- 雷婷《梦里蓝天HQⅡ》 2023头版限量编号低速原抓[WAV+CUE][463M]
- 群星《2024好听新歌42》AI调整音效【WAV分轨】
- 王思雨-《思念陪着鸿雁飞》WAV
- 王思雨《喜马拉雅HQ》头版限量编号[WAV+CUE]
- 李健《无时无刻》[WAV+CUE][590M]
- 陈奕迅《酝酿》[WAV分轨][502M]
- 卓依婷《化蝶》2CD[WAV+CUE][1.1G]
- 群星《吉他王(黑胶CD)》[WAV+CUE]
- 齐秦《穿乐(穿越)》[WAV+CUE]
- 发烧珍品《数位CD音响测试-动向效果(九)》【WAV+CUE】
- 邝美云《邝美云精装歌集》[DSF][1.6G]
- 吕方《爱一回伤一回》[WAV+CUE][454M]