Browse files

update readme and change to Chinese page

  • Loading branch information...
cedricporter committed May 14, 2014
1 parent 49b0fa0 commit 9bda8ddeb89532e13e1b112bc290f6f964a2f58e
Showing with 14 additions and 7 deletions.
  1. +5 −1
  2. +9 −6 templates/short.html
@@ -4,12 +4,16 @@ This is the source code of []( is written by Python with Tornado.
## Generate shorten url
## Generate shorten url interface
curl -d "url="
Return short url if success which starts with `http://`. You can check whether the response is started with `http:` to determine if it is successful.
If fail, it returns error message.
## Install
Copy `etc/` to `etc/` and modify it if necessary.
@@ -9,7 +9,7 @@
<meta name="author" content="Hua Liang">
<link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">
<!-- 最新 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="">
@@ -64,19 +64,21 @@
<div class="container">
<form class="form-signin" role="form" id="applyForm">
<h2 class="form-signin-heading">Url Shorten</h2>
<input type="text" name="url" class="form-control" placeholder="paste url here" required autofocus>
<h2 class="form-signin-heading">163.gs短网址服务</h2>
<input type="text" name="url" class="form-control" placeholder="输入长网址" required autofocus>
<label class="checkbox"> </label>
<span class="help-block" name="ret_msg"></span>
<button class="generateBtn btn btn-lg btn-primary btn-block" type="button">Generate</button>
<button class="generateBtn btn btn-lg btn-primary btn-block" type="button">生成!</button>
<label class="checkbox"> </label>
<p>Powered by <a href="">Stupid ET</a>. <a href="">Fork it</a>.</p>
<p><small>Powered by <a href="">Stupid ET</a>. <a href="">接口文档</a></small></p>
</div> <!-- /container -->
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
@@ -125,3 +127,4 @@ <h2 class="form-signin-heading">Url Shorten</h2>

0 comments on commit 9bda8dd

Please sign in to comment.