% this function will read a google download html file and covert it % into mysql batch command file %{ %} function outObj = readGoogleObj(googleFname, outObj, topic_mid, keywords) inFP = fopen(googleFname, 'r'); myStr = ''; tline = fgetl(inFP); while ischar(tline) myStr = [myStr tline]; tline = fgetl(inFP); end % googleReg = '(title=")[^"]+(")'; googleReg = '(