Twitterのつぶやきを収集するWebアプリケーション
修订版 | 710a1613184feb8eac5770b4862006c2dc7c6071 (tree) |
---|---|
时间 | 2012-05-01 16:15:15 |
作者 | hylom <hylom@user...> |
Commiter | hylom |
fix twitter userpage's link url
@@ -16,7 +16,7 @@ | ||
16 | 16 | <div role="main" class="main"> |
17 | 17 | % for tw in tweets: |
18 | 18 | <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> | |
20 | 20 | <div class="text">${tw.text}</div> |
21 | 21 | <div class="image"> |
22 | 22 | <a href="${tw.original_url}"><img src="${tw.image_url}" width="400"></a> |
@@ -43,7 +43,7 @@ | ||
43 | 43 | % for i in range(0, len(tweets), 3): |
44 | 44 | <% tw = tweets[i] %> |
45 | 45 | <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> | |
47 | 47 | <div class="image"> |
48 | 48 | <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a> |
49 | 49 | </div> |
@@ -59,7 +59,7 @@ | ||
59 | 59 | % for i in range(1, len(tweets), 3): |
60 | 60 | <% tw = tweets[i] %> |
61 | 61 | <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> | |
63 | 63 | <div class="image"> |
64 | 64 | <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a> |
65 | 65 | </div> |
@@ -75,7 +75,7 @@ | ||
75 | 75 | % for i in range(2, len(tweets), 3): |
76 | 76 | <% tw = tweets[i] %> |
77 | 77 | <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> | |
79 | 79 | <div class="image"> |
80 | 80 | <a href="${tw.original_url}"><img src="${tw.image_url}" width="200"></a> |
81 | 81 | </div> |