Blogger

ScribeFire创建blogger帐号时,需要设置API URL为https

ScribeFire创建blogger帐号时,需要设置API URL为https,而不是http。害的我认为我的Firefox有故障。还好搜了一下,果然找到解决办法,这就是网络,不懂就搜吧。

图片

由于blogger被无期限“和谐”,故将此文转了过来。
原文:http://playts.blogspot.com/2009/01/scribefirebloggerapi-urlhttps.html

blogger加入代码高亮

编辑blogger的模板HTML代码,将下面代码加入 head 内

<link href="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js"></script>

增加onload='prettyPrint()'body

<body onload='prettyPrint()'>

以后需要使用将需要高亮的代码加上

<pre class="prettyprint">
code...
</pre>

同步内容