Python论坛  - 讨论区

标题:[python-chinese] 有没有Python写的Blog system?

2006年01月04日 星期三 09:36

Zoom Quiet zoom.quiet at gmail.com
Wed Jan 4 09:36:41 HKT 2006

在 06-1-4,Davies Liu<davies.liu at gmail.com> 写道:
> 开发框架是跟类库差不多的咚咚,如果换个类库的话,比如从MFC到QT,需要改动的东西还是很多的。
> BlogXP中跟mod_publish相关的代码集中在一个publisher中,类似于Django中的urls.py
> 其他的内容管理基本上是可以充用的,与框架平台无关,
> 但是如果换用Django的话,我想把数据储存形式也换成SQLite,自然底层的代码也要改了。
> 整个系统的代码并不大,重写也简单,只是目前对Django的了解还不够,不知道会遇到哪些问题。
咔咔咔!有兴趣就将代码公开哪,自然有好事者帮忙重构的哪…………咔咔咔!!


>
> Davies
>
> 在06-1-3,风向标-Vane <vaneoooo at gmail.com> 写道:
> >
> >
> > Davies Liu 兄
> > 我不大了解python在web程序开发方面的内容
> > 您说用mod_python做的
> > 准备再用Django重写一遍
> > 我理解是,Python所写的Web程序不具备可移植性
> > 在apache+mod_python下开发的程序若要换个平台运行就必须略有改动
> > 不似PHP或者ASP一般,你看正确吗?
> >
> >
> > 在06-1-3,Davies Liu <davies.liu at gmail.com> 写道:
> >
> > > 用mod_python做的,但没有他提供的Handler,
> > > 主要关注性能和轻便,数据用xml方式存储,再组合成相应的内容,服务器段用mod_xslt转换成html,
> > > 我的服务器非常破,赛扬500,内存也才64M,跑个MySQL比较费劲,
> > > 现在的瓶颈主要在XSLT转换,占用70-90%的时间
> > >
> > > 正在考虑用Django重写一遍,做一个更完善的blog,数据存储用SQLite,
> > > 各位有啥好建议?
> > >
> > > Davies
> > >
> > >
> > > 在06-1-2,limodou <limodou at gmail.com > 写道:
> > > >
> > > > 在 06-1-2,Davies Liu<davies.liu at gmail.com> 写道:
> > > > > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > > > > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> > > > >
> > > >
> > > > 做得不错。如果是用 django 做的就更好了。
> > > >
> > > > --
> > > > I like python!
> > > > My Blog: http://www.donews.net/limodou
> > > > NewEdit Maillist:
> http://groups.google.com/group/NewEdit
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Davies Liu
> > > My Blog: http://blog.daviesliu.net/
> > > My MSN: davies616 at msn.com
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
>
> --
> Davies Liu
> My Blog: http://blog.daviesliu.net/
> My MSN: davies616 at msn.com
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


--
# Time is unimportant, only life important!
## 面朝开源,我心自由!

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 09:36

Davies Liu davies.liu at gmail.com
Wed Jan 4 09:36:43 HKT 2006

现在贴源代码做得不好,主要是限制于 widgEditor
也没想到什么好的解决方案,理想中的状况是,blog内容中是完全干净的代码,不包括HTML元素,但又能实现语法加亮,
是不是得借助于JavaScript ?

