updated urls in preparation for live deployment

This commit is contained in:
2010-02-03 02:34:07 +02:00
parent 9838afe9e6
commit 3da3c3ed50
3 changed files with 12 additions and 12 deletions

View File

@@ -3,12 +3,12 @@
(function() {
var links = document.getElementsByTagName('a');
var query = '?';
for(var i = 0; i < links.length; i++) {
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
}
}
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/jimehtesting/get_num_replies.js' + query + '"></' + 'script>');
for (var i = links.length - 1; i >= 0; i--){
if(links[i].href.indexOf('#disqus_thread') >= 0) {
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
};
};
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/jimeh/get_num_replies.js' + query + '"></' + 'script>');
})();
//]]>
</script>

View File

@@ -26,7 +26,7 @@
</div>
<div class="post-comments">
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/jimehtesting/embed.js"></script><noscript><a href="http://disqus.com/forums/jimehtesting/?url=ref">View the discussion thread.</a></noscript>
<div id="disqus_thread"></div><script type="text/javascript" src="http://disqus.com/forums/jimeh/embed.js"></script><noscript><a href="http://disqus.com/forums/jimeh/?url=ref">View the discussion thread.</a></noscript>
</div>
</div>
</div>

View File

@@ -5,10 +5,10 @@ layout: nil
<feed xmlns="http://www.w3.org/2005/Atom">
<title>jimeh / blog</title>
<link href="http://new.jimeh.me/blog/atom.xml" rel="self" />
<link href="http://new.jimeh.me/" />
<link href="http://jimeh.me/blog/atom.xml" rel="self" />
<link href="http://jimeh.me/blog/" />
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://new.jimeh.me/</id>
<id>http://jimeh.me/blog/</id>
<author>
<name>Jim Myhrberg</name>
<email>contact@jimeh.me</email>
@@ -17,9 +17,9 @@ layout: nil
{% for post in site.posts %}
<entry>
<title>{{ post.title }}</title>
<link href="http://new.jimeh.me/blog{{ post.url }}"/>
<link href="http://jimeh.me/blog{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>http://new.jimeh.me/blog{{ post.id }}</id>
<id>http://jimeh.me/blog{{ post.id }}</id>
<content type="html">{{ post.content | xml_escape }}</content>
</entry>
{% endfor %}