Skip to content

Commit

Permalink
finalized the chinese version for the launch tomorrow
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelkiessling committed Nov 8, 2011
1 parent 294ec74 commit 35dc838
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 119 deletions.
22 changes: 22 additions & 0 deletions buy-chinese/index.html
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Refresh" content="1; http://leanpub.com/nodebeginner-chinese" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-2127388-6']);
_gaq.push(['_trackPageview']);

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<a href="http://leanpub.com/nodebeginner-chinese">正在前往电子书购买页面……</a>
</body>
</html>
142 changes: 23 additions & 119 deletions index-zh-cn.html
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />


<title>Node入门 » A comprehensive Node.js tutorial</title> <title>Node入门 » 一本全面的Node.js教程</title>
<meta name="description" content="A comprehensive Node.js tutorial for beginners: Learn how to build a full blown web application with server-side JavaScript" /> <meta name="description" content="一本适合Node.js初学者的全面教程:教你如何使用服务端JavaScript来构建一个完整的web应用" />


<style type="text/css"> <style type="text/css">
body { body {
Expand Down Expand Up @@ -98,8 +98,7 @@
display: table-cell; display: table-cell;
padding-right: 0px; padding-right: 0px;
padding-left: 16px; padding-left: 16px;
vertical-align: top; vertical-align: middle;
align: center;
color: #bbb; color: #bbb;
} }


Expand Down Expand Up @@ -130,13 +129,13 @@


.buy-the-bundle .buy { .buy-the-bundle .buy {
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: middle;
color: #bbb; color: #bbb;
} }


.buy-the-bundle .button { .buy-the-bundle .button {
display: inline-block;
padding: 8px; padding: 8px;
margin-top: 26px;
width: 140px; width: 140px;
border: 1px solid #444; border: 1px solid #444;
border-radius: 6px; border-radius: 6px;
Expand Down Expand Up @@ -475,47 +474,31 @@


<div class="buy-the-bundle"> <div class="buy-the-bundle">
<div class="cover"> <div class="cover">
<p> <a href="/buy-chinese/"><img src="the_node_beginner_book_cover_medium_chinese.png" height="120" width="80" /></a>
The perfect introduction plus the perfect reference in one bundle!
</p>
<a href="/buy-bundle/"><img src="the_node_beginner_book_cover_small.png" height="86" width="57" /></a>
<a href="/buy-bundle/"><img src="hands-on_node.js_cover.png" height="86" width="57" /></a>
</div> </div>
<div class="description"> <div class="description">
<p> <p>
LeanBundle currently offers <strong>购买“Node入门”中文版电子书</strong>
the final version of </p>
<br /> <p>
<strong>The Node Beginner Book</strong> <strong class="price dollarsign">$</strong><strong class="price">4.99</strong>
<br />
plus Pedro Teixeira's excellent
<br />
<strong>Hands-on Node.js</strong> for only
<br />
<br />
<strong class="price dollarsign">$</strong><strong class="price">7.99</strong>
<br />
(regular price <del>$10.98</del>)
</p> </p>
<p>
<a class="buttonlink" href="/buy-chinese/">
<div class="button">Buy now</div>
</a>
</p>
</div> </div>
<div class="buy"> <div class="buy">
<p> <p>
226 pages in total 本书共42页
<br />
PDF, ePub & MOBI
<br /> <br />
Direct download 支持PDF格式,Kindle以及ePub格式
<br /> <br />
Free updates 直接下载,免费更新
</p> </p>
<a class="buttonlink" href="/buy-bundle/">
<div class="button">Buy this<br />bundle now</div>
</a>
</div> </div>
</div> </div>
<div class="buy-the-ebook">
If you would like to only buy <em>The Node Beginner Book</em>, it's available for only <strong>$4.99</strong> at <a href="buy/">http://Leanpub.com/NodeBeginner</a>.
</div>


<div id="book"> <div id="book">
<h1>Node入门</h1> <h1>Node入门</h1>
Expand Down Expand Up @@ -957,7 +940,7 @@ <h3>进行函数传递</h3>
class="pln"> </span><span class="str">"Hello"</span><span class="pun">);</span></pre> class="pln"> </span><span class="str">"Hello"</span><span class="pun">);</span></pre>


