A Big Welcome to markmccague.com
Welcome to Hosting365, Irelands premier Irish web hosting company. Your account has been created.
You can access your Web site right away using
d1534519.u66.hosting365.ie. Over the next few days,
DNS servers all across the internet will update
themselves with your new site name. Once that happens,
you will be able to access your site at its permanent
address, markmccague.com
Dedicated Performance Servers
When you value the security and stability of your service
and want to move to the next level of control, check
servers365 for dedicated servers based in ireland, colocation, clusters and
more...
Great Value Hosting Solutions
Look for Shared / Virtual hosting? Check out www.hosting365.ie,
Ireland's leading provider of shared hosting, reseller, and
Virtual private server solutions.
Hosting365.ie is dedicated to providing the highest levels of quality and service in the highly specialized area of Internet hosting.
We provide a full range of services from shared hosting to dedicated servers and enterprise solutions and have been providing hosting services in Ireland since 1997.
Hosting365.ie provide services from our state of the art data centre facilities in Dublin, Ireland. We specialise in reliable, powerful hosting solutions with leading edge support and services. All plans are available on both FreeBSD Unix and Microsoft Windows 2003 Server Platforms.
Control
your website without any experience with our class-leading control panels.
Install bulletin boards, feedback forms, control your email, passwords,
databases, billing and more...
Latest News
"Hosting365",
);
function startElement( $parser, $name, $attrs='' ){
global $current_tag;
$current_tag = $name;
if( $current_tag == "ITEM" )
$this->inside_item = true;
} // endfunc startElement
function endElement( $parser, $tagName, $attrs='' ){
global $current_tag;
if ( $tagName == "ITEM" ) {
printf( "\t
%s
\n", substr(trim( $this->pubDate ), 0, 16), trim( $this->link ), htmlspecialchars( trim( $this->title ) ) );
printf( "\t
%s More...
\n", htmlspecialchars( trim( $this->description ) ) , htmlspecialchars( trim( $this->link ) ));
$this->pubDate = "";
$this->title = "";
$this->description = "";
$this->link = "";
$this->inside_item = false;
}
} // endfunc endElement
function characterData( $parser, $data ){
global $current_tag;
if( $this->inside_item ){
switch($current_tag){
case "PUBDATE":
$this->pubDate .= $data;
break;
case "TITLE":
$this->title .= $data;
break;
case "DESCRIPTION":
$this->description .= $data;
break;
case "LINK":
$this->link .= $data;
break;
default:
break;
} // endswitch
} // end if
} // endfunc characterData
function parse_results( $xml_parser, $rss_parser, $file ) {
xml_set_object( $xml_parser, &$rss_parser );
xml_set_element_handler( $xml_parser, "startElement", "endElement" );
xml_set_character_data_handler( $xml_parser, "characterData" );
$fp = fopen("$file","r") or die( "Error reading XML file, $file" );
while ($data = fread($fp, 4096)) {
// parse the data
xml_parse( $xml_parser, $data, feof($fp) ) or die( sprintf( "XML error: %s at line %d", xml_error_string( xml_get_error_code($xml_parser) ), xml_get_current_line_number( $xml_parser ) ) );
} // endwhile
fclose($fp);
xml_parser_free( $xml_parser );
} // endfunc parse_results
function show_title( $rss_url ){
?>
} // endfunc show_title
} // endclass RSSParser
global $rss_url;
// Set a default feed
if( $rss_url == "" )
$rss_url = "http://newsweaver.ie/hosting365/e_rss.aspx";
$xml_parser = xml_parser_create();
$rss_parser = new RSSParser();
$rss_parser->show_title( $rss_url );
$rss_parser->parse_results( $xml_parser, &$rss_parser, $rss_url );
?>