forked from dle-modules/DLE-AutoRSS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAuto_RSS_Pro.xml
executable file
·73 lines (71 loc) · 3.18 KB
/
Auto_RSS_Pro.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="utf-8"?>
<dleplugin>
<name>Auto RSS Pro by TCSE-cms.com</name>
<description>Автоматическая публикация новостей из RSS каналов.</description>
<icon>engine/skins/images/auto_rss.png</icon>
<version>1.0.5</version>
<dleversion>13.0</dleversion>
<versioncompare>greater</versioncompare>
<upgradeurl></upgradeurl>
<filedelete>1</filedelete>
<mysqlinstall>
<![CDATA[
INSERT INTO `{prefix}_admin_sections`
(`name`, `title`, `descr`, `icon`, `allow_groups`)
VALUES
('autorss_pro', 'Auto RSS Pro Help', 'Документация к расширеной версии модуля Auto RSS', 'engine/skins/images/rss_import.png', '1');
INSERT INTO `{prefix}_admin_sections`
(`name`, `title`, `descr`, `icon`, `allow_groups`)
VALUES
('auto_rss', 'Auto RSS by Pafnuty', 'Автоматическая публикация новостей из RSS каналов', 'engine/skins/images/auto_rss.png', '1');
CREATE TABLE {prefix}_auto_rss (
`id` smallint(6) NOT NULL AUTO_INCREMENT,
`url` varchar(255) NOT NULL,
`name` text NOT NULL,
`tags` varchar(255) NOT NULL,
`allowRssTags` tinyint(1) NOT NULL DEFAULT '1',
`allow_main` tinyint(1) NOT NULL DEFAULT '1',
`allow_rating` tinyint(1) NOT NULL DEFAULT '1',
`allow_comm` tinyint(1) NOT NULL DEFAULT '1',
`allow_br` tinyint(1) NOT NULL DEFAULT '1',
`date` tinyint(1) NOT NULL DEFAULT '0',
`max_news` tinyint(4) NOT NULL DEFAULT '10',
`cookie` text NOT NULL,
`category` smallint(5) NOT NULL DEFAULT '0',
`lastdate` int(11) NOT NULL,
`offline` tinyint(4) NOT NULL DEFAULT '0',
`noimage` varchar(255) NOT NULL,
`checkDouble` tinyint(1) NOT NULL DEFAULT '1',
`textLimit` smallint(6) NOT NULL DEFAULT '500',
`fullStoryType` tinyint(1) NOT NULL DEFAULT '0',
`fullStoryTags` varchar(50) NOT NULL DEFAULT 'p, h2, h3, b, img, a',
`chpuCut` smallint(3) NOT NULL DEFAULT '30',
`authorLogin` varchar(50) NOT NULL,
`allowNewUsers` tinyint(1) NOT NULL DEFAULT '1',
`newUserGroup` tinyint(4) NOT NULL DEFAULT '3',
`sourseTextName` varchar(50) NOT NULL,
`pseudoLinks` tinyint(1) NOT NULL DEFAULT '1',
`sourceTarget` varchar(20) NOT NULL DEFAULT 'blank',
`dasableImages` tinyint(4) NOT NULL DEFAULT '0',
`grabImages` tinyint(1) NOT NULL DEFAULT '1',
`saveOriginalImages` tinyint(1) NOT NULL DEFAULT '0',
`imgSize` char(20) NOT NULL DEFAULT '500x300',
`resizeType` char(20) NOT NULL DEFAULT 'auto',
`showLink` tinyint(1) NOT NULL DEFAULT '0',
`hashtag` text NOT NULL,
`yandex_rss` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM /*!40101 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */
]]>
</mysqlinstall>
<mysqlupgrade><![CDATA[]]></mysqlupgrade>
<mysqlenable><![CDATA[]]></mysqlenable>
<mysqldisable><![CDATA[]]></mysqldisable>
<mysqldelete>
<![CDATA[
drop table `{prefix}_auto_rss`;
DELETE FROM `{prefix}_admin_sections` WHERE name='auto_rss';
DELETE FROM `{prefix}_admin_sections` WHERE name='autorss_pro']
]]>
</mysqldelete>
</dleplugin>