Answer the question
In order to leave comments, you need to log in
Own rss for blogs in bitrix?
Made rss feed for blogs on bitrix
$APPLICATION->IncludeComponent("bitrix:blog.rss","",Array(...));?>
$textRSS = CBlog::BuildRSS($arBlog["ID"], $arResult["TYPE"], $arParams["MESSAGE_COUNT"], $arParams["PATH_TO_BLOG"], $arParams["PATH_TO_POST"], $arParams["PATH_TO_USER"], $bSoNet, $arFeedParams);
// CBlog::BuildRSS()
// /bitrix/modules/blog/general/blog.php:1100
$blogDescr = htmlspecialcharsbx($arBlog["DESCRIPTION"]);
Answer the question
In order to leave comments, you need to log in
Make a copy of the BuildRSS method, place it for example in init.php (not the best option, but it will work for the first time), name it, for example, BuildRSSCustom and use it in a custom component:
$textRSS = BuildRSSCustom($arBlog["ID"], $arResult["TYPE"], $arParams["MESSAGE_COUNT"], $arParams["PATH_TO_BLOG"], $arParams["PATH_TO_POST"], $arParams["PATH_TO_USER"], $bSoNet, $arFeedParams);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question