atitit.seo 发帖关键词以及链接的制作.doc
atitit.seo 发帖关键词以及链接的制作.doc
1. 关键词的获得(by cate)
1.1. 删除统计数量 Cartier(144) 格式
1.2. \(\d*\) 替换
作者:: 老哇的爪子 Attilax 艾龙, EMAIL:1466519819@qq.com
转载请注明来源: http://blog.csdn.net/attilax
2. 网站品牌link地址
http://www.menumalls.com/replica-price/replica-bvlgari-watches.html
3. 调用
public class GeneLink {
public static void main(String[] args) throws Exception {
GeneLink c = new GeneLink();
// c.brdtxt= pathx.classPath(GeneLink.class) + "brand.txt";
// c.gene("D:\\home_src\\watchesnada0\\public_html\\replica-watches");
c.outputSql = "c:\\menumall_links.sql";
c.website = "http://www.menumalls.com/replica-price/";
c.brdtxt = pathx.classPath(GeneLink.class) + "menumallbrand.txt";
// c.test=true;
c.gene("D:\\home_src\\menumalls0\\public_html\\replica-price");
}
4. 遍历文件and品牌list
4.1. 控制每品牌只生成两个链接..
5. 生成sql脚本
insert link_big(name,url,type,status)values('Okl','http://www.menumalls.com/replica-price/gt-50-meters.html',1,1) ;