glogglog

Cann't catch gae updating~~~

Added an issue.

And tinyMCE dose not work now in this Edit post page, why? my problem or tinyMCE's?

gae has changed a lot since last study last September, there are 5 item in "main" group in the gae admin page, but 2 of them (Cron jobs and Task Queues) never used. Beside this, the memcache api, XMPP api is the same status. It seems that a new study of gae is necessary.

in Hitachi, Ibaraki, Japan 2009/09/05

 

 


View Larger Map



Tags: python | gae | glog |

Widget framework added

Hi, glog has been added a widget framework.

A theme can define widget groups as widgets container for show widgets on page. Template variable "wgroup1...n" which is list of widget string will be pass to template engine. Theme can fetch widget content from URL like "/blogId/widget/widgetid/widget_param" by ajax or something else.

User specify which widgets will be shown and group them by a simple rule.

Widget developer just need write a python module, import the widget module define a module function and register it. Of course, developer must write a templete file for this widget named "widgetid.widget".

I'll give some example later. But if you read the source you'll find that Tags cloud, Archives list, Blog infomation, RecentComment has implemented as widget.



Tags: widget | glog |

增加了三个feed

一个是整个glog的comments

一个是某个blog的comments

一个是某个post的comments



Tags: glog | rss |

增加了一个主题: Press.Anatomy

增加了一个主题,,就是现在用的这个,拷贝自WordPress的Press.Anatomy主题.



Tags: theme | glog |

增加了多用户的特性,还做了Theme的框架

需要管理员手动添加blogger,不能自动注册。并且需要用户有google账号。如果你愿意尝鲜,我非常欢迎,请通过邮件sevenever#gmail.com告诉我,并把你的gmail地址给我我就帮你加。

Theme的框架是有了,但是没时间做其他的Theme,就凑合default吧。

打算把这个东西叫glog了,简单,google appengine blog简称glog。

仍然有个问题,TinyMCE的form提交的时候,textarea的内容还是空的,第二次提交才不空(每次publish的时候都会报个错content is empty),需要调查一下。



Tags: theme | glog |

修了几个bug,记录一点笔记

gae 中
如果是html page的GET和POST数据,self.request.get['name']获得的是unicode类型
如果是XHR(xmlhttprequest)的GET和POST数据,self.request.get['name']获得的是str类型(utf-8)

python 中调用父类同名方法的方法fromlimodou
    class TestBase(object):
        def myMethod(self):
            pass

    class MyTest1(TestBase):
        def myMethod(self):
            super(MyTest1, self).myMethod()
            #other process



Tags: python | gae | glog |

Newpost and Editpost ajaxed

add new post and edit post are ajaxed.

add a ajaxed pulish in summary page.

maybe support openid in the furture?

and digg?

autolink need seems to be instant.

have fun.



Tags: openid | ajax | glog |

add some ajax features

hey, an ajax feature has been added.

Can delete a post from list page in ajax style.

jquery,ajax must set option {datatype:"json"} to make success handle function get the json object parameter.



Tags: ajax | glog |
sevenever@gmail.com
Copyright © 2008. All rights reserved.