Permalink
Browse files

finalized the chinese version for the launch tomorrow

  • Loading branch information...
1 parent 294ec74 commit 35dc838199f483577b45e618dd3fb2c8bbd878f8 @manuelkiessling committed Nov 8, 2011
Showing with 45 additions and 119 deletions.
  1. +22 −0 buy-chinese/index.html
  2. +23 −119 index-zh-cn.html
  3. BIN the_node_beginner_book_cover_medium_chinese.png
@@ -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>
View
@@ -4,8 +4,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Node入门 » A comprehensive Node.js tutorial</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" />
+ <title>Node入门 » 一本全面的Node.js教程</title>
+ <meta name="description" content="一本适合Node.js初学者的全面教程:教你如何使用服务端JavaScript来构建一个完整的web应用" />
<style type="text/css">
body {
@@ -98,8 +98,7 @@
display: table-cell;
padding-right: 0px;
padding-left: 16px;
- vertical-align: top;
- align: center;
+ vertical-align: middle;
color: #bbb;
}
@@ -130,13 +129,13 @@
.buy-the-bundle .buy {
display: table-cell;
- vertical-align: top;
+ vertical-align: middle;
color: #bbb;
}
.buy-the-bundle .button {
+ display: inline-block;
padding: 8px;
- margin-top: 26px;
width: 140px;
border: 1px solid #444;
border-radius: 6px;
@@ -475,47 +474,31 @@
<div class="buy-the-bundle">
<div class="cover">
- <p>
- 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>
+ <a href="/buy-chinese/"><img src="the_node_beginner_book_cover_medium_chinese.png" height="120" width="80" /></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>)
+ <strong>购买“Node入门”中文版电子书</strong>
+ </p>
+ <p>
+ <strong class="price dollarsign">$</strong><strong class="price">4.99</strong>
</p>
+ <p>
+ <a class="buttonlink" href="/buy-chinese/">
+ <div class="button">Buy now</div>
+ </a>
+ </p>
</div>
<div class="buy">
<p>
- 226 pages in total
- <br />
- PDF, ePub & MOBI
+ 本书共42页
<br />
- Direct download
+ 支持PDF格式,Kindle以及ePub格式
<br />
- Free updates
+ 直接下载,免费更新
</p>
- <a class="buttonlink" href="/buy-bundle/">
- <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="book">
<h1>Node入门</h1>
@@ -957,7 +940,7 @@
class="pln"> </span><span class="str">"Hello"</span><span class="pun">);</span></pre>
<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>
@@ -3022,101 +3005,22 @@
</p>
</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 class="praise">
<div class="comment">
- "This is an amazing introduction to Node."
- </div>
- <div class="author">
- Ryan Dahl, creator of Node.js
+ “这是我读过最好的教程之一。此前作为一名Java程序员,我总觉得JavaScript像妖术,但在这教程中,你真的把它讲解的浅显易懂。”
</div>
</div>
<div class="praise">
<div class="comment">
- "I love nodebeginner.org - concise, direct to the point and
- even enjoyable to read."
+ “真的忍不住要感谢你这么好的node入门教程,内容非常精彩。”
</div>
- <div class="author">Gojko Adzic, author of <em>Specification by Example</em> and <em>Bridging the Communication Gap</em></div>
</div>
<div class="praise">
<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>
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.