mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-09 20:38:21 +03:00
fix rss and install
This commit is contained in:
parent
ca8f5e39e6
commit
62bc641bbd
|
@ -77,7 +77,7 @@ class ActionRss extends Action {
|
|||
$aResult=$this->Topic_GetTopicsNew(1,Config::Get('module.topic.per_page')*2,false);
|
||||
$aTopics=$aResult['collection'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=Config::Get('path.root.web').' / RSS channel';
|
||||
$aChannel['language']='ru';
|
||||
|
@ -111,7 +111,7 @@ class ActionRss extends Action {
|
|||
$aResult=$this->Comment_GetCommentsAll('topic',1,Config::Get('module.comment.per_page')*2,$aCloseTopics);
|
||||
$aComments=$aResult['collection'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=Config::Get('path.root.web').' / RSS channel';
|
||||
$aChannel['language']='ru';
|
||||
|
@ -146,7 +146,7 @@ class ActionRss extends Action {
|
|||
$aComments=$this->Comment_GetCommentsByTargetId($oTopic->getId(),'topic');
|
||||
$aComments=$aComments['comments'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=Config::Get('path.root.web').' / RSS channel';
|
||||
$aChannel['language']='ru';
|
||||
|
@ -176,7 +176,7 @@ class ActionRss extends Action {
|
|||
$aResult=$this->Topic_GetTopicsByTag($sTag,1,Config::Get('module.topic.per_page')*2,false);
|
||||
$aTopics=$aResult['collection'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=Config::Get('path.root.web').' / RSS channel';
|
||||
$aChannel['language']='ru';
|
||||
|
@ -210,7 +210,7 @@ class ActionRss extends Action {
|
|||
}
|
||||
$aTopics=$aResult['collection'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=Config::Get('path.root.web').' / '.$oBlog->getTitle().' / RSS channel';
|
||||
$aChannel['language']='ru';
|
||||
|
@ -252,7 +252,7 @@ class ActionRss extends Action {
|
|||
}
|
||||
$aTopics=$aResult['collection'];
|
||||
|
||||
$aChannel['title']=Config::Get('path.root.web');
|
||||
$aChannel['title']=Config::Get('view.name');
|
||||
$aChannel['link']=Config::Get('path.root.web');
|
||||
$aChannel['description']=($this->sUserLogin)
|
||||
? Config::Get('path.root.web').' / '.$oUser->getLogin().' / RSS channel'
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
error_reporting(E_ALL);
|
||||
set_time_limit(0);
|
||||
define('LS_VERSION','0.4');
|
||||
define('LS_VERSION','0.4.1');
|
||||
|
||||
class Install {
|
||||
/**
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<generator>{$aChannel.generator}</generator>
|
||||
{foreach from=$aItems item=oItem}
|
||||
<item>
|
||||
<title><![CDATA[{$oItem.title|escape:'html'}]]></title>
|
||||
<title>{$oItem.title|escape:'html'}</title>
|
||||
<guid isPermaLink="true">{$oItem.guid}</guid>
|
||||
<link>{$oItem.link}</link>
|
||||
<dc:creator>{$oItem.author}</dc:creator>
|
||||
|
|
Loading…
Reference in a new issue