找回密码
 注册
【阿里云】2核2G云新老同享 99元/年,续费同价华为云精选云产品特惠做网站就用糖果主机Jtti,新加坡服务器,美国服务器,香港服务器
查看: 1109|回复: 7

【规则】杰奇小说采集起点规则

[复制链接]
发表于 2009 年 1 月 14 日 13:09:11 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
转至:http://mcncc.com/html/demo/jieqi/2009/0114/46.html

复制规则另存为site_qidianaa.php


以下为规则的内容:

<?php
$jieqiCollect['sitename'] = '新起点';
$jieqiCollect['siteurl'] = 'http://qidian.com/';
$jieqiCollect['subarticleid'] = '';
$jieqiCollect['subchapterid'] = '';
$jieqiCollect['proxy_host'] = '';
$jieqiCollect['proxy_port'] = '';
$jieqiCollect['autoclear'] = '0';
$jieqiCollect['defaultfull'] = '0';
$jieqiCollect['referer'] = '0';
$jieqiCollect['pagecharset'] = 'auto';
$jieqiCollect['urlarticle'] = 'http://qidian.com/Book/<{articleid}>.aspx';
$jieqiCollect['articletitle']['left'] = '起点中文网《';
$jieqiCollect['articletitle']['right'] = '》';
$jieqiCollect['articletitle']['middle'] = '!!!!';
$jieqiCollect['author']['left'] = '》,小说作者:';
$jieqiCollect['author']['right'] = ',小说类别';
$jieqiCollect['author']['middle'] = '!!!!';
$jieqiCollect['sort']['left'] = '<strong>小说大类:</strong>';
$jieqiCollect['sort']['right'] = '</td>';
$jieqiCollect['sort']['middle'] = '!!!!';
$jieqiCollect['keyword']['left'] = '小说关键字:</strong>';
$jieqiCollect['keyword']['right'] = '<br />';
$jieqiCollect['keyword']['middle'] = '!!!!';
$jieqiCollect['intro']['left'] = 'break-word;">';
$jieqiCollect['intro']['right'] = '<br />';
$jieqiCollect['intro']['middle'] = '****';
$jieqiCollect['articleimage']['left'] = '"';
$jieqiCollect['articleimage']['right'] = '" width="120px" height="150px" border="0" alt="';
$jieqiCollect['articleimage']['middle'] = '!!!!';
$jieqiCollect['filterimage'] = '';
$jieqiCollect['indexlink']['left'] = '<a href="../BookReader/';
$jieqiCollect['indexlink']['right'] = '.aspx"><img src="../Images/Book/new_an1.gif" border="0" alt="点击阅读" />';
$jieqiCollect['indexlink']['middle'] = '$$$$';
$jieqiCollect['fullarticle'] = '写作进程:</strong>已完成</td>';
$jieqiCollect['sortid']['玄幻魔法'] = '1';
$jieqiCollect['sortid']['武侠修真'] = '2';
$jieqiCollect['sortid']['都市言情'] = '3';
$jieqiCollect['sortid']['历史军事'] = '4';
$jieqiCollect['sortid']['侦探推理'] = '5';
$jieqiCollect['sortid']['网游动漫'] = '6';
$jieqiCollect['sortid']['科幻小说'] = '7';
$jieqiCollect['sortid']['恐怖灵异'] = '8';
$jieqiCollect['sortid']['散文诗词'] = '9';
$jieqiCollect['sortid']['其他类型'] = '10';
$jieqiCollect['urlindex'] = 'http://www.qidian.com/BookReader/<{articleid}>.aspx';
$jieqiCollect['volume']['left'] = '<div class=\'chat\'><b>';
$jieqiCollect['volume']['right'] = '</strong>';
$jieqiCollect['volume']['middle'] = '!!!!';
$jieqiCollect['chapter']['left'] = '更新时间:~~~~\'> ';
$jieqiCollect['chapter']['right'] = '</a>';
$jieqiCollect['chapter']['middle'] = '!!!!';
$jieqiCollect['chapterid']['left'] = 'class=\'chaptertd\'><a href=\'$$$$,';
$jieqiCollect['chapterid']['right'] = '.aspx\' class=\'BookName\'';
$jieqiCollect['chapterid']['middle'] = '****';
$jieqiCollect['urlchapter'] = 'http://www.qidian.com/BookReader/<{articleid}>,<{chapterid}>.aspx';
$jieqiCollect['content']['left'] = '<div id="content" align="left">';
$jieqiCollect['content']['right'] = '</div>';
$jieqiCollect['content']['middle'] = '****';
$jieqiCollect['contentfilter'] = '';
$jieqiCollect['contentreplace'] = '';
$jieqiCollect['collectimage'] = '1';
$jieqiCollect['imagetranslate'] = '0';
$jieqiCollect['addimagewater'] = '0';
$jieqiCollect['imagebgcolor'] = '';
$jieqiCollect['imageareaclean'] = '';
$jieqiCollect['imagecolorclean'] = '';
$jieqiCollect['listcollect']['0']['title'] = '全本小说';
$jieqiCollect['listcollect']['0']['urlpage'] = 'http://www.qidian.com/Book/BookStore.aspx?Type=1';
$jieqiCollect['listcollect']['0']['articleid']['left'] = 'new Book(\'';
$jieqiCollect['listcollect']['0']['articleid']['right'] = '\',\'';
$jieqiCollect['listcollect']['0']['articleid']['middle'] = '$$$$';
$jieqiCollect['listcollect']['0']['startpageid'] = '';
$jieqiCollect['listcollect']['0']['nextpageid'] = '++';
$jieqiCollect['listcollect']['0']['maxpagenum'] = '';
?>
然后上载到 /configs/article/目录里
修改 collectsite.php
在结尾增加下面的代码

以下为引用的内容:

$jieqiCollectsite['12']['name'] = '新起点';
$jieqiCollectsite['12']['config'] = 'qidianaa';
$jieqiCollectsite['12']['url'] = 'http://qidian.com/';
$jieqiCollectsite['12']['subarticleid'] = '';
$jieqiCollectsite['12']['enable'] = '1';

Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2009 年 1 月 14 日 14:32:53 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价

                               
登录/注册后可看大图
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2009 年 1 月 14 日 16:29:24 | 显示全部楼层
很不错的说   多谢多谢
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2009 年 1 月 14 日 16:37:43 | 显示全部楼层
出现错误!

错误原因:读取对方网站失败,可能是对方无法访问或者本服务器禁止远程读取网页!
URL: http://www.qidian.com/Book/BookStore.aspx?Type=1

请 返 回 并修正


不知道为什么一直出现这个错误呢?
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

 楼主| 发表于 2009 年 1 月 14 日 16:39:19 | 显示全部楼层
空间PHP配置的原因
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2009 年 1 月 14 日 16:46:13 | 显示全部楼层
允许使用URL打开文件 allow_url_fopen YES     配置应该没问题吧
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2009 年 1 月 14 日 22:13:31 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
什么东东
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2009 年 1 月 14 日 23:40:23 | 显示全部楼层
不會
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2024 年 11 月 20 日 07:40 , Processed in 0.020072 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表