<?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>王一的Blog - a one and a two &#187; 雕刻时光</title>
	<atom:link href="http://www.mudone.com/category/passed-times/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mudone.com</link>
	<description>Reborn - 治疗拖延症最好的方法就是立刻开始</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:20:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://www.mudone.com/?pushpress=hub'/>
		<item>
		<title>常识、代码、生活以及游戏</title>
		<link>http://www.mudone.com/2011/12/science-code-life-financial-game/</link>
		<comments>http://www.mudone.com/2011/12/science-code-life-financial-game/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 03:17:14 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1812</guid>
		<description><![CDATA[我喜爱自然科学。 常识。 空气污染这个事情现在被闹得这么大，其实比较可笑。。。 非得要出个什么软件或者机构发布一个数据出来，大家才会去关注一下。。。 科普常识这个事情实在是个长久的大工程啊。。。 捎带推荐一本书：健康流言终结者 松鼠会的医学博士 &#8220;薄三郎&#8221; 所写。 上帝保佑呼吸了帝都毒气的苦逼人民。 代码。 先看这篇：《先要好代码？ 还是好产品？》。 少一些技术思维，多一些产品思路。 代码是为了产品服务的。最终&#8211;是为了服务生活。 生活。 微博上有一段时间总是有一些人在转发“炫耀”加班。但是。。。真的需要这样吗？ 如何高效有效的做事才是值得思考的。去看看Get thing Real &#038; Rework吧。 工作是为生活服务的。 游戏。 浑水上海中转站：中国“隐形人”的蓝海生意 I love this game.]]></description>
			<content:encoded><![CDATA[<p>我喜爱自然科学。</p>
<p>常识。<br />
空气污染这个事情现在被闹得这么大，其实比较可笑。。。<br />
非得要出个什么软件或者机构发布一个数据出来，大家才会去关注一下。。。</p>
<p>科普常识这个事情实在是个长久的大工程啊。。。<br />
捎带推荐一本书：<a href="http://book.douban.com/subject/6729866/" target="_blank">健康流言终结者</a> 松鼠会的医学博士 &#8220;薄三郎&#8221; 所写。<br />
上帝保佑呼吸了帝都毒气的苦逼人民。</p>
<p>代码。<br />
先看这篇：<a href="http://blog.jobbole.com/9087/" target="_blank">《先要好代码？ 还是好产品？》</a>。<br />
少一些技术思维，多一些产品思路。<br />
代码是为了产品服务的。最终&#8211;是为了服务生活。</p>
<p>生活。<br />
微博上有一段时间总是有一些人在转发“炫耀”加班。但是。。。真的需要这样吗？<br />
如何高效有效的做事才是值得思考的。去看看Get thing Real &#038; Rework吧。<br />
工作是为生活服务的。</p>
<p>游戏。<br />
<a href="http://www.21cbh.com/HTML/2011-12-3/1NMDcyXzM4NTM1Nw.html" target="_blank">浑水上海中转站：中国“隐形人”的蓝海生意</a><br />
I love this game.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/12/science-code-life-financial-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>张生方案总结</title>
		<link>http://www.mudone.com/2011/11/zhangsheng-3/</link>
		<comments>http://www.mudone.com/2011/11/zhangsheng-3/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 03:01:14 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1781</guid>
		<description><![CDATA[Socks方案(Socks可以利用ssh tunnel来建立，不表) 1、利用squid来进行转发: http://sudone.com/linux/squid_privoxy_tor.html 2、利用redsocks(http://darkk.net.ru/redsocks/)来转发，相关链接： Setup iptables for RedSocks in OpenWRT : https://gist.github.com/1097210/796886ba50978ca2426d7bedafd61076858b2c64 http://www.right.com.cn/forum/viewthread.php?action=printable&#038;tid=40111 http://bjin.posterous.com/redsocks-on-android http://shell909090.com/blog/ (这里有一些openwrt相关的东东) http://blog.zhuli.name/archives/6690 http://www.wy182000.info/2011/08/05/socks%E4%BB%A3%E7%90%86%E7%9A%84%E9%80%8F%E6%98%8E%E5%8C%96%E5%92%8C%E5%8F%AF%E8%B7%AF%E7%94%B1/ ==openwrt相关== http://shell909090.com/blog/2011/09/%E5%90%88%E7%94%A8%E4%B8%A4%E4%B8%AA%E8%B7%AF%E7%94%B1%E5%99%A8%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E6%A1%88/ http://penglei.name/html/100.html (tomato配置VLAN) 其他参考资料: Linux上iptables防火墙的基本应用教程 http://www.vpser.net/security/linux-iptables.html 单网卡Linux利用iptables做网关 http://linux.chinaunix.net/techdoc/net/2007/05/08/957205.shtml Linux下使用单网卡实现nat共享上网 http://zhangruirong.blog.51cto.com/2098188/386947 Linux单网卡实现NAT路由 http://gsion.blog.163.com/blog/static/123056504201162111957875/ 單網卡red hat 7.2 linux利用iptables作為簡單網關的配置 http://fanqiang.chinaunix.net/a1/b1/20020815/060200294_b.html]]></description>
			<content:encoded><![CDATA[<p>Socks方案(Socks可以利用ssh tunnel来建立，不表)<br />
1、利用squid来进行转发:</p>
<p>http://sudone.com/linux/squid_privoxy_tor.html</p>
<p>2、利用redsocks(http://darkk.net.ru/redsocks/)来转发，相关链接：<br />
   Setup iptables for RedSocks in OpenWRT : https://gist.github.com/1097210/796886ba50978ca2426d7bedafd61076858b2c64</p>
<p>http://www.right.com.cn/forum/viewthread.php?action=printable&#038;tid=40111</p>
<p>http://bjin.posterous.com/redsocks-on-android</p>
<p>   http://shell909090.com/blog/ (这里有一些openwrt相关的东东)</p>
<p>http://blog.zhuli.name/archives/6690</p>
<p>http://www.wy182000.info/2011/08/05/socks%E4%BB%A3%E7%90%86%E7%9A%84%E9%80%8F%E6%98%8E%E5%8C%96%E5%92%8C%E5%8F%AF%E8%B7%AF%E7%94%B1/</p>
<p>==openwrt相关==</p>
<p>http://shell909090.com/blog/2011/09/%E5%90%88%E7%94%A8%E4%B8%A4%E4%B8%AA%E8%B7%AF%E7%94%B1%E5%99%A8%E7%9A%84%E5%87%A0%E7%A7%8D%E6%96%B9%E6%A1%88/</p>
<p>http://penglei.name/html/100.html (tomato配置VLAN)</p>
<p>其他参考资料:</p>
<p>Linux上iptables防火墙的基本应用教程</p>
<p>http://www.vpser.net/security/linux-iptables.html</p>
<p>单网卡Linux利用iptables做网关</p>
<p>http://linux.chinaunix.net/techdoc/net/2007/05/08/957205.shtml</p>
<p>Linux下使用单网卡实现nat共享上网</p>
<p>http://zhangruirong.blog.51cto.com/2098188/386947</p>
<p>Linux单网卡实现NAT路由</p>
<p>http://gsion.blog.163.com/blog/static/123056504201162111957875/</p>
<p>單網卡red hat 7.2 linux利用iptables作為簡單網關的配置</p>
<p>http://fanqiang.chinaunix.net/a1/b1/20020815/060200294_b.html</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/11/zhangsheng-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>hp palm veer</title>
		<link>http://www.mudone.com/2011/10/hp-palm-veer/</link>
		<comments>http://www.mudone.com/2011/10/hp-palm-veer/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 16:18:20 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1772</guid>
		<description><![CDATA[弄了一个veer玩。 通过novaterm https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux 可以进入webos终端。。。 剩下的。。 想怎么折腾就怎么折腾吧。。 ====== 系统中自带一个从apt-get分支而来的ipkg包管理工具。 在使用之前需要用: rootfs_open -w 设置rootfs可写。 ====== 相关资源链接： http://www.zoopda.com/forum.php?mod=viewthread&#038;tid=45662]]></description>
			<content:encoded><![CDATA[<p>弄了一个veer玩。<br />
通过novaterm https://developer.palm.com/content/resources/develop/sdk_pdk_download.html#linux<br />
可以进入webos终端。。。<br />
剩下的。。<br />
想怎么折腾就怎么折腾吧。。<br />
======<br />
系统中自带一个从apt-get分支而来的ipkg包管理工具。<br />
在使用之前需要用:<br />
rootfs_open -w 设置rootfs可写。<br />
======<br />
相关资源链接：</p>
<p>http://www.zoopda.com/forum.php?mod=viewthread&#038;tid=45662</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/10/hp-palm-veer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Headless HTML rendering engines</title>
		<link>http://www.mudone.com/2011/08/headless-html-rendering-engines/</link>
		<comments>http://www.mudone.com/2011/08/headless-html-rendering-engines/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 15:44:23 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1759</guid>
		<description><![CDATA[http://www.holovaty.com/writing/headless-html-rendering-engine/ 这篇文章的评论里讨论了各种解决方案。。 Request: Headless HTML rendering engine? Written by Adrian Holovaty on May 2, 2008 Warning: Seriously geeky request ahead! I&#8217;m looking for a way to render arbitrary Web pages &#8212; including CSS and JavaScript &#8212; and access the resulting &#8230; <a href="http://www.mudone.com/2011/08/headless-html-rendering-engines/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.holovaty.com/writing/headless-html-rendering-engine/">http://www.holovaty.com/writing/headless-html-rendering-engine/</a><br />
这篇文章的评论里讨论了各种解决方案。。</p>
<blockquote><p>Request: Headless HTML rendering engine?</p>
<p>Written by Adrian Holovaty on May 2, 2008</p>
<p>Warning: Seriously geeky request ahead!</p>
<p>I&#8217;m looking for a way to render arbitrary Web pages &#8212; including CSS and JavaScript &#8212; and access the resulting DOM tree programatically, i.e., in an automated/headless fashion. I want to be able to ask the following questions of the resulting DOM tree:</p>
<p>For a given element, what font family, size, and color is the text?<br />
How tall and wide (in pixels) is a given</p>
<div>,<br />
, etc.? What are the x/y coordinates of a given element (from the upper-left corner of the page, or lower-left, or wherever)? For a given element, what is its text content?</div>
<p>The rendering must be state-of-the-art, handling advanced CSS that Firefox, Safari and IE handle. It should work on Linux. Bonus points if there&#8217;s a Python API for this magical DOM tree.</p>
<p>This is all stuff that standard in-page JavaScript could accomplish, but the catch with me is that I need to be able to do it in a completely automated way, on arbitrary pages, on a headless server.</p>
<p>I know Gecko and Webkit provide this, but I&#8217;m not sure where to start with them. The docs and articles I&#8217;ve read seem to be focused more on embedding the full browser window in a GUI application than embedding the rendering engine itself and manipulating the resulting pages.</p>
<p>Help! If you have any clues, I&#8217;d be grateful if you left a comment or got in touch with me.<br />
Comments<br />
Posted by Andrew Sutherland on May 2, 2008 at 2:45 a.m.:</p>
<p>PyXPCOM (http://developer.mozilla.org/en/docs/PyXPCOM) should handle the Python part of the Gecko equation.</p>
<p>I myself am no specific help on the gecko side of things, but I think the following post/thread on the PyXPCOM mailing list may be of assistance:</p>
<p>http://aspn.activestate.com/ASPN/Mail/Message/pyxpcom/3619998</p>
<p>Posted by Rene Dudfield on May 2, 2008 at 3:19 a.m.:</p>
<p>You can set up a headless X server, then run firefox, or whatever browser with a standard build.<br />
Posted by Michael Twomey on May 2, 2008 at 4:46 a.m.:</p>
<p>If you want an example of using webkit to do headless stuff you could look at webkit2png which is a tool for taking screenshots of websites from command line. It uses webkit and pyobjc, so you&#8217;ll need a mac. It doesn&#8217;t do any DOM stuff that I can see but I might be a useful starting point for writing an automated tool.<br />
Posted by Justin Mason on May 2, 2008 at 5:01 a.m.:</p>
<p>http://khtml2png.sourceforge.net/ might be useful, if you&#8217;re doing this on a *NIX platform. Looks like it&#8217;s well-maintained, too, since the most recent release was only a couple of weeks ago.<br />
Posted by Gábor Farkas on May 2, 2008 at 5:10 a.m.:</p>
<p>in case of firefox, there are 2 issues:</p>
<p>1. run it somehow in a headless mode: for this, try Xvfb. it starts a headless X server. then you can run firefox in it.</p>
<p>2. communicate with the firefox instance. there is PyXPCOM, as others already mentioned, which could make it work.<br />
Posted by Jason on May 2, 2008 at 7:04 a.m.:</p>
<p>If you want to muck in C++ code you could look at RenderTreeAsText in Webkit. For actually setting up the rendering engine, there&#8217;s some relatively simple high-level apis in the wx and qt ports that seem pretty readable; the kind of api you&#8217;d use for those neat &#8220;write a web browser in 5 lines of code&#8221; demos. See WebFrame in particular. Disclaimer: I&#8217;ve never written anything with webkit, but it might be fun to learn.<br />
Posted by anonymous on May 2, 2008 at 8:15 a.m.:</p>
<p>What about Selenium? or Watir?<br />
Posted by anonymous on May 2, 2008 at 8:50 a.m.:</p>
<p>I haven&#8217;t tried this (but am planning to), so I don&#8217;t know if it really meets your needs, but HTMLUnit is a Java-based headless browser (designed for testing).<br />
Posted by anonymous on May 2, 2008 at 10:15 a.m.:</p>
<p>Attributes such as pixel width, height, font etc will either be determined by CSS, or they will be agent (and user setup) specific.</p>
<p>The pixel width of a div of width 50% will depend on the size of the viewport &#8211; which of course would be anything. Do you intend to &#8216;fake&#8217; the settings of a user agent? If so, then a simple calculation would get the pixel width (as you would know your viewport dimensions).</p>
<p>I really would consider seeing how far you can get by simply manipulating the dom and parsing the css (both of which are easily achieved with the python libraries urllib, lxml / beautifulsoup and cssutils).</p>
<p>I know, I know; None of this helps with javascript dependent attributes.</p>
<p>RC<br />
Posted by alan taylor on May 2, 2008 at 10:36 a.m.:</p>
<p>Have you looked at JSSh? Not sure if it fits the bill, but it just might &#8211; it&#8217;s a &#8220;Mozilla C++ extension module that allows other programs (such as telnet) to establish JavaScript shell connections to a running Mozilla process via TCP/IP&#8221; I know it can return some parts of the DOM, but not sure how much detailed info you can get beack from it. http://www.croczilla.com/jssh<br />
Posted by Matthew Marshall on May 2, 2008 at 10:42 a.m.:</p>
<p>I&#8217;ve played with doing this a little. The best I came up with was using PyKDE and khtml. I&#8217;m pretty sure it requires an X server, but if nothing else you could use a vnc server.</p>
<p>MWM<br />
Posted by Kumar McMillan on May 2, 2008 at 11:40 a.m.:</p>
<p>There are probably several ways to do it, but the first that comes to mind is using the Python driver for Selenium RC &#8230;</p>
<p>from selenium import selenium</p>
<p># with the selenium-rc (Java) proxy sever running at localhost:4444 &#8230;</p>
<p>selenium = selenium(&#8220;localhost&#8221;, 4444, &#8220;*firefox&#8221;, &#8220;http://thewebsite.com&#8221;)</p>
<p>selenium.open(&#8220;/&#8221;)</p>
<p>selenium.wait_for_page_to_load(&#8217;30000&#8242;)</p>
<p>selenium.get_html_source() # this is includes any JavaScript DOM manipulations, of course</p>
<p>selenium.get_element_position_left(&#8220;xpath=//div[1]&#8220;)</p>
<p>selenium.get_element_position_top(&#8220;xpath=//div[1]&#8220;)</p>
<p>selenium.get_element_height(&#8220;xpath=//table[1]&#8220;)</p>
<p>selenium.capture_screenshot(&#8216;/tmp/site.png&#8217;)</p>
<p>&#8230; but I&#8217;m not sure how you get the font/text info. Selenium RC is designed to run headless and also has a &#8220;grid&#8221; implementation so you can throw more hardware at it. Scaling up to the grid is very transparent &#8212; same code as above, more or less.</p>
<p>Links:</p>
<p>http://selenium-rc.openqa.org/</p>
<p>http://selenium-rc.openqa.org/python.html</p>
<p>http://selenium-grid.openqa.org/</p>
<p>Posted by anonymous on May 2, 2008 at 12:02 p.m.:</p>
<p>seconding the jssh suggestion http://www.urbanhonking.com/ideasfordozens/archives/2008/03/automating_fire.html<br />
Posted by Ryan Shaw on May 2, 2008 at 12:26 p.m.:</p>
<p>You might want to check out Crowbar:</p>
<p>Crowbar is a web scraping environment based on the use of a server-side headless mozilla-based browser. Its purpose is to allow running javascript scrapers against a DOM to automate web sites scraping but avoiding all the syntax normalization issues.<br />
Posted by mikeal on May 2, 2008 at 1:49 p.m.:</p>
<p>I would go with windmill over Selenium if you&#8217;re going down that road. We have far more comprehensive javascript support, you can use execJS to get back the result of any arbitrary js.</p>
<p>http://windmill.osafoundation.org</p>
<p>And jssh is great, but MozRepl is jssh on crack.</p>
<p>http://hyperstruct.net/projects/mozrepl</p>
<p>The whole interface is much much nicer and I&#8217;m in the middle of a Python JavaScript bridge using MozRepl that I&#8217;ll be sure to send you a link to once it&#8217;s public.<br />
Posted by Henning on May 2, 2008 at 2:29 p.m.:</p>
<p>Qt 4.4 is available on all platforms and contains a WebKit port. Fortunately the newest PyQt snapshots also contain support for WebKit. Because Qt can render every widget to a pixmap, is should be fairly easy. To run Qt headless you could use xvfb.</p>
<p>To access the DOM you can query with Javascript.</p>
<p>The following is _not_ tested:</p>
<p>from PyQt4.QtCore import *</p>
<p>from PyQt4.QtGui import *</p>
<p>from PyQt4.QtWebKit import *</p>
<p>import sys</p>
<p>app = QApplication(sys.argv)</p>
<p>browser = QWebView()</p>
<p>browser.show()</p>
<p>browser.resize(800,600)</p>
<p>#browser.setHtml(&#8220;Hello, world&#8221;)</p>
<p>browser.load(&#8220;http:///www.djangoproject.com&#8221;)</p>
<p>pm = QPixmap.grabWidget(browser)</p>
<p>pm.save(&#8220;website.jpg&#8221;)</p>
<p>body = browser().page().mainFrame().evaluateJavaScript(&#8220;getElementByName(&#8216;body&#8217;)&#8221;)<br />
Posted by anonymous on May 2, 2008 at 6:08 p.m.:</p>
<p>HTMLUnit is a very good headless browswer implementation. It supports different browsers and Jacascript (using Rhino I think). And finally, is under active development.</p>
<p>http://htmlunit.sourceforge.net/</p>
<p>Unfortuantely, its a Java library but you could use jpython to access it.<br />
Posted by anonymous on May 2, 2008 at 6:12 p.m.:</p>
<p>I looked at a few open source projects to do headless rendering.</p>
<p>It&#8217;s tempting to use firefox/gecko but the learning curve is steep,</p>
<p>it&#8217;s 2 mln lines of netscape legacy C++ code.</p>
<p>But if you figure it out you&#8217;ll have a fine tool.</p>
<p>What is working for me now is lobo renderer (from cobra browser) (in java).</p>
<p>It&#8217;s not the best rendering engine, but it&#8217;s decent, and easy to program.</p>
<p>You can get rendered blocks and dom objects, and answer all the questions</p>
<p>as to block location, color, text etc.</p>
<p>It can be made to work on linux completely headless without an x server,</p>
<p>the way I have it working is it takes in a url or html, and saves to another</p>
<p>textual file format. What&#8217;s important is to encapsulate your choice</p>
<p>of rendering engine, because it will change.</p>
<p>Email me at dmitrim at yahoo dot com if you need help.<br />
Posted by Phil on May 2, 2008 at 7:31 p.m.:</p>
<p>Personally I&#8217;d try it with MozRepl and an X virtual framebuffer: http://emacspeak.blogspot.com/2007/06/firebox-put-fox-in-box.html<br />
Posted by Daniel on May 2, 2008 at 7:46 p.m.:</p>
<p>As suggested above, run firefox on a virtual X server. Use a firefox extension (mozrepl or jssh) to get automated control over the browser.</p>
<p>I set up a system doing exactly this (for taking screenshots) last summer. In the end it barely took any code, just a fair amount of faffing with config files. Happy to give more details if it&#8217;s helpful: (my first name) at ohuiginn.net<br />
Posted by rex on May 3, 2008 at 8:44 a.m.:</p>
<p>I went throught trying to work out a way to do this ages ago.</p>
<p>Not sure if you&#8217;re feeling the same, Adrian, but what bothered me (purely from a principle level) was that I really wanted to be able to do this on my server _without_ having to run a headless X server, or an instance of firefox or whatever.. i wanted a library that was able to do it.. and give back my responses without having the uneccessary overhead of a browser, x server etc running (i know very little about it&#8230; but i can&#8217;t help but feel that these are uneccessary elements in the equation).</p>
<p>Surely there is a way to do what you&#8217;re asking without having a program running that is designed to actually render the pictures on a screen&#8230; *shrug*<br />
Posted by anonymous on May 5, 2008 at 4:55 a.m.:</p>
<p>rex: Rendering HTML nowadays is a heavy complex task. So there is no light library, unfortunately. It sounds like using PyQt is the smartest approach because it does not load a full appliaction but only a rendering engine you can fully control. Having a dummy X-server on Unix seems to be a necessary evil.<br />
Posted by Eric Moritz on May 5, 2008 at 3:50 p.m.:</p>
<p>I was thinking of this very issue a while back:</p>
<p>http://eric.themoritzfamily.com/2008/02/08/python-interface-mozilla-dom/</p>
<p>I came across this guy&#8217;s post:</p>
<p>http://ejohn.org/blog/bringing-the-browser-to-the-server/</p>
<p>He&#8217;s using Rhino and some custom javascript to emulate the browser&#8217;s window object.<br />
Posted by John Herren on May 13, 2008 at 1:20 a.m.:</p>
<p>Rhino ftw</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/08/headless-html-rendering-engines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>2010总结</title>
		<link>http://www.mudone.com/2011/01/2010/</link>
		<comments>http://www.mudone.com/2011/01/2010/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 16:23:32 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1662</guid>
		<description><![CDATA[换了个城市待着。 空气蛮好。 大家也不错。 事情在一直往前推动。]]></description>
			<content:encoded><![CDATA[<p>换了个城市待着。<br />
空气蛮好。<br />
大家也不错。</p>
<p>事情在一直往前推动。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2011/01/2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kindle</title>
		<link>http://www.mudone.com/2010/12/kindle/</link>
		<comments>http://www.mudone.com/2010/12/kindle/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 03:45:22 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/2010/12/17/kindle/</guid>
		<description><![CDATA[It&#8217;s kindle Posted with WordPress for BlackBerry.]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s kindle
<p><a href="http://www.mudone.com/wp-content/uploads/2010/12/IMG_20101217_105333.jpg"><img src="http://www.mudone.com/wp-content/uploads/2010/12/IMG_20101217_105333-300x225.jpg" alt="" title="IMG_20101217_105333.jpg" width="300" height="225" class="alignnone size-medium wp-image-1635" /></a></p>
<p>Posted with WordPress for BlackBerry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2010/12/kindle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>姜文</title>
		<link>http://www.mudone.com/2010/12/jiangwen/</link>
		<comments>http://www.mudone.com/2010/12/jiangwen/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 10:59:30 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1630</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mudone.com/wp-content/uploads/2010/12/jiangwen_1.jpg"><img src="http://www.mudone.com/wp-content/uploads/2010/12/jiangwen_1.jpg" alt="" title="jiangwen_1" width="300" height="332" class="alignnone size-full wp-image-1631" /></a></p>
<p><a href="http://www.mudone.com/wp-content/uploads/2010/12/jiangwen_2.jpg"><img src="http://www.mudone.com/wp-content/uploads/2010/12/jiangwen_2.jpg" alt="" title="jiangwen_2" width="400" height="257" class="alignnone size-full wp-image-1632" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2010/12/jiangwen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kindle 3 到手</title>
		<link>http://www.mudone.com/2010/12/kindle-3/</link>
		<comments>http://www.mudone.com/2010/12/kindle-3/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 03:54:00 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1624</guid>
		<description><![CDATA[非常棒，谢谢 Xueyan 。 晚点放使用心得。。]]></description>
			<content:encoded><![CDATA[<p>非常棒，谢谢 <a href="http://blog.sina.com.cn/marobou" target="_blank">Xueyan</a> 。<br />
晚点放使用心得。。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2010/12/kindle-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>不浮躁</title>
		<link>http://www.mudone.com/2010/11/%e4%b8%8d%e6%b5%ae%e8%ba%81/</link>
		<comments>http://www.mudone.com/2010/11/%e4%b8%8d%e6%b5%ae%e8%ba%81/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 15:43:05 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1614</guid>
		<description><![CDATA[不浮躁]]></description>
			<content:encoded><![CDATA[<p>不浮躁</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2010/11/%e4%b8%8d%e6%b5%ae%e8%ba%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>unhappy &amp; 抑郁</title>
		<link>http://www.mudone.com/2010/10/unhappy-%e6%8a%91%e9%83%81/</link>
		<comments>http://www.mudone.com/2010/10/unhappy-%e6%8a%91%e9%83%81/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 02:14:46 +0000</pubDate>
		<dc:creator>me</dc:creator>
				<category><![CDATA[雕刻时光]]></category>

		<guid isPermaLink="false">http://www.mudone.com/?p=1608</guid>
		<description><![CDATA[最近看到一部电影里的字幕将 unhappy 翻译成 抑郁，觉得有点意思，于是就翻开词典看了一下。 查看了一下iciba的“抑郁”翻译：depressed; despondent; gloomy。 depressed ： adj. 1. 精神不振的,忧伤的,消沉的2. 患抑郁症的3. 经济萧条的,不景气的4. (中间部分)凹下的5. 低于一般水准的；降低了的；削弱了的 despondent adj. 1. 沮丧的,泄气的 gloomy adj. 1. 黑暗的, 阴暗的2. 令人沮丧的, 令人失望的3. 前景黯淡的；悲观的 不过这三个更多是书面语的意味。 unhappy 之于抑郁，字面解释很简单：“不快乐”。 所以，快乐才是好的。。。 参考链接：http://www.thefreedictionary.com/unhappy ==纯解释性文字，不说明个人的心理状态== 定个目标吧，考个雅思？嗯，可以！]]></description>
			<content:encoded><![CDATA[<p>最近看到一部电影里的字幕将 unhappy 翻译成 抑郁，觉得有点意思，于是就翻开词典看了一下。</p>
<p>查看了一下iciba的“抑郁”翻译：depressed; despondent; gloomy。</p>
<blockquote><p>depressed ：<br />
adj.<br />
1. 精神不振的,忧伤的,消沉的2. 患抑郁症的3. 经济萧条的,不景气的4. (中间部分)凹下的5. 低于一般水准的；降低了的；削弱了的 </p></blockquote>
<blockquote><p>despondent<br />
adj.<br />
1. 沮丧的,泄气的</p></blockquote>
<blockquote><p>gloomy<br />
adj.<br />
1. 黑暗的, 阴暗的2. 令人沮丧的, 令人失望的3. 前景黯淡的；悲观的</p></blockquote>
<p>不过这三个更多是书面语的意味。</p>
<p>unhappy 之于抑郁，字面解释很简单：“不快乐”。</p>
<p>所以，快乐才是好的。。。</p>
<p>参考链接：<a href="http://www.thefreedictionary.com/unhappy" target="_blank">http://www.thefreedictionary.com/unhappy</a></p>
<p>==纯解释性文字，不说明个人的心理状态==</p>
<p>定个目标吧，考个雅思？嗯，可以！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mudone.com/2010/10/unhappy-%e6%8a%91%e9%83%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

