No. The favicon filenames are different based on the color of the xymon page at any given moment. I need a script to pull the 'current' favicon file that's listed in the xymon.html file. That's the file that get re-written every time the server polls everything and refreshes itself. When the page color changes the 'favicon' path gets changed accordingly also.
When xymon.html is red, the favicon path looks like this <link rel="shortcut icon" href="/xymon/gifs/favicon-red.ico<http://monitor.innovateteam.com/xymon/gifs/favicon-red.ico> ">
When it's green it looks like this <link rel="shortcut icon" href="/xymon/gifs/favicon-green.ico<http://monitor.innovateteam.com/xymon/gifs/favicon-red.ico> ">
You can see this if you look at the source code of your xymon page in a browser. I need a script or something that pulls the 'live' favicon image that's displayed in the xymon.html file. I don't know if it's easier to have an external script pull the image out of xymon.html, or if it's easier to create a script that runs on the server itself and literally creates a new html file that only has the favicon in it.
Thank you.
*Kris Springer*
On Fri, Oct 11, 2013 at 7:08 PM, Josh Luthman <josh at imaginenetworksllc.com>wrote:
Can't you just reference /favicon.ico?
Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373 On Oct 11, 2013 8:59 PM, "Kris Springer" <kspringer at innovateteam.com> wrote:
I'd like to find out the html code to use inside an iframe so I can display the live favicon pulled from my xymon server. I want to add it onto another site I have that others can quickly glance at and see the color of Xymon without going there. This is useful for those who are not in the email alerts list. Does anyone have any suggestions about a simple little html code that pulls that data?
Thank you.
*Kris Springer*
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon