アットウィキロゴ

0508xxd

class ren{

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];    
int[] bcode=new int[100];
String[] surface=new String[100];
String[] reading=new String[100];
String[] pos=new String[100];
String urlx,str,bun,dbtable,wordtable;
int s,sx,articlenumber,wordnumber;
int key;

public static void main(String args[]){
ren test=new ren();
}

ren(){
dbtable="bojtable3";
wordtable="wordtable3";

key=0;
bojtable tab=new bojtable();
if(key>50)tab.makedata(dbtable);

key=0;
wordtable wtab=new wordtable();
if(key>50)wtab.makedata(wordtable);

urlx="http://api.bing.com/rss.aspx?Source=News&Market=ja-JP&Version=2.0&Query=%E6%97%A5%E6%9C%AC%E9%8A%80%E8%A1%8C";

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;


for(s=1;s<articlenumber+1;s++){
System.out.println(title[s]);
}

binsert bin=new binsert();
bin.title=title;
bin.source=source;
bin.date=date;
bin.link=link;
bin.content=content;
for(s=1;s<articlenumber+1;s++){
bin.makedata(dbtable,s);
}

datecheck dc=new datecheck();
for (s=1;s<articlenumber+1;s++){
dc.x=date[s];
dc.makedata(dbtable);
bcode[s]=dc.bcode;
}

for(s=1;s<articlenumber+1;s++){

yahoo yh=new yahoo();
yh.makedata(content[s]);
bun=yh.bun;

xml x=new xml();
x.makedata(bun);
surface=x.surface;
reading=x.reading;
pos=x.pos;
wordnumber=x.wordnumber;

wordinsert win=new wordinsert();
win.bcode=bcode[s];
win.word=surface;

for(sx=1;sx<wordnumber+1;sx++){
win.makedata(wordtable,sx);
}

}


}
}
最終更新:2011年04月10日 15:54