<commit_before><!doctype html>
<html lang="en" vocab="http://schema.org/" typeof="WebPage">
<head>
<title><?php $title = (empty($title)) ? null : $title; if (strlen($title) < 3 ) { echo $pageTitle; } else { echo $title.', '.$pageTitle; } ?> - Montana State University (MSU) Library</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $pageDescription; ?>" />
<meta name="keywords" content="<?php echo $pageKeywords; ?>" />
<meta name="robots" content="noindex, nofollow" />
<?php
$fileName = htmlentities(strip_tags(basename($_SERVER['SCRIPT_NAME'])));
//get default value for id
$fileID = isset($_GET['id']) ? strip_tags((int)$_GET['id']) : null;
if ($fileName == 'item.php') {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/item/'.$fileID; ?>" />
<?php
} elseif ($fileName == 'index.php') {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/'; ?>" />
<?php
} else {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>" />
<?php
//end $fileName rel=canonical conditional
}
?>
<link rel="stylesheet" type="text/css" media="screen, projection" href="<?php echo dirname($_SERVER['PHP_SELF']); ?>/meta/styles/master.css" />
<?php
if ($customCSS = (empty($customCSS)) ? null : $customCSS) {
	$countedCSS = count($customCSS);
	for ($i = 0; $i < $countedCSS; $i++) {
?>
<link rel="stylesheet" href="<?php echo $customCSS[$i]; ?>">
<?php
  }
}
if ($customScript = (empty($customScript)) ? null : $customScript) {
  $counted = count($customScript);
  for ($i = 0; $i < $counted; $i++) {
?>
<script type="text/javascript" src="<?php echo $customScript[$i]; ?>"></script>
<?php
	}
}
if ($_SERVER['HTTP_HOST'] == "arc.lib.montana.edu") {
?>
<script>
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
	ga('create', 'UA-2733436-2', 'auto', {'allowLinker': true});
	ga('require', 'linker');
	ga('linker:autoLink', ['lib.montana.edu']);
	ga('send', 'pageview');
</script>
<?php
}
?>
</head>
<body class="<?php echo($pageLayout).' '; if(!isset($_GET['view'])) { echo 'default'; } else { echo htmlspecialchars($_GET['view']); } ?>">
<div id="contain">
<div id="mastHead">
  <h1><a href="<?php echo dirname($_SERVER['PHP_SELF']); ?>/index.php">Montana State University Research Citations - Montana State University (MSU) Library</a></h1>
  <p class="skipNav"><a href="#mainContent" title="main content">skip navigation</a></p>
  <p><a href="http://www.lib.montana.edu/digital/">Digital Collections Home</a> | <a href="<?php echo dirname($_SERVER['PHP_SELF']); ?>/m/">Mobile</a></p>
</div><!-- end masthead div -->
<commit_msg>added .hidden class for skip navigation, removed /m/ and digital collections link<commit_after><!doctype html>
<html lang="en" vocab="http://schema.org/" typeof="WebPage">
<head>
<title><?php $title = (empty($title)) ? null : $title; if (strlen($title) < 3 ) { echo $pageTitle; } else { echo $title.', '.$pageTitle; } ?> - Montana State University (MSU) Library</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="<?php echo $pageDescription; ?>" />
<meta name="keywords" content="<?php echo $pageKeywords; ?>" />
<meta name="robots" content="noindex, nofollow" />
<?php
$fileName = htmlentities(strip_tags(basename($_SERVER['SCRIPT_NAME'])));
//get default value for id
$fileID = isset($_GET['id']) ? strip_tags((int)$_GET['id']) : null;
if ($fileName == 'item.php') {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/item/'.$fileID; ?>" />
<?php
} elseif ($fileName == 'index.php') {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER['PHP_SELF']).'/'; ?>" />
<?php
} else {
?>
<link rel="canonical" href="<?php echo 'http://'.$_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI']; ?>" />
<?php
//end $fileName rel=canonical conditional
}
?>
<link rel="stylesheet" type="text/css" media="screen, projection" href="<?php echo dirname($_SERVER['PHP_SELF']); ?>/meta/styles/master.css" />
<?php
if ($customCSS = (empty($customCSS)) ? null : $customCSS) {
	$countedCSS = count($customCSS);
	for ($i = 0; $i < $countedCSS; $i++) {
?>
<link rel="stylesheet" href="<?php echo $customCSS[$i]; ?>">
<?php
  }
}
if ($customScript = (empty($customScript)) ? null : $customScript) {
  $counted = count($customScript);
  for ($i = 0; $i < $counted; $i++) {
?>
<script type="text/javascript" src="<?php echo $customScript[$i]; ?>"></script>
<?php
	}
}
if ($_SERVER['HTTP_HOST'] == "arc.lib.montana.edu") {
?>
<script>
	(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
	(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
	m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
	})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
	ga('create', 'UA-2733436-2', 'auto', {'allowLinker': true});
	ga('require', 'linker');
	ga('linker:autoLink', ['lib.montana.edu']);
	ga('send', 'pageview');
</script>
<?php
}
?>
</head>
<body class="<?php echo($pageLayout).' '; if(!isset($_GET['view'])) { echo 'default'; } else { echo htmlspecialchars($_GET['view']); } ?>">
<div id="contain">
<div id="mastHead">
  <h1><a href="<?php echo dirname($_SERVER['PHP_SELF']); ?>/index.php">Montana State University Research Citations - Montana State University (MSU) Library</a></h1>
  <p class="hidden"><a href="#mainContent" title="main content">skip navigation</a></p>
</div><!-- end masthead div -->

{'fraction_non_alphanumeric': 0.2525900345337938, 'fraction_numerical': 0.005591185660253248, 'mean_word_length': 5.497863247863248, 'pattern_counts': {'":': 0, '<': 118, '<?xml version=': 0, '>': 112, 'https://': 0, 'lorem ipsum': 0, 'www.': 3, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1261672', 'n_tokens_mistral': 2191, 'n_tokens_neox': 2224, 'n_words': 408}