• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Twitterのつぶやきを収集するWebアプリケーション


Commit MetaInfo

修订版710a1613184feb8eac5770b4862006c2dc7c6071 (tree)
时间2012-05-01 16:15:15
作者hylom <hylom@user...>
Commiterhylom

Log Message

fix twitter userpage's link url

更改概述

差异

--- a/template/index.html
+++ b/template/index.html
@@ -16,7 +16,7 @@
1616 <div role="main" class="main">
1717 % for tw in tweets:
1818 <div class="tweet">
19- <div class="twitterid"><a href="http://twitter.com/">@${tw.user_id}</a>:</div>
19+ <div class="twitterid"><a href="http://twitter.com/${tw.user_id}">@${tw.user_id}</a>:</div>
2020 <div class="text">${tw.text}</div>
2121 <div class="image">
2222 <a href="${tw.original_url}"><img src="${tw.image_url}" width="400"></a>
--- a/template/thumbnails.html
+++ b/template/thumbnails.html
@@ -43,7 +43,7 @@
4343 % for i in range(0, len(tweets), 3):
4444 <% tw = tweets[i] %>
4545 <div class="tweet">
46- <div class="twitterid"><a href="http://twitter.com/">@${tw.user_id}</a>:</div>
46+ <div class="twitterid"><a href="http://twitter.com/${tw.user_id}">@${tw.user_id}</a>:</div>
4747 <div class="image">
4848 <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a>
4949 </div>
@@ -59,7 +59,7 @@
5959 % for i in range(1, len(tweets), 3):
6060 <% tw = tweets[i] %>
6161 <div class="tweet">
62- <div class="twitterid"><a href="http://twitter.com/">@${tw.user_id}</a>:</div>
62+ <div class="twitterid"><a href="http://twitter.com/${tw.user_id}">@${tw.user_id}</a>:</div>
6363 <div class="image">
6464 <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a>
6565 </div>
@@ -75,7 +75,7 @@
7575 % for i in range(2, len(tweets), 3):
7676 <% tw = tweets[i] %>
7777 <div class="tweet">
78- <div class="twitterid"><a href="http://twitter.com/">@${tw.user_id}</a>:</div>
78+ <div class="twitterid"><a href="http://twitter.com/${tw.user_id}">@${tw.user_id}</a>:</div>
7979 <div class="image">
8080 <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a>
8181 </div>