2006/1/3, Zoom Quiet <zoom.quiet at gmail.com>:
>
> 在 06-1-2,Davies Liu<davies.liu at gmail.com> 写道:
> > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> >
> > Davies
> 不错!一定要交流!
> 没有看到源代码的语法颜色处理,不知道你是如何进行内容管理的?
> 可以进行 mail blog?
> 建议支持标准的Blog API哪!这样一来就可以和newEdit 等等标准桌面工具结合了哪!
>
> >
> > 2006/1/2, Zoom Quiet < zoom.quiet at gmail.com>:
> > > 在 06-1-2,Devin Deng< deng.devin at gmail.com> 写道:
> > > > 谢谢,这个看起来不错,我怎么在sf.net上就没找着呢。
> > > >
> > > 还有 PyBlosxom 是也乎Blosxom 的Py 实现,更加简单和实用,
> > > 还有 COREBlog 是 Zope 平台的Blog 产品等等…………
> > >
> > > >
> > > > 在06-1-1,saddle < saddle at gmail.com> 写道:
> > > > >
> > > > > 这个怎么样
> > > > > http://snakelets.sourceforge.net/frog/
> > > > > 在 06-1-1,Devin Deng< deng.devin at gmail.com> 写道:
> > > > > > 请问谁知道哪里能下载用python写的,做得相对比较成熟的Blog framework?
> > > > > > 想自己架一个.
> > > > > >
> > > > > >
> > > > > > Devin
> > > > > >
> > > > > > _______________________________________________
> > > > > > python-chinese
> > > > > > Post: send python-chinese at lists.python.cn
> > > > > > Subscribe: send subscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Unsubscribe: send unsubscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Detail Info:
> > > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > > >
> > > > > >
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > > > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > > > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > > --
> > > # Time is unimportant, only life important!
> > > ## 面朝开源,我心自由!
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> >
> > --
> > Davies Liu
> > My Blog: http://blog.daviesliu.net/
> > My MSN: davies616 at msn.com
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> # Time is unimportant, only life important!
> ## 面朝开源,我心自由!
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


--
Davies Liu
My Blog: http://blog.daviesliu.net/
My MSN: davies616 at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/34b6cfe8/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 09:41

Davies Liu davies.liu at gmail.com
Wed Jan 4 09:41:51 HKT 2006

我觉得用HTML格式来编辑富文本是最好的,我是考虑到有一天可能要把这些内容放到另一个blog后台上去,
比如现在就把blog内容分发到水木blog和spaces上,效果挺好,
反正都是放在Web上,用HTML总不会有问题,而其它格式的话,可能就需要转换。

所想即所得比较难,跟编辑HTML源码似的

Davies

2006/1/3, Zoom Quiet <zoom.quiet at gmail.com>:
>
> 在 06-1-3,Devin Deng<deng.devin at gmail.com> 写道:
> > 兄弟的机子确实够老的。
> >
> > 自己写blog不到半年,且两天打鱼三天晒网,不知道设计一个很好的blog应该怎么做
> > 所以才想在网上找个成熟的。
> >
> > 不过感觉上好像需要一个做的不错的Rich editor。至少像gmail里的这个一样。
> > 顺别问一下有轻量级的rich editor in Javascript吗?
> >
> eidter? 现在都统一到 KCFedit 了哪!
> 不过,基于Python 的Blog 是绝对不玩所见即所得的!一定是所想即所得!
> 象PyBlosxom 可以轻易的使用 wiki/reST 等等各种结构化文本来进行发表,比管理HTML的代码要节省也好用的多哪!
>
>
> > 还有,我没有在网上看到一个用python做的很不错的photo album. 搜了一下比较好的
> > 都是php做的。结果自己实现了一个Quick but Dirty的相册。做了之后才发现相册也不是
> > 想象中那么简单。
> >
> > 如果你有兴趣玩django,最好考虑一下做个相册。可以参考一下
> > http://gallery.menalto.com
> > 当然'不是flickr那么强的以相片为中心的应用。
> >
> >
> >
> >  在06-1-3,Davies Liu <davies.liu at gmail.com> 写道:
> > > 用mod_python做的,但没有他提供的Handler,
> > > 主要关注性能和轻便,数据用xml方式存储,再组合成相应的内容,服务器段用mod_xslt转换成html,
> > > 我的服务器非常破,赛扬500,内存也才64M,跑个MySQL比较费劲,
> > > 现在的瓶颈主要在XSLT转换,占用70-90%的时间
> > >
> > > 正在考虑用Django重写一遍,做一个更完善的blog,数据存储用SQLite,
> > > 各位有啥好建议?
> > >
> > > Davies
> > >
> > >
> > > 在06-1-2,limodou < limodou at gmail.com> 写道:
> > > >
> > > > 在 06-1-2,Davies Liu<davies.liu at gmail.com> 写道:
> > > > > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > > > > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> > > > >
> > > >
> > > > 做得不错。如果是用 django 做的就更好了。
> > > >
> > > > --
> > > > I like python!
> > > > My Blog: http://www.donews.net/limodou
> > > > NewEdit Maillist:
> > http://groups.google.com/group/NewEdit
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Davies Liu
> > > My Blog: http://blog.daviesliu.net/
> > > My MSN: davies616 at msn.com
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> # Time is unimportant, only life important!
> ## 面朝开源,我心自由!
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


