<commit_before><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:output method="html" encoding="utf-8" indent="yes" />

	<xsl:template match="/data">
		<xsl:text disable-output-escaping='yes'>&lt;!doctype html>&#13;</xsl:text>
		<html lang="no">

			<head>
				<meta charset="utf-8" />
				<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

				<title>Norske Webapps</title>
				<meta name="description" content="" />
				<meta name="author" content="Eliksir AS" />

				<link rel="stylesheet" type="text/css" href="{$workspace}/assets/css/site.css" />

				<script src="{$workspace}/assets/js/libs/modernizr-2.0.6.min.js"></script>
			</head>

			<body>
				<header>
					<div class="content">
						<a href="/"><img src="{$workspace}/assets/img/logo.png" alt="Norske Webapps" /></a>

						<nav>
							<ul>
								<li><a href="/">Hjem</a></li>
								<li><a href="/apps/">Webapps</a></li>
								<!--li><a href="/send-tips/">Foreslå webapp</a></li-->
							</ul>
						</nav>
					</div>
				</header>

				<div id="content" role="main">
					<xsl:call-template name="content" />
				</div>

				<footer>
					<div class="content">
						© <a href="http://e5r.no/">Eliksir AS</a>.
						<ul class="info">
							<li><a href="/hva-er-webapps/">Hva er webapps?</a></li>
							<li><a href="/om-webapps-no/">Om webapps.no</a></li>
						</ul>
					</div>
				</footer>
			</body>

			<xsl:choose>
				<xsl:when test="contains($current-url, '.local')">
					<script src="{$workspace}/assets/js/libs/jquery-1.8.2.js"></script>
				</xsl:when>
				<xsl:otherwise>
					<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
					<script><![CDATA[window.jQuery || document.write('<script src="/workspace/assets/js/libs/jquery-1.8.2.js"><\/script>')]]></script>
				</xsl:otherwise>
			</xsl:choose>
			<script src="{$workspace}/assets/js/app.js"></script>

			<!-- TODO: Activate Google Analytics
			<script>
				<![CDATA[
			    window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
			    Modernizr.load({
					load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
				});
				]]>
			</script>
			-->

			<!-- Prompt IE 6 users to install Chrome Frame:
				 chromium.org/developers/how-tos/chrome-frame-getting-started -->
			<xsl:comment><![CDATA[[if lt IE 7]>
			<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
			<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
			<![endif]]]></xsl:comment>
		</html>
	</xsl:template>

	<!--
		En av de nyeste eller mest populære som vises i vanlig opplisting.
	-->
	<xsl:template match="entry[preceding-sibling::section[@handle = 'webapp']]" mode="app-grid">
		<xsl:variable name="bilde" select="skjermbilder/item[hoved]/bilde" />

		<article>
			<a href="{$root}/apps/{navn/@handle}">
				<xsl:if test="$bilde">
					<img src="/image/2/232/150/2{$bilde/@path}/{$bilde/filename}" width="232" height="150" />
				</xsl:if>
				<h1><xsl:value-of select="navn" /></h1>
				<ul>
					<xsl:for-each select="nokkelord/item">
						<xsl:sort select="." />
						<li>
							<a href="{$root}/apps/?type={@handle}"><xsl:value-of select="." /></a>
							<xsl:if test="position() != last()">, </xsl:if>
						</li>
					</xsl:for-each>
				</ul>
			</a>
		</article>

		<xsl:if test="position() != last() and position() mod 3 = 0">
			<hr />
		</xsl:if>
	</xsl:template>

</xsl:stylesheet>
<commit_msg>Hide links in footer for now<commit_after><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:output method="html" encoding="utf-8" indent="yes" />

	<xsl:template match="/data">
		<xsl:text disable-output-escaping='yes'>&lt;!doctype html>&#13;</xsl:text>
		<html lang="no">

			<head>
				<meta charset="utf-8" />
				<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

				<title>Norske Webapps</title>
				<meta name="description" content="" />
				<meta name="author" content="Eliksir AS" />

				<link rel="stylesheet" type="text/css" href="{$workspace}/assets/css/site.css" />

				<script src="{$workspace}/assets/js/libs/modernizr-2.0.6.min.js"></script>
			</head>

			<body>
				<header>
					<div class="content">
						<a href="/"><img src="{$workspace}/assets/img/logo.png" alt="Norske Webapps" /></a>

						<nav>
							<ul>
								<li><a href="/">Hjem</a></li>
								<li><a href="/apps/">Webapps</a></li>
								<!--li><a href="/send-tips/">Foreslå webapp</a></li-->
							</ul>
						</nav>
					</div>
				</header>

				<div id="content" role="main">
					<xsl:call-template name="content" />
				</div>

				<footer>
					<div class="content">
						<!--
						© <a href="http://e5r.no/">Eliksir AS</a>.
						<ul class="info">
							<li><a href="/hva-er-webapps/">Hva er webapps?</a></li>
							<li><a href="/om-webapps-no/">Om webapps.no</a></li>
						</ul>
						-->
					</div>
				</footer>
			</body>

			<xsl:choose>
				<xsl:when test="contains($current-url, '.local')">
					<script src="{$workspace}/assets/js/libs/jquery-1.8.2.js"></script>
				</xsl:when>
				<xsl:otherwise>
					<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
					<script><![CDATA[window.jQuery || document.write('<script src="/workspace/assets/js/libs/jquery-1.8.2.js"><\/script>')]]></script>
				</xsl:otherwise>
			</xsl:choose>
			<script src="{$workspace}/assets/js/app.js"></script>

			<!-- TODO: Activate Google Analytics
			<script>
				<![CDATA[
			    window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
			    Modernizr.load({
					load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
				});
				]]>
			</script>
			-->

			<!-- Prompt IE 6 users to install Chrome Frame:
				 chromium.org/developers/how-tos/chrome-frame-getting-started -->
			<xsl:comment><![CDATA[[if lt IE 7]>
			<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
			<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
			<![endif]]]></xsl:comment>
		</html>
	</xsl:template>

	<!--
		En av de nyeste eller mest populære som vises i vanlig opplisting.
	-->
	<xsl:template match="entry[preceding-sibling::section[@handle = 'webapp']]" mode="app-grid">
		<xsl:variable name="bilde" select="skjermbilder/item[hoved]/bilde" />

		<article>
			<a href="{$root}/apps/{navn/@handle}">
				<xsl:if test="$bilde">
					<img src="/image/2/232/150/2{$bilde/@path}/{$bilde/filename}" width="232" height="150" />
				</xsl:if>
				<h1><xsl:value-of select="navn" /></h1>
				<ul>
					<xsl:for-each select="nokkelord/item">
						<xsl:sort select="." />
						<li>
							<a href="{$root}/apps/?type={@handle}"><xsl:value-of select="." /></a>
							<xsl:if test="position() != last()">, </xsl:if>
						</li>
					</xsl:for-each>
				</ul>
			</a>
		</article>

		<xsl:if test="position() != last() and position() mod 3 = 0">
			<hr />
		</xsl:if>
	</xsl:template>

</xsl:stylesheet>

{'fraction_non_alphanumeric': 0.24159316427783903, 'fraction_numerical': 0.014332965821389196, 'mean_word_length': 3.1139455782312924, 'pattern_counts': {'":': 0, '<': 252, '<?xml version=': 2, '>': 254, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 2, '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': '6325960', 'n_tokens_mistral': 3447, 'n_tokens_neox': 2671, 'n_words': 411}