1
1
1ax2018-06-18 12:24:49
XPath
1ax, 2018-06-18 12:24:49

How to write a processing rule for Instant View Telegram?

I am making a template for the site so that it is displayed in Instant view Telegram. I ran into a problem - the site has long articles that are divided into several pages, respectively, these links do not need to be excluded, left in their current form - too, because clicking on them will take you to the site, and not to a similar page in Instant view. To do this, you need to replace the usual link like site.ru/review-o-lete-p2.html (the first page is available at site.ru/review-o-lete.html) with a link like https://t.me/iv ?url=https%3A%2F%2Fsite.ru%2Fblog%2...
the link about moving to a new page contains class = pb_link
in the API it seems there is @urlencode and @replace but something that I didn’t write everything goes into error

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