--
Davies Liu
My Blog: http://blog.daviesliu.net/
My MSN: davies616 at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/4299d21d/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 09:43

Zoom Quiet zoom.quiet at gmail.com
Wed Jan 4 09:43:53 HKT 2006

在 06-1-4,Davies Liu<davies.liu at gmail.com> 写道:
> 现在贴源代码做得不好,主要是限制于 widgEditor
> 也没想到什么好的解决方案,理想中的状况是,blog内容中是完全干净的代码,不包括HTML元素,但又能实现语法加亮,
> 是不是得借助于JavaScript ?
>
哈哈哈!!所以俺建议是使用结构化文本哪!

象MoinMoin 一样,使用 {{{ 代码 }}} 来标识,然后自动渲染语法颜色,输出HTML代码,
这样一来服务端的压力大一些,不过,你可以使用动态管理,静态输出的方式来管理发布是也乎是也乎。

> 2006/1/3, Zoom Quiet <zoom.quiet at gmail.com >:
> > 在 06-1-2,Davies Liu<davies.liu at gmail.com > 写道:
> > > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> > >
> > > Davies
> > 不错!一定要交流!
> > 没有看到源代码的语法颜色处理,不知道你是如何进行内容管理的?
> > 可以进行 mail blog?
> > 建议支持标准的Blog API哪!这样一来就可以和newEdit 等等标准桌面工具结合了哪!
> >
> > >
> > > 2006/1/2, Zoom Quiet < zoom.quiet at gmail.com>:
> > > > 在 06-1-2,Devin Deng< deng.devin at gmail.com> 写道:
> > > > > 谢谢,这个看起来不错,我怎么在sf.net上就没找着呢。
> > > > >
> > > > 还有 PyBlosxom 是也乎Blosxom 的Py 实现,更加简单和实用,
> > > > 还有 COREBlog 是 Zope 平台的Blog 产品等等…………
> > > >
> > > > >
> > > > > 在06-1-1,saddle < saddle at gmail.com> 写道:
> > > > > >
> > > > > > 这个怎么样
> > > > > > http://snakelets.sourceforge.net/frog/
> > > > > > 在 06-1-1,Devin Deng< deng.devin at gmail.com> 写道:
> > > > > > > 请问谁知道哪里能下载用python写的,做得相对比较成熟的Blog framework?
> > > > > > > 想自己架一个.
> > > > > > >
> > > > > > >
> > > > > > > Devin
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > python-chinese
> > > > > > > Post: send python-chinese at lists.python.cn
> > > > > > > Subscribe: send subscribe to
> > > > > > > python-chinese-request at lists.python.cn
> > > > > > > Unsubscribe: send unsubscribe to
> > > > > > > python-chinese-request at lists.python.cn
> > > > > > > Detail Info:
> > > > > > >
> http://python.cn/mailman/listinfo/python-chinese
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > python-chinese
> > > > > > Post: send python-chinese at lists.python.cn
> > > > > > Subscribe: send subscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > > Unsubscribe: send unsubscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > > Detail Info:
> > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > > > > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > # Time is unimportant, only life important!
> > > > ## 面朝开源,我心自由!
> > > >
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Davies Liu
> > > My Blog: http://blog.daviesliu.net/
> > > My MSN: davies616 at msn.com
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > > python-chinese-request at lists.python.cn
> > > Detail Info:
> > > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> > --
> > # Time is unimportant, only life important!
> > ## 面朝开源,我心自由!
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
>
> --
> Davies Liu
> My Blog: http://blog.daviesliu.net/
> My MSN: davies616 at msn.com
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>


