Permalink
Browse files

Site updated at 2013-04-02 06:20:50 UTC

  • Loading branch information...
1 parent 1016997 commit 7b9746c12cafb551f0a05a67f7aece86e46d10aa @benhamill committed Apr 2, 2013
Showing with 9 additions and 57 deletions.
  1. +1 −1 atom.xml
  2. +4 −28 blog/archives/index.html
  3. +4 −28 index.html
View
@@ -4,7 +4,7 @@
<title><![CDATA[Garbled]]></title>
<link href="http://garbled.benhamill.com/atom.xml" rel="self"/>
<link href="http://garbled.benhamill.com/"/>
- <updated>2013-04-02T01:10:44-05:00</updated>
+ <updated>2013-04-02T01:20:50-05:00</updated>
<id>http://garbled.benhamill.com/</id>
<author>
<name><![CDATA[Ben Hamill]]></name>
View
@@ -9,7 +9,7 @@
<meta name="author" content="Ben Hamill">
- <meta name="description" content="Blog Archive About Me Ben Hamill (@benhamill) Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), &hellip;">
+ <meta name="description" content="Blog Archive About Me Ben Hamill @benhamill Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), &hellip;">
<!-- http://t.co/dKP3o1e -->
@@ -85,38 +85,14 @@ <h1 class="entry-title">Blog Archive</h1>
<section>
<h1>About Me</h1>
- <div id="twitter-profile" style="margin-top:0.5em;">
+ <div id="twitter-profile">
+ <img src="http://www.gravatar.com/avatar/4938b4569f1366168b705ce9c774ea5e" alt="Gravatar of Ben Hamill " title="Gravatar of Ben Hamill" />
<p>
<strong>Ben Hamill</strong>
- (@<a href="http://twitter.com/benhamill">benhamill</a>)
+ @<a href="http://twitter.com/benhamill">benhamill</a>
</p>
<p>Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), language pedant. Nerd.</p>
</div>
- <script type="text/javascript">
- $(function(){
- var container = $('#twitter-profile'),
- user = "benhamill";
-
- function parseTwLinks(s) {
- var twUrl = "http://www.twitter.com/"
- s = s.replace(/ (@([\w]+))/g, function(match, p1, p2) {
- return " <a href='"+twUrl+p2+"'>"+p1+"</a>"
- }).replace(/ (#([\w]+))/g, function(match, p1, p2) {
- return " <a href='"+twUrl+"#!/search?q=%23"+p2+"'>"+p1+"</a>"
- })
- return s
- }
-
- $.ajax({
- url: "http://api.twitter.com/1/users/show.json?include_entities=false&screen_name="+user+"&callback=?"
- , type: 'jsonp'
- , error: function (err) { $('#twitter-profile').addClass('error'); }
- , success: function(data) {
- container.html('<img class="left" src="http://api.twitter.com/1/users/profile_image/'+user+'.json?size=bigger" alt="@'+user+'"><p><strong>'+data.name+'</strong> (<a href="http://twitter.com/'+user+'">@'+user+'</a>)<br/>'+data.location+'</p><p>'+parseTwLinks(data.description)+'</p>');
- }
- })
- });
- </script>
</section>
<section>
View
@@ -9,7 +9,7 @@
<meta name="author" content="Ben Hamill">
- <meta name="description" content="Blog Archives About Me Ben Hamill (@benhamill) Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), &hellip;">
+ <meta name="description" content="Blog Archives About Me Ben Hamill @benhamill Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), &hellip;">
<!-- http://t.co/dKP3o1e -->
@@ -77,38 +77,14 @@ <h2>garbled = Blog.new(author: 'Ben Hamill')</h2>
<section>
<h1>About Me</h1>
- <div id="twitter-profile" style="margin-top:0.5em;">
+ <div id="twitter-profile">
+ <img src="http://www.gravatar.com/avatar/4938b4569f1366168b705ce9c774ea5e" alt="Gravatar of Ben Hamill " title="Gravatar of Ben Hamill" />
<p>
<strong>Ben Hamill</strong>
- (@<a href="http://twitter.com/benhamill">benhamill</a>)
+ @<a href="http://twitter.com/benhamill">benhamill</a>
</p>
<p>Rubyist, hacker, gamer (video, board, role-playing), fanboy (Linux, git, vim, Firefly, Dr Pepper), language pedant. Nerd.</p>
</div>
- <script type="text/javascript">
- $(function(){
- var container = $('#twitter-profile'),
- user = "benhamill";
-
- function parseTwLinks(s) {
- var twUrl = "http://www.twitter.com/"
- s = s.replace(/ (@([\w]+))/g, function(match, p1, p2) {
- return " <a href='"+twUrl+p2+"'>"+p1+"</a>"
- }).replace(/ (#([\w]+))/g, function(match, p1, p2) {
- return " <a href='"+twUrl+"#!/search?q=%23"+p2+"'>"+p1+"</a>"
- })
- return s
- }
-
- $.ajax({
- url: "http://api.twitter.com/1/users/show.json?include_entities=false&screen_name="+user+"&callback=?"
- , type: 'jsonp'
- , error: function (err) { $('#twitter-profile').addClass('error'); }
- , success: function(data) {
- container.html('<img class="left" src="http://api.twitter.com/1/users/profile_image/'+user+'.json?size=bigger" alt="@'+user+'"><p><strong>'+data.name+'</strong> (<a href="http://twitter.com/'+user+'">@'+user+'</a>)<br/>'+data.location+'</p><p>'+parseTwLinks(data.description)+'</p>');
- }
- })
- });
- </script>
</section>
<section>

0 comments on commit 7b9746c

Please sign in to comment.