<commit_before><!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.13.custom.css" type="text/css" />
    <link rel="stylesheet" href="http://openlayers.org/dev/theme/default/style.css" type="text/css" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <script src="lib/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="lib/jquery-ui-1.8.14.custom.min.js" type="text/javascript"></script>
    <script src="http://openlayers.org/api/OpenLayers.js" type="text/javascript"></script>
    <script src="lib/KML.js" type="text/javascript"></script>
    <script src="timeline.js" type="text/javascript"></script>

    <script type="text/javascript">
        var map, timeline;

        function init(){
            map = new OpenLayers.Map('map');
            layer = new OpenLayers.Layer.WMS("OpenLayers WMS",
                    "http://vmap0.tiles.osgeo.org/wms/vmap0",
                    {layers: 'basic'}, {numZoomLevels: 5});
            map.addLayer(layer);
            map.setCenter(new OpenLayers.LonLat(0, 0), 2);
            var ts_funct = function(d) {
                return ((new Date(d)).getTime() / 1000);
            }
            timeline = new OpenLayers.Timeline({map: map,
                                                timeline: "#timeline",
                                                date_key: "published",
                                                date_funct: ts_funct,
                                                format: OpenLayers.Format.KML});

            $.ajax({
                type: "GET",
                url: "nzemperor.kml",
                dataType: "kml",
                success: function(data) {
                    $("#status").text("Data loaded");
                    timeline.initTimeline(data);
                }
            });
        }

        function toggleCumulative() {
            if ($("#cumulative").attr("checked")) {
                timeline.cumulative = true;
            }
            else {
                timeline.cumulative = false;
            }
            timeline.update();
        }

        $(document).ready(function() {
            init();
            timeline.cumulative = true;
            $("#cumulative").attr("checked", "checked");
        });
    </script>
  </head>
  <body>
    <h1 id="title">OpenLayers Timeline GeoRSS Demo</h1>
    <div id="container">
      <p>You're are seeing the timeline of <a href="nzemperor.kml">nzemperor.com</a> by <a href="http://www.sirtrack.com">Sirtrack</a></p>
      <p id="status">Loading...</p>
      <div id="controls">
        <input type="button" onclick="timeline.togglePlay();" value="Play/Pause" />
        <input type="button" onclick="timeline.fasterAnimation();" value="Faster" />
        <input type="button" onclick="timeline.slowerAnimation();" value="Slower" />
        <label for="cumulative">Cumulative</label>
        <input id="cumulative" type="checkbox" onChange="toggleCumulative();" /><commit_msg>updated page title<commit_after><!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <link rel="stylesheet" href="css/ui-lightness/jquery-ui-1.8.13.custom.css" type="text/css" />
    <link rel="stylesheet" href="http://openlayers.org/dev/theme/default/style.css" type="text/css" />
    <link rel="stylesheet" href="css/style.css" type="text/css" />
    <script src="lib/jquery-1.4.4.min.js" type="text/javascript"></script>
    <script src="lib/jquery-ui-1.8.14.custom.min.js" type="text/javascript"></script>
    <script src="http://openlayers.org/api/OpenLayers.js" type="text/javascript"></script>
    <script src="lib/KML.js" type="text/javascript"></script>
    <script src="timeline.js" type="text/javascript"></script>

    <script type="text/javascript">
        var map, timeline;

        function init(){
            map = new OpenLayers.Map('map');
            layer = new OpenLayers.Layer.WMS("OpenLayers WMS",
                    "http://vmap0.tiles.osgeo.org/wms/vmap0",
                    {layers: 'basic'}, {numZoomLevels: 5});
            map.addLayer(layer);
            map.setCenter(new OpenLayers.LonLat(0, 0), 2);
            var ts_funct = function(d) {
                return ((new Date(d)).getTime() / 1000);
            }
            timeline = new OpenLayers.Timeline({map: map,
                                                timeline: "#timeline",
                                                date_key: "published",
                                                date_funct: ts_funct,
                                                format: OpenLayers.Format.KML});

            $.ajax({
                type: "GET",
                url: "nzemperor.kml",
                dataType: "kml",
                success: function(data) {
                    $("#status").text("Data loaded");
                    timeline.initTimeline(data);
                }
            });
        }

        function toggleCumulative() {
            if ($("#cumulative").attr("checked")) {
                timeline.cumulative = true;
            }
            else {
                timeline.cumulative = false;
            }-
            timeline.update();
        }

        $(document).ready(function() {
            init();
            timeline.cumulative = true;
            $("#cumulative").attr("checked", "checked");
        });
    </script>
  </head>
  <body>
    <h1 id="title">OpenLayers Timeline KML Demo</h1>
    <div id="container">
      <p>You're are seeing the timeline of <a href="nzemperor.kml">nzemperor.com</a> by <a href="http://www.sirtrack.com">Sirtrack</a></p>
      <p id="status">Loading...</p>
      <div id="controls">
        <input type="button" onclick="timeline.togglePlay();" value="Play/Pause" />
        <input type="button" onclick="timeline.fasterAnimation();" value="Faster" />
        <input type="button" onclick="timeline.slowerAnimation();" value="Slower" />
        <label for="cumulative">Cumulative</label>
        <input id="cumulative" type="checkbox" onChange="toggleCumulative();" />
{'fraction_non_alphanumeric': 0.1657754010695187, 'fraction_numerical': 0.008861726508785332, 'mean_word_length': 1.9646739130434783, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '429647', 'n_tokens_mistral': 1998, 'n_tokens_neox': 1896, 'n_words': 318}