用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)
今天早上终于找到原因了: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