--
# Time is unimportant, only life important!
## 面朝开源,我心自由!

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 09:45

Davies Liu davies.liu at gmail.com
Wed Jan 4 09:45:26 HKT 2006

正在代码整理中,并做一些改善,
发布代码的话,没有文档也是不行的,还得写文档,
所以要等一等,
如果没有文档你也感兴趣的话,可以先发一份给你 :-)

Davies

2006/1/4, Zoom Quiet <zoom.quiet at gmail.com>:
>
> 在 06-1-4,Davies Liu<davies.liu at gmail.com> 写道:
> > 开发框架是跟类库差不多的咚咚,如果换个类库的话,比如从MFC到QT,需要改动的东西还是很多的。
> > BlogXP中跟mod_publish相关的代码集中在一个publisher中,类似于Django中的urls.py
> > 其他的内容管理基本上是可以充用的,与框架平台无关,
> > 但是如果换用Django的话,我想把数据储存形式也换成SQLite,自然底层的代码也要改了。
> > 整个系统的代码并不大,重写也简单,只是目前对Django的了解还不够,不知道会遇到哪些问题。
> 咔咔咔!有兴趣就将代码公开哪,自然有好事者帮忙重构的哪…………咔咔咔!!
>
>
> >
> > Davies
> >
> > 在06-1-3,风向标-Vane <vaneoooo at gmail.com> 写道:
> > >
> > >
> > > Davies Liu 兄
> > > 我不大了解python在web程序开发方面的内容
> > > 您说用mod_python做的
> > > 准备再用Django重写一遍
> > > 我理解是,Python所写的Web程序不具备可移植性
> > > 在apache+mod_python下开发的程序若要换个平台运行就必须略有改动
> > > 不似PHP或者ASP一般,你看正确吗?
> > >
> > >
> > > 在06-1-3,Davies Liu <davies.liu at gmail.com> 写道:
> > >
> > > > 用mod_python做的,但没有他提供的Handler,
> > > > 主要关注性能和轻便,数据用xml方式存储,再组合成相应的内容,服务器段用mod_xslt转换成html,
> > > > 我的服务器非常破,赛扬500,内存也才64M,跑个MySQL比较费劲,
> > > > 现在的瓶颈主要在XSLT转换,占用70-90%的时间
> > > >
> > > > 正在考虑用Django重写一遍,做一个更完善的blog,数据存储用SQLite,
> > > > 各位有啥好建议?
> > > >
> > > > Davies
> > > >
> > > >
> > > > 在06-1-2,limodou <limodou at gmail.com > 写道:
> > > > >
> > > > > 在 06-1-2,Davies Liu<davies.liu at gmail.com> 写道:
> > > > > > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > > > > > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> > > > > >
> > > > >
> > > > > 做得不错。如果是用 django 做的就更好了。
> > > > >
> > > > > --
> > > > > I like python!
> > > > > My Blog: http://www.donews.net/limodou
> > > > > NewEdit Maillist:
> > http://groups.google.com/group/NewEdit
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Davies Liu
> > > > My Blog: http://blog.daviesliu.net/
> > > > My MSN: davies616 at msn.com
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> >
> > --
> > Davies Liu
> > My Blog: http://blog.daviesliu.net/
> > My MSN: davies616 at msn.com
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> # Time is unimportant, only life important!
> ## 面朝开源,我心自由!
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


--
Davies Liu
My Blog: http://blog.daviesliu.net/
My MSN: davies616 at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/ff07b349/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 09:51

Davies Liu davies.liu at gmail.com
Wed Jan 4 09:51:46 HKT 2006

