V
V
Vlad Gromov2019-04-17 12:11:47
1C-Bitrix
Vlad Gromov, 2019-04-17 12:11:47

Displaying news from another site on the site, how?

Comrades, good afternoon!
I ask for help in the following question, situation:
There is a site on Bitrix with the "News" element, and these news are displayed on the main page.
There is a second site on a different hosting, absolutely not related to the first, but you need to write a script that would cling to this news from the first site and display it in the second.
How to do it? Which side to approach?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton, 2019-04-17
@Vikkiners

Set up an RSS feed for the first, parse it for the second and display it anywhere under your template.

K
Kirill Proger, 2019-04-17
@freekirill

As an option, create an XML file with news on the side of the Bitrix site, and parse it on the side of the site and show your news

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question