class pro{
int year[]=new int[100];
int month[]=new int[100];
int day[]=new int[100];
String[] title=new String[100];
String[] source=new String[100];
String[] date=new String[100];
String[] content=new String[100];
String[] link=new String[100];
String com[]=new String[10000];
int tsecode[]=new int[10000];
int tsenumber;
String urlx,bun,dbtable,wordtable;
int s,n,sx,articlenumber,wordnumber;
int key;
public static void main(String args[]){
pro test=new pro();
}
pro(){
dbtable="maintable2";
key=0;
table tab=new table();
if(key>50)tab.makedata(dbtable);
getcode gc =new getcode();
gc.makedata();
tsecode=gc.tsecode;
com=gc.com;
tsenumber=gc.tsenumber;
for (n=300;n<301;n++){
System.out.println(com[n]);
bing b=new bing();
b.makedata(n);
urlx=b.urlx;
getdata gt=new getdata();
gt.makedata(urlx);
bun=gt.bun;
rssreader rss=new rssreader();
rss.bun=bun;
rss.makedata();
title=rss.title;
source=rss.source;
date=rss.date;
link=rss.link;
content=rss.content;
articlenumber=rss.articlenumber;
daycheck dc=new daycheck();
for(s=1;s<articlenumber+1;s++){
dc.makedata(date[s]);
year[s]=dc.year;
month[s]=dc.month;
day[s]=dc.day;
}
insert in=new insert();
in.year=year;
in.month=month;
in.day=day;
in.title=title;
in.link=link;
in.content=content;
in.source=source;
in.tsecode=tsecode[n];
for(s=1;s<articlenumber+1;s++){
in.makedata(dbtable,s);
}
}
}
}
最終更新:2011年04月11日 08:11