Skip to content

2009 » 3

21
03

2009.03.21 盘溪·大竹林

BGE 2009年3月21日出行,Bobby与GaoKe先行,Eric由于要照顾孕猫中午才到。

Digital Camera

阅读剩余部分...

13
03

The easy [&] Problem in the XHTML files

So today I finished a website called ChongQing Yuzhou Electric Wire Corporation, and let it going through the W3C’s validate, including XHTML validating and CSS validating. Anyway, before that, here’s 60+ errors or warnings, I try to remember here:

1. the &, while guys write webpage know that the easy & problem so well but not me. So, before that, here’re so many “&” appears in the page, especially in the URL, the quick way to solve it is adding an “amp” and a semicolon after that.

2. Basically like problem above, just the “<” and “>”, you know that, instead it with “&lt;” and a “&gt;”, which is very weird because it reminds me the basic “space” in HTML, that’s “&nbsp;”, God I promise that’s the first thing I learn from HTML, 8 years after…

3. the closing “/”, you should write as “<BR/>”, but not “</BR>”, know what, this is weird too cause I know that but never know it’s a piece of basis of XHTML’s validating.

4. CSS files, if you downloading a website via Teleports, the stupid links will added to the CSS file, which like “/*TPA=whatwhat*/”. Delete it will be done.

Eric.R www.feifeigo.com 2008-09-12 and Published at 2009-03-13

12
03

Encoding problem while Flash reading data from XML files

By Eric.R @ September 11th, 2008

How to display Chinese character in Flash® if the .SWF file needs to read data from a .XML file or .TXT file? People like me in China always confused with this, or even upset about it. So, here’s the way to solve:

1. Adding the script to the 1st frame at the .FLA file: “System.useCodepage=true;” so it works as your page works;

2. Make sure your page who contains the .SWF, I mean the HTML file, encoding the character via UTF-8;

3. What’s more, you need to modify the .XML file’s encoding to UTF-8 too, anyway, the .TXT file needn’t anything;

4. That’s it, Enjoy.

Eric.R www.feifeigo.com 2008-09-11

10
03

BGE 九年曲

复件 BGE-081003-17 副本

分享其遇,乐在其中。

观其兼善大环境,诸君不同期入校,在校受命各不相同,不存“无期之遇”,乃无“邂逅之说”,命运注定诸君将并肩行完人生路。然则性别无异,否则定有伉俪。

君皆布衣,躬身于学海,苟全友情于同窗,不求更甚之说。然毕业之初,依依不舍,不顾酷暑,排开距离,你我相见乃惴惴,知其深造,难忘旧情,电话相述,乃会于深秋之沙坪,相见有规律,每周无间断,当队伍逐渐庞大,诸君皆未知后事如何。

延续毕业前之故事,东窗事不发,苟同于从前,然则儿女之事渐入生活,此不同过往之事,无学习室只为大闹,更无其涂鸦之作倾排尽想,东想西想,不过是乍然嬉闹也。

地域之疏,象牙塔之麻乱,友谊终有黯淡时,一年不少,两年不多,复见乃大呼当年话,叙其过往,无不嬉笑怒骂,喜形于色。当如礼遇盟军,礼遇泳水之时,纷纷然,感怀颇多,受其阻,无言以对,笑问青天。

后置合川,杜康倾覆,二君乃为小事大打出手,此生难忘,不过两天,复见复言,皆愧,早无怨气之声,付诸老山城,流经肠胃,化作粪水,终归乃笑谈之资本。

诸君在内不谈飞黄腾达,不奢富丽堂皇;于外不轻称兄道弟,不喜诺诺惴惴;最憎孑然一身,最恨形影相吊也,乃如鸿雁,群进群退,群快群慢,扑扇双羽,共同向前。《说文》曰,友者,从二又,古之友谓之“習”,双羽鬓白,你我皆彼此之羽,皆相互之翼也。

今日乃为曲折及奋进之九年,高举此杯,共祝诸君之情意,2009,百尺竿头,更进一步,礼遇、恩典及一切之一切,化作此酒,无论多年,永葆你我心间!