用google app搭建micolog及索引错误排除

  • custom theme
  • tags and categories for the blog entry.
  • rich content editor by tinymce
  • import data from wordpress export file
  • menu & pages management.
  • cache enabled
  • implement wordPress API and metaWeblog API, support client writer (such as window live writer)
看到micolog的种种好处,昨天晚上开始动手搭建micolog。唉,可惜毕竟是个人开发的,最新的0.5版也有大半年没有更新,blog部署始终不成功,折腾半晚上。

今天早上终于找到原因了:google app升级了导致单一名称的属性名,为了避免上传到服务器失败,还需要修改micolog中的index.yaml文件。观察properties,如果只有一个“-name”的属性,就会导致上传失败。文件中的注释用"#"。

具体index错误排除方法:用下面的代码替换安装包中的index.yaml文件

# Unused in query history -- copied from input.
#- kind: Archive
# properties:
# - name: date
# direction: desc

# Used 31 times in query history.
#- kind: Comment
# properties:
# - name: date
# direction: desc

# 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

# Unused in query history -- copied from input.
#- kind: Entry
# properties:
# - 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: post_id
# 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

# Unused in query history -- copied from input.
#- kind: Logger
# properties:
# - name: date
# direction: desc

相关文章


 

2 评论:

  1. 奋斗 said,

    请问你的博客是怎么能在大陆直接访问的.谢谢.经常改cname都烦死了.

    on 2009年8月30日 00:27  


  2. ICKITT said,

    呵呵,还能如何,不停的与时俱进啊。

    on 2009年9月8日 22:32