2021年dedecms伪原创插件,织梦AI文章伪原创插件使用方法
零七AI伪原创插件安装 登录织梦后台—>模块—>上传新模块—>选择我们解压后的文件—>点击确定
上传成功后,回到插件安装页面,点击“安装”,安装友荐推荐插件。
安装完成后,点击“确定”,生成相应的配置文件。
模板安装完成。
二、在后台->模块->文章伪原创插件里设置手动发文章和采集自动发文章
三、手动发布文章,需要打开/dede/article_add.php (dede是后台管理目录,如果是图集模型还需修改album_add.php,如果是自定义新增模型还需修改archives_add.php) 找到:
b
o
d
y
=
A
n
a
l
y
s
e
H
t
m
l
B
o
d
y
(
body = AnalyseHtmlBody(
body=AnalyseHtmlBody(body,
d
e
s
c
r
i
p
t
i
o
n
,
description,
description,litpic,$keywords,‘htmltext’);
在下面加上: $row1 = $dsql->getone("SELECT * FROM #@__wyc_unicode "); $titlewycb = $row1[‘titlewycb’]; $bodywycb = $row1[‘bodywycb’]; $descriptionwycb = $row1[‘descriptionwycb’]; $isopenb = $row1[‘isopenb’]; $token = $row1[‘token’]; $sdkey =
r
o
w
1
[
′
s
d
k
e
y
′
]
;
r
e
q
u
i
r
e
o
n
c
e
(
D
E
D
E
I
N
C
.
′
/
w
y
c
.
f
u
n
c
.
p
h
p
′
)
;
i
f
(
row1['sdkey']; require_once(DEDEINC.'/wyc.func.php'); if(
row1[′sdkey′];requireo?nce(DEDEINC.′/wyc.func.php′);if(isopenb1 && $bodywycb1){
b
o
d
y
=
w
y
c
(
body =wyc(
body=wyc(body,
t
o
k
e
n
,
token,
token,sdkey); } if($isopenb1 && $titlewycb1){
t
i
t
l
e
=
w
y
c
(
title =wyc(
title=wyc(title,
t
o
k
e
n
,
token,
token,sdkey); } if($isopenb1 && $descriptionwycb1){
d
e
s
c
r
i
p
t
i
o
n
=
w
y
c
(
description =wyc(
description=wyc(description,
t
o
k
e
n
,
token,
token,sdkey); }
四、如果是火车头免登陆接口,请修改/dede/jiekou.php 找到:
b
o
d
y
=
A
n
a
l
y
s
e
H
t
m
l
B
o
d
y
(
body = AnalyseHtmlBody(
body=AnalyseHtmlBody(body,
d
e
s
c
r
i
p
t
i
o
n
,
description,
description,litpic,$keywords,‘htmltext’);
在下面加上: $row1 = $dsql->getone("SELECT * FROM #@__wyc_unicode "); $titlewyc = $row1[‘titlewyc’]; $bodywyc = $row1[‘bodywyc’]; $descriptionwyc = $row1[‘descriptionwyc’]; $isopen = $row1[‘isopen’]; $token = $row1[‘token’]; $sdkey =
r
o
w
1
[
′
s
d
k
e
y
′
]
;
r
e
q
u
i
r
e
o
n
c
e
(
D
E
D
E
I
N
C
.
′
/
w
y
c
.
f
u
n
c
.
p
h
p
′
)
;
i
f
(
row1['sdkey']; require_once(DEDEINC.'/wyc.func.php'); if(
row1[′sdkey′];requireo?nce(DEDEINC.′/wyc.func.php′);if(isopen1 && $bodywyc1){
b
o
d
y
=
w
y
c
(
body =wyc(
body=wyc(body,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen1 && $titlewyc1){
t
i
t
l
e
=
w
y
c
(
title =wyc(
title=wyc(title,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen1 && $descriptionwyc1){
d
e
s
c
r
i
p
t
i
o
n
=
w
y
c
(
description =wyc(
description=wyc(description,
t
o
k
e
n
,
token,
token,sdkey); }
五、如果是水淼及其他登陆织梦后台账号类采集器,需要打开/dede/article_add.php 找到:
b
o
d
y
=
A
n
a
l
y
s
e
H
t
m
l
B
o
d
y
(
body = AnalyseHtmlBody(
body=AnalyseHtmlBody(body,
d
e
s
c
r
i
p
t
i
o
n
,
description,
description,litpic,$keywords,‘htmltext’);
在下面加上: $row2 = $dsql->getone("SELECT * FROM #@__wyc_unicode "); $titlewyc2 = $row2[‘titlewyc’]; $bodywyc2 = $row2[‘bodywyc’]; $descriptionwyc2 = $row2[‘descriptionwyc’]; $isopen2 = $row2[‘isopen’]; $token = $row2[‘token’]; $sdkey =
r
o
w
2
[
′
s
d
k
e
y
′
]
;
r
e
q
u
i
r
e
o
n
c
e
(
D
E
D
E
I
N
C
.
′
/
w
y
c
.
f
u
n
c
.
p
h
p
′
)
;
i
f
(
row2['sdkey']; require_once(DEDEINC.'/wyc.func.php'); if(
row2[′sdkey′];requireo?nce(DEDEINC.′/wyc.func.php′);if(isopen21 && $bodywyc21){
b
o
d
y
=
w
y
c
(
body =wyc(
body=wyc(body,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen21 && $titlewyc21){
t
i
t
l
e
=
w
y
c
(
title =wyc(
title=wyc(title,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen21 && $descriptionwyc21){
d
e
s
c
r
i
p
t
i
o
n
=
w
y
c
(
description =wyc(
description=wyc(description,
t
o
k
e
n
,
token,
token,sdkey); }
六、如果是简数采集打开/jianshu/control/index.php 找到: if($sptype==‘auto’){
b
o
d
y
=
S
p
L
o
n
g
B
o
d
y
(
body = SpLongBody(
body=SpLongBody(body,$spsize*1024,"#p#分页标题#e#"); }
在下方加上: $row1 = $dsql->getone("SELECT * FROM #@__wyc_unicode "); $titlewyc = $row1[‘titlewyc’]; $bodywyc = $row1[‘bodywyc’]; $descriptionwyc = $row1[‘descriptionwyc’]; $isopen = $row1[‘isopen’]; $token = $row1[‘token’]; $sdkey =
r
o
w
1
[
′
s
d
k
e
y
′
]
;
r
e
q
u
i
r
e
o
n
c
e
(
D
E
D
E
I
N
C
.
′
/
w
y
c
.
f
u
n
c
.
p
h
p
′
)
;
i
f
(
row1['sdkey']; require_once(DEDEINC.'/wyc.func.php'); if(
row1[′sdkey′];requireo?nce(DEDEINC.′/wyc.func.php′);if(isopen1 && $bodywyc1){
b
o
d
y
=
w
y
c
(
body =wyc(
body=wyc(body,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen1 && $titlewyc1){
t
i
t
l
e
=
w
y
c
(
title =wyc(
title=wyc(title,
t
o
k
e
n
,
token,
token,sdkey); } if($isopen1 && $descriptionwyc1){
d
e
s
c
r
i
p
t
i
o
n
=
w
y
c
(
description =wyc(
description=wyc(description,
t
o
k
e
n
,
token,
token,sdkey); }
|