Permalink
Browse files

Add Google Analytics code + M-x indent-region + s/\r\n/\n/g

  • Loading branch information...
avar committed May 14, 2010
1 parent a009c25 commit d36f3852f5d1b8fb5cde0c74164974ee1c4429de
Showing with 109 additions and 76 deletions.
  1. +69 −58 Metadata/Contact/index.html
  2. +29 −18 Metadata/index.html
  3. +11 −0 index.html
View
@@ -1,58 +1,69 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
-"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Contact Details for Ævar Arnfjörð Bjarmason</title>
- <link rel="stylesheet" type="text/css" href="/styles/basic.css" />
-<style type="text/css">
-table {
- border-collapse: collapse;
-}
-
-.username {
- font-family: monospace;
- font-weight: bold;
-}
-
-.service-icon {
- width: 32px;
- text-align: center;
- padding-right: 8px;
-}
-</style>
-</head>
-<body>
-<div id="header">
-<a href="/">ævar.net</a> &gt; <a href="/Metadata/">Metadata</a> &gt; Contact details
-</div>
-<div id="content">
-<h1>Contact Details for Ævar Arnfjörð Bjarmason</h1>
-<table>
- <tr>
- <td class="service-icon"><img src="/img/icons/mail.png" alt="" /></td>
- <td>Email: <span class="username">avarab@gmail.com</span></td>
- </tr>
- <tr>
- <td class="service-icon"><img src="/img/icons/mobile-phone.png" alt="" /></td>
- <td>Mobile phone: <span class="username">+49 15122794937</span> or <span class="username">+354 6914986</span></td>
- </tr>
- <tr>
- <td class="service-icon"><img src="/img/icons/skype.png" alt="" /></td>
- <td>Skype: <span class="username">avarab</span></td>
- </tr>
- <tr>
- <td class="service-icon"><img src="/img/icons/irc.png" alt="" /></td>
- <td>IRC: <span class="username">avar</span> on irc.freenode.org, irc.oftc.net and irc.perl.org</td>
- </tr>
- <tr>
- <td class="service-icon"><img src="/img/icons/gtalk.png" alt="" /></td>
- <td rowspan="2">GTalk, MSN: <span class="username">avarab@gmail.com</span></td>
- </tr>
- <tr>
- <td class="service-icon"><img src="/img/icons/msn.png" alt="" /><img src="/img/icons/aim.png" alt="" /></td>
- </tr>
-</table>
-</div>
-</body>
-</html>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <title>Contact Details for Ævar Arnfjörð Bjarmason</title>
+ <link rel="stylesheet" type="text/css" href="/styles/basic.css" />
+ <style type="text/css">
+ table {
+ border-collapse: collapse;
+ }
+
+ .username {
+ font-family: monospace;
+ font-weight: bold;
+ }
+
+ .service-icon {
+ width: 32px;
+ text-align: center;
+ padding-right: 8px;
+ }
+ </style>
+ </head>
+ <body>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-16419425-2']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ <div id="header">
+ <a href="/">ævar.net</a> &gt; <a href="/Metadata/">Metadata</a> &gt; Contact details
+ </div>
+ <div id="content">
+ <h1>Contact Details for Ævar Arnfjörð Bjarmason</h1>
+ <table>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/mail.png" alt="" /></td>
+ <td>Email: <span class="username">avarab@gmail.com</span></td>
+ </tr>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/mobile-phone.png" alt="" /></td>
+ <td>Mobile phone: <span class="username">+49 15122794937</span> or <span class="username">+354 6914986</span></td>
+ </tr>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/skype.png" alt="" /></td>
+ <td>Skype: <span class="username">avarab</span></td>
+ </tr>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/irc.png" alt="" /></td>
+ <td>IRC: <span class="username">avar</span> on irc.freenode.org, irc.oftc.net and irc.perl.org</td>
+ </tr>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/gtalk.png" alt="" /></td>
+ <td rowspan="2">GTalk, MSN: <span class="username">avarab@gmail.com</span></td>
+ </tr>
+ <tr>
+ <td class="service-icon"><img src="/img/icons/msn.png" alt="" /><img src="/img/icons/aim.png" alt="" /></td>
+ </tr>
+ </table>
+ </div>
+ </body>
+</html>
View
@@ -1,24 +1,35 @@
<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en">
-<head>
+ <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Ævar Metadata</title>
<link rel="stylesheet" type="text/css" href="/styles/basic.css" />
-</head>
-<body>
-<div id="header">
-<a href="/" title="Ævar.net front page">Ævar.net</a> &gt; Metadata
-</div>
-<div id="content">
-<h1>Ævar Metadata</h1>
-<p>
-Factual stuff about me.
-</p>
-<ul>
- <li><a href="Contact/">Contact details</li>
-</ul>
-</div>
-</body>
+ </head>
+ <body>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-16419425-2']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+ <div id="header">
+ <a href="/" title="Ævar.net front page">Ævar.net</a> &gt; Metadata
+ </div>
+ <div id="content">
+ <h1>Ævar Metadata</h1>
+ <p>
+ Factual stuff about me.
+ </p>
+ <ul>
+ <li><a href="Contact/">Contact details</a></li>
+ </ul>
+ </div>
+ </body>
</html>
View
@@ -8,6 +8,17 @@
<link rel="stylesheet" type="text/css" href="styles/home.css" />
</head>
<body>
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-16419425-2']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
<div id="header">
ævar.net
</div>

0 comments on commit d36f385

Please sign in to comment.