Permalink
Browse files

Site updated at 2012-01-11 08:12:00 UTC

  • Loading branch information...
1 parent 0969476 commit 848cf62e4eff58cdd83653d6183028c02aae2ded @norm2782 committed Jan 11, 2012
View
2 atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Norm 2782]]></title>
<link href="http://norm2782.github.com/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-07T18:01:15+01:00</updated>
+ <updated>2012-01-11T09:11:57+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
View
54 blog/2012/01/01/using-digestive-functors-with-heist/index.html
@@ -45,6 +45,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues/1/comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -100,8 +123,6 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
<time datetime="2012-01-01T21:23:00+01:00" pubdate data-updated="true">Jan 1<span>st</span>, 2012</time>
- | <a href="#disqus_thread">Comments</a>
-
</p>
</header>
@@ -453,11 +474,14 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
</footer>
</article>
- <section>
- <h1>Comments</h1>
- <div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-</div>
- </section>
+<section>
+ <h1>Comments</h1>
+ <div id="comments" aria-live="polite">
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/1"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+</section>
</div>
@@ -531,22 +555,6 @@ <h1 class="entry-title">Using Digestive-functors With Heist</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- // var disqus_developer = 1;
- var disqus_identifier = 'http://norm2782.github.com/blog/2012/01/01/using-digestive-functors-with-heist/';
- var disqus_url = 'http://norm2782.github.com/blog/2012/01/01/using-digestive-functors-with-heist/';
- var disqus_script = 'embed.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
49 blog/archives/index.html
@@ -10,7 +10,7 @@
<meta name="description" content="Blog Archive 2012 Using digestive-functors with Heist
-Jan 01 2012 posted in Haskell, Heist, Snap, digestive-functors Recent Posts Using digestive- &hellip;">
+Jan 01 2012 posted in Haskell, Heist, Snap, digestive-functors Comments Comments Want to leave &hellip;">
<!-- http://t.co/dKP3o1e -->
@@ -44,6 +44,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -108,6 +131,17 @@ <h1 class="entry-title">Blog Archive</h1>
</article>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -180,19 +214,6 @@ <h1 class="entry-title">Blog Archive</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
2 blog/categories/digestive-functors/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: digestive-functors | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/digestive-functors/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-07T18:01:15+01:00</updated>
+ <updated>2012-01-11T09:11:57+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
View
47 blog/categories/digestive-functors/index.html
@@ -43,6 +43,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -107,6 +130,17 @@ <h1 class="entry-title">Category: Digestive-functors</h1>
</article>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -179,19 +213,6 @@ <h1 class="entry-title">Category: Digestive-functors</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
2 blog/categories/haskell/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Haskell | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/haskell/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-07T18:01:15+01:00</updated>
+ <updated>2012-01-11T09:11:57+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
View
47 blog/categories/haskell/index.html
@@ -43,6 +43,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -107,6 +130,17 @@ <h1 class="entry-title">Category: Haskell</h1>
</article>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -179,19 +213,6 @@ <h1 class="entry-title">Category: Haskell</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
2 blog/categories/heist/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Heist | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/heist/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-07T18:01:15+01:00</updated>
+ <updated>2012-01-11T09:11:57+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
View
47 blog/categories/heist/index.html
@@ -43,6 +43,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -107,6 +130,17 @@ <h1 class="entry-title">Category: Heist</h1>
</article>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -179,19 +213,6 @@ <h1 class="entry-title">Category: Heist</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
2 blog/categories/snap/atom.xml
@@ -4,7 +4,7 @@
<title><![CDATA[Category: Snap | Norm 2782]]></title>
<link href="http://norm2782.github.com/blog/categories/snap/atom.xml" rel="self"/>
<link href="http://norm2782.github.com/"/>
- <updated>2012-01-07T18:01:15+01:00</updated>
+ <updated>2012-01-11T09:11:57+01:00</updated>
<id>http://norm2782.github.com/</id>
<author>
<name><![CDATA[Jurriën Stutterheim]]></name>
View
47 blog/categories/snap/index.html
@@ -43,6 +43,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -107,6 +130,17 @@ <h1 class="entry-title">Category: Snap</h1>
</article>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -179,19 +213,6 @@ <h1 class="entry-title">Category: Snap</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
38 index.html
@@ -45,6 +45,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues//comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -103,8 +126,6 @@ <h1 class="entry-title"><a href="/blog/2012/01/01/using-digestive-functors-with-
<time datetime="2012-01-01T21:23:00+01:00" pubdate data-updated="true">Jan 1<span>st</span>, 2012</time>
- | <a href="/blog/2012/01/01/using-digestive-functors-with-heist/#disqus_thread">Comments</a>
-
</p>
</header>
@@ -201,19 +222,6 @@ <h1 class="entry-title"><a href="/blog/2012/01/01/using-digestive-functors-with-
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- var disqus_script = 'count.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-
View
8 sitemap.xml
@@ -2,18 +2,18 @@
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
<url>
<loc>http://norm2782.github.com/blog/2012/01/01/using-digestive-functors-with-heist/</loc>
- <lastmod>2012-01-07T17:58:42+01:00</lastmod>
+ <lastmod>2012-01-11T09:09:16+01:00</lastmod>
</url>
<url>
<loc>http://norm2782.github.com/blog/archives/</loc>
- <lastmod>2012-01-07T17:58:42+01:00</lastmod>
+ <lastmod>2012-01-11T09:09:16+01:00</lastmod>
</url>
<url>
<loc>http://norm2782.github.com/</loc>
- <lastmod>2012-01-07T17:58:42+01:00</lastmod>
+ <lastmod>2012-01-11T09:09:16+01:00</lastmod>
</url>
<url>
<loc>http://norm2782.github.com/snaplet-hdbc.html</loc>
- <lastmod>2012-01-07T18:01:06+01:00</lastmod>
+ <lastmod>2012-01-11T09:09:38+01:00</lastmod>
</url>
</urlset>
View
63 snaplet-hdbc.html
@@ -43,6 +43,29 @@
</script>
+ <script type="text/javascript" src="http://datejs.googlecode.com/svn/trunk/build/date-en-GB.js"></script>
+ <script type="text/javascript" src="http://github.github.com/github-flavored-markdown/scripts/showdown.js"></script>
+ <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
+ <script type="text/javascript">
+ var converter = new Showdown.converter();
+
+ function loadComments(data) {
+ for (var i=0; i<data.data.length; i++) {
+ var cuser = data.data[i].user.login;
+ var cuserlink = "https://www.github.com/" + data.data[i].user.login;
+ var clink = "https://github.com/izuzak/izuzak.github.com/issues/12#issuecomment-" + data.data[i].url.substring(data.data[i].url.lastIndexOf("/")+1);
+ var cbody = converter.makeHtml(data.data[i].body);
+ var cgravatarlink = data.data[i].user.gravatar_url.replace("s=30&", "");
+ var cdate = Date.parse(data.data[i].created_at).toString("yyyy-MM-dd HH:mm:ss");
+ $("#comments").append("<div class='comment'><div class='commentheader'><div class='commentgravatar'>" + '<img src="' + cgravatarlink + '" alt="" width="20" height="20">' + "</div><a class='commentuser' href=\""+ cuserlink + "\">" + cuser + "</a><a class='commentdate' href=\"" + clink + "\">" + cdate + "</a></div><div class='commentbody'>" + cbody + "</div></div>");
+ }
+ }
+
+ $.ajax("https://api.github.com/repos/izuzak/izuzak.github.com/issues/2/comments", {
+ dataType : "jsonp",
+ jsonpCallback : loadComments
+ });
+ </script>
</head>
<body >
@@ -513,12 +536,26 @@ <h1 class="entry-title">HDBC Snaplet Tutorial</h1>
</article>
- <section>
- <h1>Comments</h1>
- <div id="disqus_thread" aria-live="polite"><noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
-</div>
- </section>
+<section>
+ <h1>Comments</h1>
+ <div id="comments" aria-live="polite">
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/2"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+</section>
+<section>
+ <h1>Comments</h1>
+ <div id="comment_thread" aria-live="polite">
+ <div id="comments">
+ <h2>Comments</h2>
+ <div id="header">
+ Want to leave a comment? Visit <a href="https://github.com/norm2782/norm2782.github.com/issues/2"> this post's issue page on GitHub</a> (you'll need a GitHub account.)
+ </div>
+ </div>
+ </div>
+</section>
</div>
<aside class="sidebar">
@@ -591,22 +628,6 @@ <h1 class="entry-title">HDBC Snaplet Tutorial</h1>
</footer>
-<script type="text/javascript">
- var disqus_shortname = 'norm2782';
-
-
- // var disqus_developer = 1;
- var disqus_identifier = 'http://norm2782.github.com/snaplet-hdbc.html';
- var disqus_url = 'http://norm2782.github.com/snaplet-hdbc.html';
- var disqus_script = 'embed.js';
-
- (function () {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/' + disqus_script;
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- }());
-</script>
-

0 comments on commit 848cf62

Please sign in to comment.