Some pages do load content dynamicly via ajax for performance reasons. So when i open a Page like this https://www.zalando.at/damenbekleidung-hosen-shorts/ it shows a huge amount of products. But the crawler sees only 6 products!
When you show the source code there are also only 6 products, the other one are loaded dynamic via js.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-01-06
If the page is loaded via javascript, you will NOT be able to do anything with it in PHP, other than fetch the url it's loaded from. Curl is not a browser and only fetches/pushes things for you. it's up to YOU to interpret the data that comes back, and that includes anything dynamic like JS.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
Anonymous
-
2019-01-06
Okey thanks. Lets work with the given data, but Google has crawler that can handle that! Otherwise thate would be cloaking and not allowed by Google.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Some pages do load content dynamicly via ajax for performance reasons. So when i open a Page like this https://www.zalando.at/damenbekleidung-hosen-shorts/ it shows a huge amount of products. But the crawler sees only 6 products!
When you show the source code there are also only 6 products, the other one are loaded dynamic via js.
If the page is loaded via javascript, you will NOT be able to do anything with it in PHP, other than fetch the url it's loaded from. Curl is not a browser and only fetches/pushes things for you. it's up to YOU to interpret the data that comes back, and that includes anything dynamic like JS.
Okey thanks. Lets work with the given data, but Google has crawler that can handle that! Otherwise thate would be cloaking and not allowed by Google.