Blogger的小工具要如何新增 - 部落格

Zora avatar
By Zora
at 2008-10-30T14:49

Table of Contents

已爬文 + 精華區 + google"小工具 新增" 仍然無解...


一般新增小工具是 自訂→版面配置→網頁元素→新增小工具

這樣做沒問題


可是因為我要的小工具(倒數計時器)位於小工具列表的深處

想新增很多倒數計時器的時候不想再慢慢點

想說直接修改html檔

修改步驟如下

1.將小工具展開(勾選展開小裝置範本)

2.複製既有的倒數計時器(如下)
<b:widget id='Gadget2' locked='false' title='音樂會倒數:隨你神采 雨生與愛'
type='Gadget'>
<b:includable id='main'>
<!-- only display title if it's non-empty -->
<b:if cond='data:renderingUrl != &quot;&quot;'>
<b:if cond='data:title != &quot;&quot;'>
<h2 class='title'><data:title/></h2>
</b:if>
<div class='widget-content' style='border: 1px solid #999; padding: 2px'>

<b:if cond='data:trackingUrl != &quot;&quot;'>
<img expr:src='data:trackingUrl' height='1' width='1'/>
</b:if>

<iframe expr:height='data:height' expr:id='data:moduleId'
expr:name='data:moduleId' expr:src='data:renderingUrl' frameborder='0'
style='width: 100%; display: block'>
</iframe>
</div>
<b:else/>
<data:errorMessage/>
</b:if>

<b:include name='quickedit'/>
</b:includable>
</b:widget>

3.將上面那堆程式碼直接貼在</b:widget>的下一行,並把紅色部分改為Gadget4
(確定ID沒有重複)

4.按存檔、取消"展開小裝置範本",確認新的倒數計時器可正確收合


這時候去自訂→版面配置 可以看到新增的倒數計時器

但是"檢視網誌"卻沒看到

在"版面配置"那裏按下該小工具的"修改"

卻被告知"此小工具以損毀,建議您移除"


請問我該怎麼做,才能直接由html檔新增小工具呢?

或者是我上面哪一步做錯了?

先感謝各位高手的回覆

--

All Comments

Re: PTT Blog板友簽到簿(PTTBlogRolling!)

Poppy avatar
By Poppy
at 2008-10-30T13:18
ID:gm0625 網址:http://rios0625.blog125.fc2.com/ 站名:Memory‧Image 架站環境:fc2 繁中 簡介:攝影、記錄、生活 RSS:http://rios0625.blog125.fc2.com/?xml -- My Blog 『http://ri ...

Re: PTT Blog板友簽到簿(PTTBlogRolling!)

Lydia avatar
By Lydia
at 2008-10-30T10:54
ID:b4uchikara 網址:http://ezoy.blog125.fc2.com 站名:猫,茶屋。 架站環境:繁中fc2 簡介:生活雜談,BEMANI相關,影音分享。 RSS: - ...

Re: PTT Blog板友簽到簿(PTTBlogRolling!)

Mary avatar
By Mary
at 2008-10-29T23:12
ID:vickykao12 網址:http://blog.yam.com/vickykao12 站名:★空間~歲月★ 架站環境:天空部落 簡介:在地球的日子 登山,溯溪,單車,旅遊,工作點滴,各類分享 - ...

WLW上傳blogger時出現錯誤

Michael avatar
By Michael
at 2008-10-29T20:58
重複試了幾次都出現 「檔案上載失敗」 The operation has timed out. 請問一下該如何解決呢? 謝謝^^ - ...

無名網誌照片如何變大???

Edward Lewis avatar
By Edward Lewis
at 2008-10-29T20:16
一直覺得無名上的照片解晰度不夠清楚 我想把網誌上的照片能大一點,卻不知道該怎麼做 如果從進階編輯去拉大的話,照片就會不成比例 我都是先把照片傳上相簿再抓進網誌,如何設定成 我抓進網誌的照片可以直接顯示出我要的size 另外請問要怎麼設定網誌首頁中,每一篇網誌只顯示一張照片!!! 無名新手 請多指 ...