concrete/src/Page/Sitemap/SitemapWriter.php
public function getSitemapUrl()
    {
        $outputFilename = $this->getOutputFilename();
        if (strpos($outputFilename, DIR_BASE . '/') === 0) {
            $result = (string) $this->getSitemapGenerator()->resolveUrl([substr($outputFilename, strlen(DIR_BASE))]);
        } else {
            $result = '';
        }

        return $result;
    }
public function getSitemapUrl()
    {
        $outputFilename = $this->getOutputFilename();
        if (strpos($outputFilename, DIR_BASE . '/') === 0) {
            $result = (string) $this->getSitemapGenerator()->resolveUrl([substr($outputFilename, strlen(DIR_BASE))]);
        } else {
            $result = '';
        }

        return $result;
    }
public function getSitemapUrl ( ) { $ outputFilename = $ this -> getOutputFilename ( ) ; if ( strpos ( $ outputFilename , DIR_BASE . '/' ) === 0 ) { $ result = ( string ) $ this -> getSitemapGenerator ( ) -> resolveUrl ( [ substr ( $ outputFilename , strlen ( DIR_BASE ) ) ] ) ; } else { $ result = '' ; } return $ result ; }
Get the URL of the sitemap corresponding to the output file name.

@return string returns an empty string if the output file name is not under the web root
Get the URL of the sitemap corresponding to the output file name .