constPATH_DOES_NOT_EXIST="The path @faulty_path has been omitted from the XML sitemap, as it does not exist.";
constPATH_DOES_NOT_EXIST_OR_NO_ACCESS="The path @faulty_path has been omitted from the XML sitemap as it either does not exist, or it is not accessible to anonymous users.";
constANONYMOUS_USER_ID=0;
constBATCH_INIT_MESSAGE='Initializing batch...';
constBATCH_ERROR_MESSAGE='An error has occurred. This may result in an incomplete XML sitemap.';
constBATCH_PROGRESS_MESSAGE='Processing @current out of @total link types.';
function__construct($from='form'){
$this->batch=array(
'title'=>t('Generating XML sitemap'),
'init_message'=>t('Initializing batch...'),
'error_message'=>t('An error occurred'),
'progress_message'=>t('Processing @current out of @total link types.'),