添加飞CMS影视系统2.8自定义采功能

建站交流11年前 (2014-07-09)16770
安装说明:

解压压缩包

覆盖到网站目录中

覆盖到网站目录中
不覆盖common.php 请自行修改网站的目录的文件
打开/Lib/Common/common.php
找到
function getvoddata($rule,$html){
        return ff_preg_match($rule,$html);
}
修改为
function getvoddata($rule,$html){
        return ff_preg_match($html,$rule);
}

找到
function getvodall($rule,$html){
        return ff_preg_match_all($rule,$html);
}
修改为
function getvodall($rule,$html){
        return ff_preg_match_all($html,$rule);
}

进入后台数据库维护执行SQL语句中 执行一下SQL 注意ff_collect前缀有做修改对应修改一下

如果默认安装的不用改

CREATE TABLE IF NOT EXISTS `ff_collect` (
  `collect_id` smallint(6) unsigned NOT NULL AUTO_INCREMENT,
  `collect_title` varchar(50) NOT NULL,
  `collect_encoding` varchar(10) NOT NULL,
  `collect_player` varchar(50) NOT NULL,
  `collect_savepic` tinyint(4) NOT NULL,
  `collect_order` tinyint(4) NOT NULL,
  `collect_pagetype` tinyint(4) NOT NULL,
  `collect_liststr` text NOT NULL,
  `collect_pagestr` text NOT NULL,
  `collect_pagesid` smallint(6) unsigned NOT NULL,
  `collect_pageeid` smallint(6) unsigned NOT NULL,
  `collect_listurlstr` text NOT NULL,
  `collect_listlink` text NOT NULL,
  `collect_listpicstr` text NOT NULL,
  `collect_cid` text NOT NULL,
  `collect_listname` text NOT NULL,
  `collect_keywords` text NOT NULL,
  `collect_name` text NOT NULL,
  `collect_titlee` text NOT NULL,
  `collect_actor` text NOT NULL,
  `collect_director` text NOT NULL,
  `collect_content` text NOT NULL,
  `collect_pic` text NOT NULL,
  `collect_area` text NOT NULL,
  `collect_language` text NOT NULL,
  `collect_year` text NOT NULL,
  `collect_continu` text NOT NULL,
  `collect_urlstr` text NOT NULL,
  `collect_urlname` text NOT NULL,
  `collect_urllink` text NOT NULL,
  `collect_url` text NOT NULL,
  `collect_replace` text NOT NULL,
  PRIMARY KEY (`collect_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;


执行完成后 进入 采集管理 导入采集规则

飞飞CMS2.8自定义采集补丁.zip

标签: 飞飞cms

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。