<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="0.92">
<channel>
	<title>Dryice Liu's Blog</title>
	<link>http://dryice.name/blog</link>
	<description></description>
	<lastBuildDate>Tue, 31 Aug 2010 12:01:11 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>Firefox: view source in your favorite editor</title>
		<description>There is a nice tip about how to change the default source viewer to your favorite editor on   http://ffextensionguru.wordpress.com. And if you want to keep the default view, but use your favorite editor in another time, you are not along:

Just go and get the web developer plugin. And ...</description>
		<link>http://dryice.name/blog/firefox/extension/firefox-view-source-in-your-favorite-editor/</link>
			</item>
	<item>
		<title>force download dialog to show up</title>
		<description>This is a brief version of this article. It is not easy to find the right keyword for Google unless you know how.

The key is to set both content-type and Content-Disposition header. Here's the code from the web page above:


// Set the headers.
res.setContentType("application/x-download");
res.setHeader("Content-Disposition", "attachment; filename=" + filename);


By setting content-type to ...</description>
		<link>http://dryice.name/blog/misc/force-download-dialog-to-show-up/</link>
			</item>
	<item>
		<title>An interesting web editor</title>
		<description>http://www.fckeditor.net/

Pretty cool. But I'm afraid I won't need such a powerful thing. Plus it's slow for me and looks doesn't support Chinese well, though it said it support Chinese.

Share This
 </description>
		<link>http://dryice.name/blog/misc/an-interesting-web-editor/</link>
			</item>
	<item>
		<title>Use specific tag when writing CSS</title>
		<description>Or I'll get un-easy find bugs. Here is an example:

I want to seperate the color and layout of CSS definition, so I can easily add different styles. So I have:

In color.css


border: red;
}


And in layout.css


border: 1px;
}


Then in style.css


@import "layout.css";


However, when the page is rendered, the table border still get the inhired ...</description>
		<link>http://dryice.name/blog/misc/use-specific-tag-when-writing-css/</link>
			</item>
</channel>
</rss>

