Changeset 15799 for platform/tdiary/plugin
- Timestamp:
- 07/14/08 21:08:07 (4 months ago)
- Location:
- platform/tdiary/plugin
- Files:
-
- 4 modified
-
en/nicovideo.rb (modified) (1 diff)
-
ja/nicovideo.rb (modified) (2 diffs)
-
nicovideo.rb (modified) (1 diff)
-
zh/nicovideo.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/plugin/en/nicovideo.rb
r15644 r15799 28 28 <td width="100%" style="font-size:80%;border-width:0px;"> 29 29 <p><a href="#{i[:url]}" target="_blank" class="video"><strong>#{i[:title]}</strong></a> (#{i[:length].split(/:/).map{|j|'%02d' % j.to_i}.join(':')})</p> 30 <p><strong>#{i[:view].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Views<br> 30 <p><strong>#{i[:date][0,10]}</strong> Posted<br> 31 <strong>#{i[:view].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Views<br> 31 32 <strong>#{i[:comment_num].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Comments<br> 32 33 <strong>#{i[:mylist].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Mylists</p> -
platform/tdiary/plugin/ja/nicovideo.rb
r15644 r15799 25 25 <td style="font-size:70%;border-width:0px;"> 26 26 <div style="margin:4px 0px;"><a href="#{i[:url]}" target="_blank"><img alt="#{i[:title]}" src="#{i[:thumb]}" width="130" height="100" style="border:solid 1px #333;"></a></div> 27 <p><strong>#{i[: length].split(/:/).map{|j|'%02d' % j.to_i}.join(':')}</strong><br>27 <p><strong>#{i[:date][0,10]}</strong><br> 28 28 再生: <strong>#{i[:view].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong><br> 29 29 コメント: <strong>#{i[:comment_num].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong><br> … … 31 31 </td> 32 32 <td width="100%" style="font-size:80%;border-width:0px;"> 33 <p><a href="#{i[:url]}" target="_blank" class="video"><strong>#{i[:title]}</strong></a> <br>#{i[:desc]}</p>33 <p><a href="#{i[:url]}" target="_blank" class="video"><strong>#{i[:title]}</strong></a> (#{i[:length].split(/:/).map{|j|'%02d' % j.to_i}.join(':')})<br>#{i[:desc]}</p> 34 34 <div style="background:#FFF; border:solid 2px #CCC; padding:6px; margin-top:4px;"> 35 35 <p><strong>#{i[:comment]}</strong></p> -
platform/tdiary/plugin/nicovideo.rb
r15644 r15799 46 46 i[:desc] = elem.to_a( 'description' )[0].text 47 47 i[:comment] = @conf.mobile_agent? ? '' : elem.to_a( 'last_res_body' )[0].text 48 i[:date] = elem.to_a( 'first_retrieve' )[0].text 48 49 i[:length] = elem.to_a( 'length' )[0].text 49 50 i[:view] = elem.to_a( 'view_counter' )[0].text -
platform/tdiary/plugin/zh/nicovideo.rb
r15644 r15799 28 28 <td width="100%" style="font-size:80%;border-width:0px;"> 29 29 <p><a href="#{i[:url]}" target="_blank" class="video"><strong>#{i[:title]}</strong></a> (#{i[:length].split(/:/).map{|j|'%02d' % j.to_i}.join(':')})</p> 30 <p><strong>#{i[:view].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Views<br> 30 <p><strong>#{i[:date][0,10]}</strong> Posted<br> 31 <strong>#{i[:view].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Views<br> 31 32 <strong>#{i[:comment_num].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Comments<br> 32 33 <strong>#{i[:mylist].scan(/\d+?(?=\d{3}*$)/).join(",")}</strong> Mylists</p>
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)