<p> <p>
请仔细阅读这段代码!在这里,我们把 <em>say</em> 函数作为<em>execute</em>函数的第一个变量进行了传递。这里返回的不是 <em>say</em> 的值,而是 <em>say</em> 本身! 请仔细阅读这段代码!在这里,我们把 <em>say</em> 函数作为<em>execute</em>函数的第一个变量进行了传递。这里返回的不是 <em>say</em> 的返回值,而是 <em>say</em> 本身!
</p> </p>


<p> <p>
Expand Down Expand Up @@ -3022,101 +3005,22 @@ <h2>总结与展望</h2>
</p> </p>
</div> </div>


<div class="buy-the-bundle">
<div class="cover">
<p>
The perfect introduction plus the perfect reference in one bundle!
</p>
<a href="/buy-bundle-bottom/"><img src="the_node_beginner_book_cover.png" height="86" width="57" /></a>
<a href="/buy-bundle-bottom/"><img src="hands-on_node.js_cover.png" height="86" width="57" /></a>
</div>
<div class="description">
<p>
LeanBundle currently offers
the final version of
<br />
<strong>The Node Beginner Book</strong>
<br />
plus Pedro Teixeira's excellent
<br />
<strong>Hands-on Node.js</strong> for only
<br />
<br />
<strong class="price dollarsign">$</strong><strong class="price">7.99</strong>
<br />
(regular price <del>$10.98</del>)
</p>
</div>
<div class="buy">
<p>
226 pages in total
<br />
PDF, ePub & MOBI
<br />
Direct download
<br />
Free updates
</p>
<a class="buttonlink" href="/buy-bundle-bottom/">
<div class="button">Buy this<br />bundle now</div>
</a>
</div>
</div>
<div class="buy-the-ebook">
If you would like to only buy <em>The Node Beginner Book</em>, it's available for only <strong>$4.99</strong> at <a href="buy/">http://Leanpub.com/NodeBeginner</a>.
</div>


<div id="praise"> <div id="praise">
<div class="praise"> <div class="praise">
<div class="comment"> <div class="comment">
"This is an amazing introduction to Node." “这是我读过最好的教程之一。此前作为一名Java程序员,我总觉得JavaScript像妖术,但在这教程中,你真的把它讲解的浅显易懂。”
</div>
<div class="author">
Ryan Dahl, creator of Node.js
</div> </div>
</div> </div>
<div class="praise"> <div class="praise">
<div class="comment"> <div class="comment">
"I love nodebeginner.org - concise, direct to the point and “真的忍不住要感谢你这么好的node入门教程,内容非常精彩。”
even enjoyable to read."
</div> </div>
<div class="author">Gojko Adzic, author of <em>Specification by Example</em> and <em>Bridging the Communication Gap</em></div>
</div> </div>
<div class="praise"> <div class="praise">
<div class="comment"> <div class="comment">
"This is one of the best tutorials I've read. “这是为数不多的让我认认真真完整读完的入门教程,只因实在写得太好了”
As a former Java coder, I've always found JavaScript
to be a black art, but you have really simplified
things with this tutorial."
</div>
<div class="author">Erskine, from the comments</div>
</div>
<div class="praise">
<div class="comment">
"This is one of the few beginner articles I made it all the
way through because of how well it's written."
</div>
<div class="author">
Paul Gibler, from the comments
</div>
</div>
<div class="praise">
<div class="comment">
"Indispensable."
</div>
<div class="author">
@lecolibrilibre, on Twitter
</div>
</div>
<div class="praise">
<div class="comment">
"I just wanted to drop you a note to say thank you for
writing such an excellent introduction to node. Your book's
explanation is fantastic, and I can't wait for you to
finish it!"
</div>
<div class="author">
Seth McLaughlin, via eMail
</div> </div>
</div> </div>
</div> </div>
Expand Down
Binary file added the_node_beginner_book_cover_medium_chinese.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 35dc838

Please sign in to comment.