A
A
Andrey Grigorash2016-12-01 10:50:59
1C-Bitrix
Andrey Grigorash, 2016-12-01 10:50:59

How to synchronize news on 2 sites in Bitrix?

Tell me how to do it:
the ability to transfer news both for a separate news category and for several categories;
configurable synchronization interval - 1 hour, 2 hours, 4 hours, 6 hours, 12 hours, 24 hours;
the ability to synchronize news both with images and without images;
the ability to automatically synchronize previously updated news.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikita, 2016-12-05
@germany1992

mletov said everything correctly, only I will describe how you can implement it for Bitrix, on the site from which you will parse news on add \ update (these are events), create a function that will push new elements to another site (or it will be RSS with a filter on the last new element , or XML, or just $_POST is up to you).
On the site of the receiver, you make a password-protected page, or you check the referrer and write the news to yourself)

M
mletov, 2016-12-01
@mletov

If you decide in a general way, without being tied to the engine:
Under each news category, create an automatically generated xml, for example, rss.
And the second site parses these feeds with the required period and imports them into the database.
Perhaps there are some ready-made tools in Bitrix, but let the experts of this cms speak out.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question