Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
add comment

3 Answers 3

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

share|improve this answer
add comment

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.

share|improve this answer
    
That's overly complex for something like this –  JohnD May 25 '11 at 13:10
    
I don't think so. No more complex then writing your own solution from scratch especially since it requires authentication. –  John Conde May 25 '11 at 13:20
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.