php - Script to retrieve position of an element on a web page -


i know there javascript getboundingclientrect() retrieve position of element on web page, need write script (preferably in php) take list of url , retrieves position of specific element on every page (an <a href="specificurl">).

the position expressed in px, or "it's in header", "it's in footer", "it's in sidebar" (that way it's better purpose).

there method in "simple" way?

look web scraper such guette, simple html dom or curl / libcurl. not "simple".

see related question: screen scraping technique using php.


Comments

Popular posts from this blog

python - Alternative to referencing variable before assignment -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -