<?php

include_once('http.php');

class ResyncURL
{
    public $loc;

    public $lastmod;

    public $metadata = array();

    function __construct($l, $lm = '', $md = []) {
        $this->loc = $l;
        $this->lastmod = $lm;
        $this->metadata = $md;
    }

    function get() {
        return http_get($this->loc);
    }

}
<?php

class ResyncURL {

    private $loc;

    private $xml;

    function __construct($loc, $xml) {
        $this->loc = $loc;
        $this->xml = $xml;
    }

    function getLoc() {
        return $this->loc;
    }

    function getXML() {
        return $this->xml;
    }

}
Update to form basic URL class
Update to form basic URL class
