all repos — h3rald @ 37edce72d5797cf649ba2768ab17509174eccea0

The sources of https://h3rald.com

Updated tag pages; Fixed minor JS issues.
h3rald h3rald@h3rald.com
Mon, 31 Aug 2009 15:08:42 +0200
commit

37edce72d5797cf649ba2768ab17509174eccea0

parent

1990b7b3b808549d104ce8530d8881e194d2b4ac

M content/articles/10-programming-languages.textilecontent/articles/10-programming-languages.textile

@@ -320,7 +320,8 @@

Even if you're particularly devoted to one of the languages mentioned above, it is normal to be curious about what else is out there. As the end of the year approaches, I find myself thinking about learning – or at least become acquainted with – some less known, more experimental, programming languages. I was originally planning on learning another programming language as a New Year's Resolution, which is quite common among programmers. The most difficult task turned out to be _choosing_ a particular language: there are so many out there which makes it very hard to decide. -This article deals with ten possible candidates, and it's far from being an exhaustive list. The programming languages described henceforth are very different from each other, but they all have one thing in common: they all stimulate my curiosity in their own, very different ways.* "Haskell":#haskell +This article deals with ten possible candidates, and it's far from being an exhaustive list. The programming languages described henceforth are very different from each other, but they all have one thing in common: they all stimulate my curiosity in their own, very different ways. +* "Haskell":#haskell * "Erlang":#erlang * "Io":#io * "PLT Scheme":#plt-scheme
M content/tags/ajax.textilecontent/tags/ajax.textile

@@ -11,7 +11,9 @@ -----

3 items are tagged with _ajax_: -<% articles_tagged_with('ajax').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('ajax').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/books.textilecontent/tags/books.textile

@@ -11,7 +11,9 @@ -----

8 items are tagged with _books_: -<% articles_tagged_with('books').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('books').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/browsers.textilecontent/tags/browsers.textile

@@ -11,7 +11,9 @@ -----

7 items are tagged with _browsers_: -<% articles_tagged_with('browsers').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('browsers').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/cakephp.textilecontent/tags/cakephp.textile

@@ -11,7 +11,9 @@ -----

23 items are tagged with _cakephp_: -<% articles_tagged_with('cakephp').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('cakephp').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/concatenative.textilecontent/tags/concatenative.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _concatenative_: -<% articles_tagged_with('concatenative').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('concatenative').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/databases.textilecontent/tags/databases.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _databases_: -<% articles_tagged_with('databases').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('databases').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/firefox.textilecontent/tags/firefox.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _firefox_: -<% articles_tagged_with('firefox').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('firefox').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/frameworks.textilecontent/tags/frameworks.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _frameworks_: -<% articles_tagged_with('frameworks').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('frameworks').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/google.textilecontent/tags/google.textile

@@ -11,7 +11,9 @@ -----

5 items are tagged with _google_: -<% articles_tagged_with('google').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('google').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/ie.textilecontent/tags/ie.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _ie_: -<% articles_tagged_with('ie').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('ie').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/internet.textilecontent/tags/internet.textile

@@ -11,7 +11,9 @@ -----

12 items are tagged with _internet_: -<% articles_tagged_with('internet').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('internet').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/italy.textilecontent/tags/italy.textile

@@ -11,7 +11,9 @@ -----

3 items are tagged with _italy_: -<% articles_tagged_with('italy').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('italy').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/microsoft.textilecontent/tags/microsoft.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _microsoft_: -<% articles_tagged_with('microsoft').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('microsoft').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/opensource.textilecontent/tags/opensource.textile

@@ -11,7 +11,9 @@ -----

10 items are tagged with _opensource_: -<% articles_tagged_with('opensource').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('opensource').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/opera.textilecontent/tags/opera.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _opera_: -<% articles_tagged_with('opera').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('opera').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/personal.textilecontent/tags/personal.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _personal_: -<% articles_tagged_with('personal').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('personal').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/personal_log.textilecontent/tags/personal_log.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _personal_log_: -<% articles_tagged_with('personal_log').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('personal_log').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/php.textilecontent/tags/php.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _php_: -<% articles_tagged_with('php').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('php').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/politics.textilecontent/tags/politics.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _politics_: -<% articles_tagged_with('politics').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('politics').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/productivity.textilecontent/tags/productivity.textile

@@ -11,7 +11,9 @@ -----

7 items are tagged with _productivity_: -<% articles_tagged_with('productivity').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('productivity').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/programming.textilecontent/tags/programming.textile

@@ -11,7 +11,9 @@ -----

11 items are tagged with _programming_: -<% articles_tagged_with('programming').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('programming').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/rails.textilecontent/tags/rails.textile

@@ -11,7 +11,9 @@ -----

19 items are tagged with _rails_: -<% articles_tagged_with('rails').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('rails').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/rant.textilecontent/tags/rant.textile

