A
A
Andrew2021-07-06 17:18:03
RSS
Andrew, 2021-07-06 17:18:03

How to implement rss feed in bitrix?

Hello! Tell me how to create an rss feed on bitrix. Google asked, but did not understand anything. Thank you!
rss.php file

<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/prolog_before.php");?>
<?$APPLICATION->IncludeComponent("bitrix:rss.out","",Array(
        "IBLOCK_TYPE" => "news", 
        "IBLOCK_ID" => "1", 
        "SECTION_ID" => "", 
        "SECTION_CODE" => "", 
        "NUM_NEWS" => "20", 
        "NUM_DAYS" => "30", 
        "RSS_TTL" => "60", 
        "YANDEX" => "Y", 
        "SORT_BY1" => "ACTIVE_FROM", 
        "SORT_ORDER1" => "DESC", 
        "SORT_BY2" => "SORT", 
        "SORT_ORDER2" => "ASC", 
        "FILTER_NAME" => "", 
        "CACHE_TYPE" => "A", 
        "CACHE_TIME" => "3600",
        "CACHE_GROUPS" => "Y", 
        "CACHE_FILTER" => "N"
    )
);?>
<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/main/include/epilog_after.php");?>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question