在Google Blogger中使用Bootstrap Twitter [英] Using bootstrap twitter with google blogger
问题描述
我一直在尝试在Blogger.com的Google博客上使用bootstrap twitter.显然它不起作用,而且我很确定问题是我如何包括css和js文件.我已经将.css和.js文件作为.txt文件上传到了在线纯文本.txt上传服务器.我把它们放在头上.
I've been trying to use bootstrap twitter on my google blog on blogger.com. Apparently it is not working, and I am quite sure that the problem is how I am including the css and js files. I've uploaded the .css and .js files as .txt files to an online plain .txt upload server. I am including them in the head.
bootstrap.css
bootstrap.css
<link href='http://m.uploadedit.com/b013/1366225851722.txt' rel='stylesheet'/>
bootstrap.min.css
bootstrap.min.css
<link href='http://m.uploadedit.com/b013/1366225875450.txt' rel='stylesheet'/>
bootstrap-sensitive.css
bootstrap-responsive.css
<link href='http://m.uploadedit.com/b013/136622647822.txt' rel='stylesheet'/>
JQUERY
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'/>
<script src='//ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js'/>
<script src='http://m.uploadedit.com/b013/1366226081928.txt'/>
bootstrap.js
bootstrap.js
<script src='http://m.uploadedit.com/b013/1366225665368.txt'/>
bootsrap.min.js
bootsrap.min.js
<script src='http://m.uploadedit.com/b013/1366225732588.txt'/>
当这些文件为.txt时是否无法链接?如果没有,我有什么选择?我已经在博客文章中看到了dropbox和google drive的信息,但据我尝试并搜索过,不可能有纯文本页面-dropbox和drive为它们的界面添加了html.
Is it not possible to link to these files when they are .txt? If not what alternatives do I have? I've seen both dropbox and google drive mentioned on a blog post, but as far as I've tried and searched for It is not possible to have a plain text page - dropbox and drive adds html for their interfaces.
更新: 我通过使用免费的虚拟主机来解决此问题,该虚拟主机上载了普通的.js和.css,例如这-我只是在Google上搜索免费虚拟主机".
UPDATE: I solved it by using a free webhost uploading the plain .js and .css like THIS - I just googled "free webhost".
问题在于免费的虚拟主机可能相当慢-我选择的虚拟主机会通知DDOS攻击.有没有更好的选择-如果我不想为服务器空间付费?
The problem is that free webhosts can be rather slow - and the webhost I've chosen informs about DDOS attacks. Is there a better alternative - if I do not want to pay for serverspace?
推荐答案
您可以使用netdna的cdn进行引导: http://www.bootstrapcdn.com
You can use netdna's cdn for bootstrap: http://www.bootstrapcdn.com
我正在使用它,并对结果感到非常满意( http://pr-nizar.blogspot.com ).
I'm using it and I'm highly satisfied with the result (http://pr-nizar.blogspot.com).
或者,如果您使用引导程序的自定义版本,则可以将DropBox用作CDN.
Or you can use DropBox as a CDN if you're using a customized version of bootstrap.
这篇关于在Google Blogger中使用Bootstrap Twitter的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!