Answer the question
In order to leave comments, you need to log in
How to parse information by reference (ala VK)?
Good afternoon.
Interested in such a thing as data parsing when inserting a link using jQuery + PHP. I really like the option as implemented in Vkontakte.
For example, just to do preg_replace of the same YouTube, I know and understand the principle. But how to pull data on the "left" links - I have not even the slightest idea.
Thanks in advance for hints/examples/ready plugins, functions/classes.
Answer the question
In order to leave comments, you need to log in
https://github.com/onassar/PHP-MetaParser
but there are more solutions on JS :)
https://github.com/search?l=JavaScript&o=desc&q=me...
parse the micro-markup (meta tags) of the page by reference, if I'm not mistaken, this is exactly what social networks do.
https://vk.com/page-58942245_49732522
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question