Mobile app version of vmapp.org
Login or Join
Fox8124981

: Show a single DIV from remote site to new site. Only http access to remote host we have cisco CWS working which has a web administration site. On that site it has DIV with 'overall summary'.

@Fox8124981

Posted in: #Proxy #WebDevelopment

we have cisco CWS working which has a web administration site. On that site it has DIV with 'overall summary'.

We would like to show that DIV on a centralized monitoring system web that we are doing for ourselves.

Is it possible to do a proxypass from apache to only that DIV?
How I should manage the autentication process before reaching that DIV?

10.03% popularity Vote Up Vote Down


Login to follow query

More posts by @Fox8124981

3 Comments

Sorted by latest first Latest Oldest Best

 

@Si4351233

You can use jQuery to grab a specific id or class on a remote page and display it on another.

10% popularity Vote Up Vote Down


 

@Steve110

You're probably best off writing a script in ruby or PHP that scrapes the contents of that div every n minutes and saves it to a file. Then you can iframe it in your monitoring system.

10% popularity Vote Up Vote Down


 

@Candy875

Selenium is a tool for testing websites and web applications. You can probably use it to log into the site however it does the authentication and then get the contents of that DIV and save it to a file. Then you can include that file using an IFRAME on your centralized monitoring system.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme