我想知道是否有可能,以及如何将 RSS 导入模块中的 Pligg CMS 的频率从几小时更改为几分钟。
- 进给频率(小时):12 - 检查新项目的频率。
CMS 下载: http: //pligg.com/download/。
RSS 模块下载:http ://forums.pligg.com/99555-post17.html 。
我想知道是否有可能,以及如何将 RSS 导入模块中的 Pligg CMS 的频率从几小时更改为几分钟。
CMS 下载: http: //pligg.com/download/。
RSS 模块下载:http ://forums.pligg.com/99555-post17.html 。
快速浏览一下,我看到了 2 种可能性:
a) 修改源。在所有文件中搜索feed_freq_hours
,将所有出现的地方更改为,并修复所有引用(例如,您必须使用feed_freq_minutes
代替)。您还必须重命名表的列。祝你好运!
b)(ab)通过使用小数小时来进行分钟更新频率:例如。对于每 10 分钟更新一次,请输入(六分之一小时)。这将需要将列从更改为,例如。.$feed->feed_freq_hours * 3600
$feed->feed_freq_minutes * 60
feed_freq_hours
[table_prefix]feeds
feed_freq_hours
0.1666667
feed_freq_hours
int
float
ALTER TABLE [table_prefix]feeds CHANGE feed_freq_hours feed_freq_hours float
您最好向作者提交功能请求。