星期五 小雨 22~25℃
友吧首页侧栏选项卡部位细节完善
昨天仓促完成,今天完善了一下细节:
- “顶起的 TOP 9 排序”昨晚 Ryan 已修改正常;
- “言论”加小头像和发言数,以形象化;
- “顶起”加向上图标和顶起数,以形象化。
shtml支持include以中文命名的文件
例如:<!–#include virtual="测试文件.htm"–>
有一篇老文 用shtml来include网页文件(开启SSI) (google一下能搜到一堆)说 shtml 不能包含以中文命名的文件,会报错:“处理 SSI 文件时出错 – Error processing SSI file”,但我昨天和今天尝试,均发现是可以的,并且 utf-8 和 gb2312 都可以。
不过如果不是特别必要,还是建议用英文来命名。我做这个实验,也正是因为我遇到了特别必要的情形:在友吧的“博友”侧栏包含以作者名命名的htm,这样可以用现成的字段,而不用再增加一个字段,也不用修改每篇文章,只需改一下模板文件即可。
The Tale of Echo
from: http://www.storyarts.org/library/nutshell/stories/echo.html
A Greek Myth
Hera, the Queen of Mt. Olympus, cast a spell over her servant Echo for talking too much. As a punishment, Echo could henceforth only repeat what someone else said.
Poor Echo! She was in love with handsome Narcissus, and yearned to tell him so! One day Echo saw Narcissus admiring himself in a clear pond. Looking at his reflection, he vainly said to the face in the water, "I love you."
Echo repeated, "I love you," and meant it. But Narcissus thought it was his reflection that spoke and stood gazing at himself until he died and Hermes led him away to the Land of the Dead. Echo pined for him till she, too, faded away. All that was left of her was her voice that can still be heard in certain hollow places, senselessly repeating the words of others.
我的SHTML utf-8不能用中文路径include 请教
回复:确认路径无误,例如把需要嵌入的文件先改为英文名,确定能嵌入成功后再改为中文名。如果改为中文名后不能嵌入成功,那可能是和服务器或者分区格式有关了,我是这么猜想,也不知道是不是这个原因。
建议还是不要用中文名,当时我只是作了一下测试,实际用的时候我也不会用中文名的。
朱高 回复于 2009-7-15 17:57:19