标签: 〖TiddlyWeb〗


TW 在 IE 下打开时的安全警告汉化 兼及汉字Unicode编码

不知为何 TiddlyWiKi 在 IE 下打开时非出安全警告,也不知为何 TiddlyWiKi 的汉化未及此处,而我恰恰不希望我的用户(人家领导哈)打开就看见这样一个难以理解又令人不安的页面。

IE 说:“为了有利于保护安全性,IE已限制此网页运行可以访问计算机的脚本或 ActiveX 控件。请单击这里获取选项…”就够糟糕了,TW 的这段英文(This page requires JavaScript to function properly.If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select ‘Allow Blocked Content’. You must then click ‘Yes’ on the following security warning.)估计会让领导立刻关闭我的文件…

于是我决定用一段通俗汉语描述代替这片英文,这段文字在标准 TW 的67行,直接用汉字替换英文,不料怪事来了——对于不同的 IE 版本,不是总能正确显示这段汉字,如我系统是 WinXP Pack2 + IE8 ,个别地方就出现乱码(一般是汉字和英文混合的地方)。

后来明白了可能是 TW 显示所有汉字都用 Unicode 编码的缘故,把这段汉字用 Unicode 编码代替,果然正常了。

在线转换的程序在这里:http://tool.webmasterhome.cn/unicode.asp 它是连格式带十进制的汉字Unicode 编码都转换好了,直接使用就行(有些在线转换提供的是 16进制,有些则没有加“&#;”转换符)。

当然如果是自己使用而不想总收到 IE 警告,直接降低 IE 安全预警级别就行了。方法是:工具 – Internet选项 – 高级标签 – 在安全分类下面,有一项“允许活动内容在我的计算机上的文件中运行”。(不推荐使用此方法)

在寻找汉化转换 Unicode 编码的过程中,又意外地收获了更彻底的解决办法,直接禁止了 IE 的安全警告。之前我也发现,同样是 IE 内核的浏览器,同样的安全级别,TheWorld 就不显示警告。(此方法正在测试,下篇文章报告结果)

发表评论

TiddlyWeb Documentation 2 – 帮助 (英汉)

If you are working with TiddlyWeb and have questions or suggestions you can post in the TiddlyWiki and TiddlyWikiDev google groups or visit the #tiddlyweb IRC channel.
Please also search this wiki for help. If you can’t find what you are looking for, or some information is incomplete, please leave a comment so we can improve the content.
If you discover a bug, please raise a ticket on Trac, making sure you select tiddlyweb as component.

GUEST@Monday, June 8th, 2009 2:28:00 pm

Comments are broken when using tiddlyweb.com instead of tidlyweb.peermore.com.

如果您正在使用 TiddlyWeb 且有问题或建议,您可以在 TiddlyWiki 和 TiddlyWikiDev 谷歌小组发贴,或访问# tiddlyweb IRC 频道。
您还可搜索这个 wiki 以寻求帮助。如果你找不到你要的,或者某些信息是不完整,请留言以便我们能够改进的内容。
如果您发现错误,请在 TRAC 提交表单,确认您选择了 tiddlyweb 组件。 
tiddlyweb.com 上评论已不可用,请用 tidlyweb.peermore.com 。

发表评论

TiddlyWeb Documentation 1 – 概述 (英汉)

【按】这是本人学习 TiddlyWeb 的笔记,因对自己的理解和翻译均无把握,故英汉对照之。

TiddlyWeb Documentation
=======================
TiddlyWeb is an open source web-based storage system with a robust HTTP API.
It can be used as a flexible server-side implementation for TiddlyWiki.

Overview
Getting Help
Installing TiddlyWeb
Using TiddlyWeb
Customizing TiddlyWeb
Developing With TiddlyWeb
Theory of Operation
Lego Pieces Model
Credits

TiddlyWeb 是一个开源的基于Web的存储系统,一个强有力的HTTP API 。
它可以被用来作为一种灵活的服务器端执行的 TiddlyWiki 。

概览
获取帮助
安装TiddlyWeb
使用TiddlyWeb
定制TiddlyWeb
用TiddlyWeb做开发
操作理论
Lego Pieces 模型
Credits

Overview
——–

TiddlyWeb lets you:

1. Store your tiddlers and similar chunks of content on the web.
2. Dispay and edit your tiddlers in more than one TiddlyWiki.
3. Have more than one person working on the same TiddlyWiki at the same time.
4. Create dynamic TiddlyWikis based on rules you define.
5. Create new and interesting server-based TiddlyWiki applications.
6. Create new and interesting server-based application with tiddlers but without TiddlyWiki.

 

〖概述〗

TiddlyWeb 可以让您:

1. 在网上储存您的 tiddlers 和类似的内容块。
2. 在多个 TiddlyWiki 展示和编辑您的 tiddlers 。
3. 让多人在同一个 TiddlyWiki 上同时工作。
4. 根据您定义的规则创建动态 TiddlyWikis 。
5. 创建新的和有趣的基于服务器的 TiddlyWiki 应用。
6. 用 tiddlers 而非 TiddlyWiki 创建新的和有趣的基于服务器的应用。

TiddlyWeb is made up of a few things:

1. A web server. See Mount a Server.
2. A data store.
3. A configuration. See tiddlywebconfig.py.
4. A command line tool. See twanager.

Together these things are your lego to make lots of great stuff.

TiddlyWeb 由这几样东西构成:

1. 网页伺服器。参阅架设服务器。
2. 数据存储。
3. 一个配置。见 tiddlywebconfig.py 。
4. 命令行工具。见 twanager 。

这些东西是你的 lego ,创造很多了不起的应用。

Or to Put it another Way

TiddlyWeb is a collection of Python code providing several services:

1. It acts as a server-side for TiddlyWiki, providing (optionally) authenticated storage of any content, including TiddlyWiki content and dynamic generation of custom wikis.
2. It presents a robust HTTP API for manipulating resources in the store and an extensible system for presenting those resources in multiple representations.
3. It provides a library of routines and a framework for creating web-based applications based on TiddlyWeb and (optionally) TiddlyWiki.
4. It can act as a database for any content you wish to store on the web.
5. It is extensible, pluggable, customizable on many dimensions.
6. It is a reference HTTP API for other servers that wish to interact

efficiently with the TiddlyWiki Adaptor mechanism.

或换句话说

TiddlyWeb 是一个 Python 代码集,提供这样几种服务:

1. 它作为一个服务器端的TiddlyWiki ,提供(可选)任何内容的验证存储,包括TiddlyWiki 内容和动态生成的客制维基。
2. 它提供了一个强大的的 HTTP API 以操纵存储的资源,及提供一个可扩展的系统以多种表现呈现这些资源。
3. 它提供了一个例程和框架库,用于创建基于 TiddlyWeb 和(可选) TiddlyWiki 的 Web 网络应用。
4. 它可以作为一个数据库,存储您想要在网络上存储的任何内容。
5. 它在多个层面具有可扩展性,可插入性和可定制性。
6. 这是一个 HTTP API 参考,对于想要有效地互动的 TiddlyWiki Adaptor mechanism 的其他服务器。

发表评论