记录我的学习与生活
Posts tagged 博客
博客搬家完毕
十一 11th
由于最近Ghs的ip全部阵亡,就想到要使用国外的空间搭建wp
现在使用kangzj的vps合租,感觉还是很不错的
域名换成了http://ddig.info,我的朋友们看到了改下吧
使用裸域,我喜欢余越简单越好
固定链接也改成了现在的模式,以前的带年月日的固定链接也要301到现在的链接模式
要写正则表达式,很就没写过了,好要看手册
现在搬家已经完成的差不多了
基本上是现在这个样子了
以后还要不断的折腾。。。哈哈
中间最痛苦的莫过于那个301永久重定向,本来想在新的空间做的,但是我这的路由器让我很纠结
最后在GAE上做的,效果还是不错的
推荐使用FeedSky烧录博客Rss
七 31st

我一直使用的就是Feedsky烧录的Rss,主要的是可以统计出博客的订阅数,知道有多少人订阅我的博客,现在应该支持大部分的订阅器。
还能够统计出订阅来源,以及实时统计,还能看到google、百度、soso的蜘蛛在爬你的feed,支持免费绑定域名。
绑定你的二级域名,发现没有博客的订阅地址是http://feed.ddig.info,而不是原来的http://www.ddig.info/feed,这点我很喜欢。
绑定的方法是在Feed优化里边的“域名绑定“,输入你的域名,然后到你的域名的管理页面,cname你刚填的域名到mydomain.feedsky.com,这样就可以了。
还有Rss发布,像我博客右上角那样的效果,不过我现在使用的是”分享家“提供的服务,feedsky的我还没用过。
还有提供”邮件订阅“发布,Js发布,不错吧!
当你博客发布新文章的时候,feedsky并不一定会立即更新你的Rss,你可在你的博客里面设置Ping Feedsky或在Feedsky里面手动更新,这个很像google和百度的ping服务。
还有跟feedsky合作发布广告、和在Rss输出里边进行读者调查等。
还没有用过的赶紧试试吧!
博客换新主题
七 2nd
经过好几个小时的努力,我把WordPress主题 deniart 换成了Micolog下可以使用的主题
这是效果图

评论Ajax提交,不过Chrome下有问题,这个和xuming主题是一样的,有时间了再修正。
如果你也想修改主题的话,主题文件最好使用不带bom的utf8格式的,带bom的话页面有可能会变形。
喜欢的朋友可以发回复索要,我看到会尽快发邮件给你。
原始主题没有通过W3C验证,我修改了一下,现在可以通过W3C验证,如果你测试我的博客,会发现一条没有通过验证,那是因为Akon这篇文章里面使用了flash播放器,为了兼容ie,所出现了一条错误。
8月2日更新,主题做了些优化,现在提供下载
在GAE上搭建 Micolog博客
六 5th
在此之前,甚至包括去年年底,我都曾尝试在Google App Engine 上搭建自己的博客,可是都失败了。
现在我要把我搭建的过程中出现的错误总结一下。
首先,可以参考下这篇文章http://www.kgblog.net/2009/05/30/micolog-bug.html
1.一定要把app.yaml文件的第一行
application: my2first
my2first更改为自己的id,记住中间有一空格。
先不要再自己的环境下测试,要不会生成很多编译过的文件。
2.更改index.yaml文件,这个是由于Google App Engine的更新,现在不能识别单属性的索引,解决办法就是删除单name属性的索引。
比如:
# Unused in query history — copied from input.
- kind: Archive
properties:
- name: date
direction: desc
这是我上传成功的index.yaml
indexes:
# AUTOGENERATED
# This index.yaml is automatically updated whenever the dev_appserver
# detects that a new type of query is run. If you want to manage the
# index.yaml file manually, remove the above marker line (the line
# saying “# AUTOGENERATED”). If you want to manage some indexes
# manually, move them above the marker line. The index.yaml file is
# automatically uploaded to the admin console when you next deploy
# your application using appcfg.py.# Used once in query history.
- kind: Comment
properties:
- name: entry
- name: date# Unused in query history — copied from input.
- kind: Comment
properties:
- name: entry
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: categorie_keys
- name: date
direction: desc# Used 29 times in query history.
- kind: Entry
properties:
- name: entry_parent
- name: entrytype
- name: published
- name: menu_order# Unused in query history — copied from input.
- kind: Entry
properties:
- name: entry_type
- name: date
direction: desc# Used 4 times in query history.
- kind: Entry
properties:
- name: entrytype
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: entrytype
- name: post_id# Unused in query history — copied from input.
- kind: Entry
properties:
- name: entrytype
- name: post_id
direction: desc# Used 11 times in query history.
- kind: Entry
properties:
- name: entrytype
- name: published
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: entrytype
- name: published
- name: slug
- name: date# Unused in query history — copied from input.
- kind: Entry
properties:
- name: entrytype=
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: published
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: slug
- name: date# Unused in query history — copied from input.
- kind: Entry
properties:
- name: tags
- name: date
direction: desc# Unused in query history — copied from input.
- kind: Entry
properties:
- name: tags
- name: post_id
direction: desc# Unused in query history — copied from input.
- kind: Link
properties:
- name: linktype
- name: createdate
direction: desc# Unused in query history — copied from input.
- kind: Link
properties:
- name: linktype
- name: href
3.上传,这时候你要确定你的数据库是干净的,运行
appcfg.py update micolog。
4.打开主页,出现
A server error occurred. Please contact the administrator.
等待,这时候千万不要着急。GAE的数据库状态由Buliding 状态变为Serving状态现在需要花费时间,我就等了差不多有10分钟,当状态变为saveing时,访问首页, hello world!出现了吧。
哈哈!