我想做一个专门用来进行语法加亮的Web服务,加亮后的代码采用CSS来渲染,用它转换后贴到HTML Editor 中,
用{{{代码}}}这种格式的话,内容移植性太差,换个后台就不行了,
以前尝试过一些 php 写的Blog,居然把blog内容跟PHP代码混合在一起,简直是噩梦

这个语法加亮的Web服务,可以用Python来调用VIM实现,
之前好像在网上看到有人做过,不知道是采用什么方案,不记得地址了,再找找

Davies

2006/1/4, Zoom Quiet <zoom.quiet at gmail.com>:
>
> 在 06-1-4,Davies Liu<davies.liu at gmail.com> 写道:
> > 现在贴源代码做得不好,主要是限制于 widgEditor
> > 也没想到什么好的解决方案,理想中的状况是,blog内容中是完全干净的代码,不包括HTML元素,但又能实现语法加亮,
> > 是不是得借助于JavaScript ?
> >
> 哈哈哈!!所以俺建议是使用结构化文本哪!
>
> 象MoinMoin 一样,使用 {{{ 代码 }}} 来标识,然后自动渲染语法颜色,输出HTML代码,
> 这样一来服务端的压力大一些,不过,你可以使用动态管理,静态输出的方式来管理发布是也乎是也乎。
>
> > 2006/1/3, Zoom Quiet <zoom.quiet at gmail.com >:
> > > 在 06-1-2,Davies Liu<davies.liu at gmail.com > 写道:
> > > > 我用Python做了一个BlogXP,样例请见 http://blog.daviesliu.net
> > > > 目前做得并不完善,所以还没有发布代码,如果谁有兴趣,可以私下交流:-)
> > > >
> > > > Davies
> > > 不错!一定要交流!
> > > 没有看到源代码的语法颜色处理,不知道你是如何进行内容管理的?
> > > 可以进行 mail blog?
> > > 建议支持标准的Blog API哪!这样一来就可以和newEdit 等等标准桌面工具结合了哪!
> > >
> > > >
> > > > 2006/1/2, Zoom Quiet < zoom.quiet at gmail.com>:
> > > > > 在 06-1-2,Devin Deng< deng.devin at gmail.com> 写道:
> > > > > > 谢谢,这个看起来不错,我怎么在sf.net上就没找着呢。
> > > > > >
> > > > > 还有 PyBlosxom 是也乎Blosxom 的Py 实现,更加简单和实用,
> > > > > 还有 COREBlog 是 Zope 平台的Blog 产品等等…………
> > > > >
> > > > > >
> > > > > > 在06-1-1,saddle < saddle at gmail.com> 写道:
> > > > > > >
> > > > > > > 这个怎么样
> > > > > > > http://snakelets.sourceforge.net/frog/
> > > > > > > 在 06-1-1,Devin Deng< deng.devin at gmail.com> 写道:
> > > > > > > > 请问谁知道哪里能下载用python写的,做得相对比较成熟的Blog framework?
> > > > > > > > 想自己架一个.
> > > > > > > >
> > > > > > > >
> > > > > > > > Devin
> > > > > > > >
> > > > > > > > _______________________________________________
> > > > > > > > python-chinese
> > > > > > > > Post: send python-chinese at lists.python.cn
> > > > > > > > Subscribe: send subscribe to
> > > > > > > > python-chinese-request at lists.python.cn
> > > > > > > > Unsubscribe: send unsubscribe to
> > > > > > > > python-chinese-request at lists.python.cn
> > > > > > > > Detail Info:
> > > > > > > >
> > http://python.cn/mailman/listinfo/python-chinese
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > python-chinese
> > > > > > > Post: send python-chinese at lists.python.cn
> > > > > > > Subscribe: send subscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > > Unsubscribe: send unsubscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > > Detail Info:
> > > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > python-chinese
> > > > > > Post: send python-chinese at lists.python.cn
> > > > > > Subscribe: send subscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Unsubscribe: send unsubscribe to
> > > > > > python-chinese-request at lists.python.cn
> > > > > > Detail Info:
> > > > > > http://python.cn/mailman/listinfo/python-chinese
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > # Time is unimportant, only life important!
> > > > > ## 面朝开源,我心自由!
> > > > >
> > > > > _______________________________________________
> > > > > python-chinese
> > > > > Post: send python-chinese at lists.python.cn
> > > > > Subscribe: send subscribe to
> > > > python-chinese-request at lists.python.cn
> > > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request at lists.python.cn
> > > > > Detail Info:
> > > > http://python.cn/mailman/listinfo/python-chinese
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Davies Liu
> > > > My Blog: http://blog.daviesliu.net/
> > > > My MSN: davies616 at msn.com
> > > > _______________________________________________
> > > > python-chinese
> > > > Post: send python-chinese at lists.python.cn
> > > > Subscribe: send subscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Unsubscribe: send unsubscribe to
> > > > python-chinese-request at lists.python.cn
> > > > Detail Info:
> > > > http://python.cn/mailman/listinfo/python-chinese
> > > >
> > > >
> > >
> > >
> > > --
> > > # Time is unimportant, only life important!
> > > ## 面朝开源,我心自由!
> > >
> > > _______________________________________________
> > > python-chinese
> > > Post: send python-chinese at lists.python.cn
> > > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> > >
> > >
> >
> >
> >
> > --
> > Davies Liu
> > My Blog: http://blog.daviesliu.net/
> > My MSN: davies616 at msn.com
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
> --
> # Time is unimportant, only life important!
> ## 面朝开源,我心自由!
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