@@ -11,7 +11,9 @@ -----

4 items are tagged with _rant_: -<% articles_tagged_with('rant').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('rant').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/rawline.textilecontent/tags/rawline.textile

@@ -11,7 +11,9 @@ -----

5 items are tagged with _rawline_: -<% articles_tagged_with('rawline').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('rawline').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/redbook.textilecontent/tags/redbook.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _redbook_: -<% articles_tagged_with('redbook').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('redbook').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/review.textilecontent/tags/review.textile

@@ -11,7 +11,9 @@ -----

33 items are tagged with _review_: -<% articles_tagged_with('review').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('review').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/ruby.textilecontent/tags/ruby.textile

@@ -11,7 +11,9 @@ -----

27 items are tagged with _ruby_: -<% articles_tagged_with('ruby').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('ruby').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/software.textilecontent/tags/software.textile

@@ -11,7 +11,9 @@ -----

4 items are tagged with _software_: -<% articles_tagged_with('software').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('software').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/tools.textilecontent/tags/tools.textile

@@ -11,7 +11,9 @@ -----

4 items are tagged with _tools_: -<% articles_tagged_with('tools').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('tools').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/travelling.textilecontent/tags/travelling.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _travelling_: -<% articles_tagged_with('travelling').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('travelling').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/tutorial.textilecontent/tags/tutorial.textile

@@ -11,7 +11,9 @@ -----

4 items are tagged with _tutorial_: -<% articles_tagged_with('tutorial').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('tutorial').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/vim.textilecontent/tags/vim.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _vim_: -<% articles_tagged_with('vim').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('vim').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/web-development.textilecontent/tags/web-development.textile

@@ -11,7 +11,9 @@ -----

2 items are tagged with _web-development_: -<% articles_tagged_with('web-development').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('web-development').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/web20.textilecontent/tags/web20.textile

@@ -11,7 +11,9 @@ -----

8 items are tagged with _web20_: -<% articles_tagged_with('web20').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('web20').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/webdevelopment.textilecontent/tags/webdevelopment.textile

@@ -11,7 +11,9 @@ -----

12 items are tagged with _webdevelopment_: -<% articles_tagged_with('webdevelopment').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('webdevelopment').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/website.textilecontent/tags/website.textile

@@ -11,7 +11,9 @@ -----

11 items are tagged with _website_: -<% articles_tagged_with('website').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('website').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/wedding.textilecontent/tags/wedding.textile

@@ -11,7 +11,9 @@ -----

6 items are tagged with _wedding_: -<% articles_tagged_with('wedding').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('wedding').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M content/tags/writing.textilecontent/tags/writing.textile

@@ -11,7 +11,9 @@ -----

15 items are tagged with _writing_: -<% articles_tagged_with('writing').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('writing').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul>
M lib/utils.rblib/utils.rb

@@ -11,9 +11,11 @@ meta[:permalink] = tag

pl = (count == 1) ? ' is' : 's are' contents = %{\n#{count} item#{pl} tagged with _#{tag}_: -<% articles_tagged_with('#{tag}').each do |pg| -%>* <span class="<%= pg.attributes[:type] %>_link"> <a href="/articles/<%= pg.attributes[:permalink] %>/"><%= pg.attributes[:title] %></a></span> + <ul> +<% articles_tagged_with('#{tag}').each do |a| +%><%= render 'dated_article', :article => a %> <% end %> +</ul> } # Write html page write_item dir/"#{tag}.textile", meta, contents
M resources/js/feeds.jsresources/js/feeds.js

@@ -56,7 +56,7 @@ content += "<br />tags: ";

var categories = Array(); for (i=0; i<bookmark.t.length; i++) { - categories[i] = "<a href='http://delicious.com/h3rald/"+bookmark.t[i]+"'>"+bookmark.t[i]+"</a> "; + categories[i] = "<a href='http://delicious.com/h3rald/"+bookmark.t[i]+"'>"+bookmark.t[i]+"</a>"; } content += categories.join(', ').replace(/ $/, ''); var dt = $("<span></span>").addClass('feed-item-date').html(format_date(bookmark.dt)+":");
M resources/js/init.jsresources/js/init.js

@@ -13,13 +13,14 @@ while (node.childNodes.length) {

node = node.firstChild; } var text = node.nodeValue; + if (!text) return false; var first_letter = text.substr(0,1); if (first_letter.match(/[a-z]/i)){ node.nodeValue = text.slice(1,text.length); $('<span></span>').addClass('dropcap').html(first_letter).prependTo( first_paragraph ); } }); - Cufon.replace('.dropcap', {fontFamily: 'Mutlu', fontSize: '30px'}); + Cufon.replace('.dropcap', {fontFamily: 'Mutlu', fontSize: '40px'}); }); Cufon.now();