Recent activity
Subscribe to this feed
Mike replied on November 18, 2009 20:52 to the question "Multiple CC Instances" in Big Visible Cruise:
Here is my php code
<?php // Array of cctray.xml locations
$cctray_locations = array(
"http://example.com:8080/dashboard/cctray.xml",
"http://example.com:7070/dashboard/cctray.xml",
);
$xml = "";
for( $x = 0; $x < count($cctray_locations); $x++ )
{
// get the xml
$current_xml = file_get_contents($cctray_locations[$x]);
if( $x != 0 )
$current_xml = str_replace('<project>', '', $current_xml);
if( $x != count($cctray_locations)-1 )
$current_xml = str_replace ('</projects>', '', $current_xml);
$xml .= trim($current_xml);
}
// remove all xml headers
$xml = str_replace ('<?xml version="1.0" encoding="UTF-8"?>', '', $xml);
echo $xml;
Mike replied on November 18, 2009 15:29 to the question "Multiple CC Instances" in Big Visible Cruise:
Mike marked one of bencarey's replies in Big Visible Cruise as useful. bencarey replied to the question "Multiple CC Instances".
Mike asked a question in Big Visible Cruise on September 18, 2009 14:21:
Multiple CC InstancesCan you configure this to pull from multiple cruise control instances?
Loading Profile...