--
Davies Liu
My Blog: http://blog.daviesliu.net/
My MSN: davies616 at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/e215a1c1/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 13:31

Jam si james.si at gmail.com
Wed Jan 4 13:31:42 HKT 2006

Davies Liu兄
小弟刚接触Python的WEB开发,想采用quixote框架,不知道到底怎么样?如果采用quixote,还需要选择mod_python或mod_scgi,请给些建议。
另外能否把你做的BLOG代码给我发一份学习?谢谢!

james.si at gmail.com

james
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/4b8cafc4/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月04日 星期三 15:14

Davies Liu davies.liu at gmail.com
Wed Jan 4 15:14:47 HKT 2006

Hi James,

sorry,我不懂Quixote,只用过mod_python,尝试Lighttpd+FastCGI失败....
BlogXP的代码正在整理中,希望过几天能发布出来,
先说一下,代码很Ugly,你们要失望了...

Davies

在06-1-4,Jam si <james.si at gmail.com> 写道:
>
> Davies Liu兄
>
> 小弟刚接触Python的WEB开发,想采用quixote框架,不知道到底怎么样?如果采用quixote,还需要选择mod_python或mod_scgi,请给些建议。
> 另外能否把你做的BLOG代码给我发一份学习?谢谢!
>
> james.si at gmail.com
>
> james
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


--
Davies Liu
My Blog: http://blog.daviesliu.net/
My MSN: davies616 at msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060104/b9a30864/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年01月05日 星期四 16:29

HoLin holin.he at gmail.com
Thu Jan 5 16:29:22 HKT 2006

关注下。

在 06-1-4,Davies Liu<davies.liu at gmail.com> 写道:
> Hi James,
>
> sorry,我不懂Quixote,只用过mod_python,尝试Lighttpd+FastCGI失败....
> BlogXP的代码正在整理中,希望过几天能发布出来,
> 先说一下,代码很Ugly,你们要失望了...
>
> Davies
>
> 在06-1-4,Jam si <james.si at gmail.com> 写道:
> >
> >
> > Davies Liu兄
> >
> 小弟刚接触Python的WEB开发,想采用quixote框架,不知道到底怎么样?如果采用quixote,还需要选择mod_python或mod_scgi,请给些建议。
> > 另外能否把你做的BLOG代码给我发一份学习?谢谢!
> >
> > james.si at gmail.com
> >
> > james
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> > Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
>
>
> --
> Davies Liu
> My Blog: http://blog.daviesliu.net/
> My MSN: davies616 at msn.com
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号