4
4
4iloveg2017-05-17 13:33:30
PHP
4iloveg, 2017-05-17 13:33:30

Universal article parser. What is the best way to implement the algorithm?

There are no problems with php itself, as well as with regular expressions.
The idea is this:
We take an average article site (namely, 5 links to articles).
Next, you need to compare these 5 pages with each other, presumably the html code before and after the article is static, otherwise we will consider what changes as the content we need. (the block "similar articles" can get in, but for now it doesn't matter)
Help me figure out how to compare several html pages in order to understand which part of them remains unchanged.

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