<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>agon</title>
	<atom:link href="http://blog.olio.org.ru/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.olio.org.ru</link>
	<description>理想和现实本来易于冲突,理想时已经含了悲哀,现实起来当然就会绝望</description>
	<lastBuildDate>Sun, 07 Mar 2010 01:22:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>drift along</title>
		<link>http://blog.olio.org.ru/post/107_drift-along.html</link>
		<comments>http://blog.olio.org.ru/post/107_drift-along.html#comments</comments>
		<pubDate>Mon, 08 Feb 2010 05:07:46 +0000</pubDate>
		<dc:creator>agon</dc:creator>
				<category><![CDATA[癔症]]></category>

		<guid isPermaLink="false">http://blog.olio.org.ru/?p=107</guid>
		<description><![CDATA[人什么时候爱呻吟呢，肚子没在饿，不冷，不热，不忙，不急着上厕所，身上也不怎么疼……
如果想想第二天起床后，很多没有酒瘾的人会喝更少吧。开始常常听到有知道的陌生人死去，提醒你，你是要生下一代的一代人了。一想到短暂生命后的虚无，心跳会加速，一切马上变得有所谓又无所谓，便发呆，要是有鬼魂那该多好啊，要是能永恒保留自己的人格，人就怕死了吧。有人说，不要担心怕死，到最后人老的时候，会难受的希望死亡快点来。有些人还没来得及想，自己也不知道就突然死了，哪种更倒霉呢。
小黑屋子里满是管道，没节奏的叮咚乱响，偶尔有水滴在落在身上，很暖和，想着那个管子爆了，把自己的腿给弄没了，然后睡着了。
几年前，年前的大街上，大街上没个人儿，就好像是为你而清空的

好像从那时起，就不再喜欢冬天，春天和秋天变得最合意。
死墙，找个歌都那么费事。
午睡……然后出汗
]]></description>
			<content:encoded><![CDATA[<p>人什么时候爱呻吟呢，肚子没在饿，不冷，不热，不忙，不急着上厕所，身上也不怎么疼……</p>
<p>如果想想第二天起床后，很多没有酒瘾的人会喝更少吧。开始常常听到有知道的陌生人死去，提醒你，你是要生下一代的一代人了。一想到短暂生命后的虚无，心跳会加速，一切马上变得有所谓又无所谓，便发呆，要是有鬼魂那该多好啊，要是能永恒保留自己的人格，人就怕死了吧。有人说，不要担心怕死，到最后人老的时候，会难受的希望死亡快点来。有些人还没来得及想，自己也不知道就突然死了，哪种更倒霉呢。</p>
<p>小黑屋子里满是管道，没节奏的叮咚乱响，偶尔有水滴在落在身上，很暖和，想着那个管子爆了，把自己的腿给弄没了，然后睡着了。</p>
<p>几年前，年前的大街上，大街上没个人儿，就好像是为你而清空的<br />
<object width="420" height="363"><param name="movie" value="http://www.tudou.com/v/QZXQA6N66ok"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="opaque"></param><embed src="http://www.tudou.com/v/QZXQA6N66ok" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="opaque" width="420" height="363"></embed></object><br />
好像从那时起，就不再喜欢冬天，春天和秋天变得最合意。</p>
<p>死墙，找个歌都那么费事。<br />
午睡……然后出汗</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.olio.org.ru/post/107_drift-along.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>phpdoc1.4.3文件后缀名不全引发错误</title>
		<link>http://blog.olio.org.ru/post/106_phpdoc-filename-extension-error.html</link>
		<comments>http://blog.olio.org.ru/post/106_phpdoc-filename-extension-error.html#comments</comments>
		<pubDate>Sun, 03 Jan 2010 10:34:40 +0000</pubDate>
		<dc:creator>agon</dc:creator>
				<category><![CDATA[编程]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://blog.olio.org.ru/?p=106</guid>
		<description><![CDATA[我在windows上用的phpdoc1.4.3的下载版，生成的文档有报错：Smarty error: unable to read resource: &#8220;pkgelementindex.tpl&#8221;，而且没有css，png图标也看不到，在这里发现smarty模板文件的后缀名有错误，本来应该是.tpl，可是有部分文件的后缀为tp，所以引发报错。其实不光模板文件后缀有误，很多css和png后缀名为cs和pn，找来一段改文件名的批处理，把下面的代码保存为bat，

@echo off
for /r %%a in (*.cs) do ren "%%a" "%%~na.css"
for /r %%a in (*.pn) do ren "%%a" "%%~na.png"
for /r %%a in (*.tp) do ren "%%a" "%%~na.tpl"
pause

放在phpdoc目录下，运行既可以把错误的后缀改过来。
]]></description>
			<content:encoded><![CDATA[<p>我在windows上用的<a href="http://www.phpdoc.org/" target="_blank">phpdoc1.4.3</a>的下载版，生成的文档有报错：Smarty error: unable to read resource: &#8220;pkgelementindex.tpl&#8221;，而且没有css，png图标也看不到，在<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=2903698&amp;group_id=11194&amp;atid=111194" target="_blank">这里</a>发现smarty模板文件的后缀名有错误，本来应该是.tpl，可是有部分文件的后缀为tp，所以引发报错。其实不光模板文件后缀有误，很多css和png后缀名为cs和pn，找来一段改文件名的批处理，把下面的代码保存为bat，</p>
<pre>
@echo off
for /r %%a in (*.cs) do ren "%%a" "%%~na.css"
for /r %%a in (*.pn) do ren "%%a" "%%~na.png"
for /r %%a in (*.tp) do ren "%%a" "%%~na.tpl"
pause
</pre>
<p>放在phpdoc目录下，运行既可以把错误的后缀改过来。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.olio.org.ru/post/106_phpdoc-filename-extension-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy New Year</title>
		<link>http://blog.olio.org.ru/post/105_happy-new-year.html</link>
		<comments>http://blog.olio.org.ru/post/105_happy-new-year.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 15:40:42 +0000</pubDate>
		<dc:creator>agon</dc:creator>
				<category><![CDATA[癔症]]></category>

		<guid isPermaLink="false">http://blog.olio.org.ru/?p=105</guid>
		<description><![CDATA[再过十几分钟，2010就要来了，明天也是自己的生日，并且阴历和阳历的生日只差一天，已经整整活过了26年头，要迈向第27个年头。
回望这一年，过得几乎和去年一样，一样更衰，想象明年，希望或计划可能会在年尾变成泡沫儿。
从毕业到现在3年多，大部分时间都在家里当隐蔽青年。明年是肯定要结束这样的日子。
除了呻吟几句，还能怎样，
愿都健健康康就好。
快十二点了，睡觉。
]]></description>
			<content:encoded><![CDATA[<p>再过十几分钟，2010就要来了，明天也是自己的生日，并且阴历和阳历的生日只差一天，已经整整活过了26年头，要迈向第27个年头。</p>
<p>回望这一年，过得几乎和去年一样，一样更衰，想象明年，希望或计划可能会在年尾变成泡沫儿。</p>
<p>从毕业到现在3年多，大部分时间都在家里当隐蔽青年。明年是肯定要结束这样的日子。</p>
<p>除了呻吟几句，还能怎样，</p>
<p>愿都健健康康就好。</p>
<p>快十二点了，睡觉。<br />
<embed type="application/x-shockwave-flash" src="http://blog.olio.org.ru/dp.swf" width="200" height="20" flashvars="son=http://www.box.net/rssdownload/372221298/so.mp3" volume=100" wmode="transparent" quality="high"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.olio.org.ru/post/105_happy-new-year.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>又换主题了</title>
		<link>http://blog.olio.org.ru/post/104_change-theme.html</link>
		<comments>http://blog.olio.org.ru/post/104_change-theme.html#comments</comments>
		<pubDate>Mon, 28 Dec 2009 23:53:53 +0000</pubDate>
		<dc:creator>agon</dc:creator>
				<category><![CDATA[blog 建设]]></category>
		<category><![CDATA[主题]]></category>

		<guid isPermaLink="false">http://blog.olio.org.ru/?p=104</guid>
		<description><![CDATA[一直想有一个看起来很简单的主题，原来的主题需要的图片太多，div嵌套的过多，参照WordPress 2.8 Theme Design这本书，从头开始，自己写一个主题。
黑色背景，省电，背景图片变成一张，post栏宽度随分辨率变化，侧边栏固定宽度，访问速度也比原来提高了1秒多，大概3秒左右就可以看到post了，大体结构弄完了，不会用photoshop，没有美术细胞，美化以后慢慢弄吧。
基本上写完一个主题，css也差不多入门了。
现在YSlow得分为A了。

]]></description>
			<content:encoded><![CDATA[<p>一直想有一个看起来很简单的主题，原来的主题需要的图片太多，div嵌套的过多，参照<a href="http://www.packtpub.com/wordpress-2-8-theme-design-2nd-edition/book" target="_blank">WordPress 2.8 Theme Design</a>这本书，从头开始，自己写一个主题。</p>
<p>黑色背景，省电，背景图片变成一张，post栏宽度随分辨率变化，侧边栏固定宽度，访问速度也比原来提高了1秒多，大概3秒左右就可以看到post了，大体结构弄完了，不会用photoshop，没有美术细胞，美化以后慢慢弄吧。</p>
<p>基本上写完一个主题，css也差不多入门了。</p>
<p>现在YSlow得分为A了。<br />
<img class="aligncenter" title="yslow 得分" src="http://pic.olio.org.ru/image/blog/104_yslow.jpg" alt="" width="272" height="461" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.olio.org.ru/post/104_change-theme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>word-wrap可在firefox自动换行</title>
		<link>http://blog.olio.org.ru/post/103_word-wrap-in.html</link>
		<comments>http://blog.olio.org.ru/post/103_word-wrap-in.html#comments</comments>
		<pubDate>Sat, 12 Dec 2009 23:33:51 +0000</pubDate>
		<dc:creator>agon</dc:creator>
				<category><![CDATA[blog 建设]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.olio.org.ru/?p=103</guid>
		<description><![CDATA[word-wrap可以自动中断连续的长引文字母，以防止撑破布局，只是这个属性是微软自己发明的，不被css2支持，所以firefox下处理这种问题一直比较烦人，要么是用css
overflow:auto;  /*for firefox*/
word-wrap:break-word;/*for ie*/
通过overflow设置过长字母为滚动或者hidden，要么是用js控制，非常不方便。
因为准备为自己写一个简单一点的主题，发现word-wrap在firefox下面起作用了。一查原来微软也是css的成员，这个属性被添加到了css中，所以IE, Safari, and Firefox(高于 3.1 (Alpha))都支持这个属性了，看示例（来源）：
This paragraph has long words thisisaveryverylongwordthatisntreallyoneword and again a longwordwithnospacesinit
This paragraph has long words thisisaveryverylongwordthatisntreallyoneword and again a longwordwithnospacesinit
注意：避免在&#60;pre&#62;内使用，如果你是在
&#60;pre&#62;标签内使用word-wrap属性的，firefox下会不起自动换行作用,用white-space: pre-wrap;
所以，虽然ie同学很恼人，但也是有贡献地。
]]></description>
			<content:encoded><![CDATA[<p>word-wrap可以自动中断连续的长引文字母，以防止撑破布局，只是这个属性是微软自己发明的，不被css2支持，所以firefox下处理这种问题一直比较烦人，要么是用css</p>
<pre>overflow:auto;  /*for firefox*/
word-wrap:break-word;/*for ie*/</pre>
<p>通过overflow设置过长字母为滚动或者hidden，要么是用js控制，非常不方便。</p>
<p>因为准备为自己写一个简单一点的主题，发现word-wrap在firefox下面起作用了。<a href="https://developer.mozilla.org/web-tech/2008/08/20/word-wrap-break-word/" target="_blank">一查</a>原来微软也是css的成员，这个属性被添加到了css中，所以IE, Safari, and Firefox(高于 3.1 (Alpha))都支持这个属性了，看示例（<a href="http://www.css3.info/preview/word-wrap/" target="_blank">来源</a>）：</p>
<p style="width: 200px; word-wrap: normal; border: 1px solid; padding: 5px;">This paragraph has long words thisisaveryverylongwordthatisntreallyoneword and again a longwordwithnospacesinit</p>
<p style="width: 200px; word-wrap: break-word; border: 1px solid; padding: 5px;">This paragraph has long words thisisaveryverylongwordthatisntreallyoneword and again a longwordwithnospacesinit</p>
<p><strong>注意：</strong>避免在&lt;pre&gt;内使用，如果你是在<br />
&lt;pre&gt;标签内使用word-wrap属性的，firefox下会不起自动换行作用,用white-space: pre-wrap;</p>
<p>所以，虽然ie同学很恼人，但也是有贡献地。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.olio.org.ru/post/103_word-wrap-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
