2010-10-14 19:39:41 +02:00
|
|
|
<!doctype html>
|
2010-10-20 20:11:15 +02:00
|
|
|
<!--
|
|
|
|
|
|
|
|
Copyright 2010, Google Inc.
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions are
|
|
|
|
met:
|
|
|
|
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
* Redistributions in binary form must reproduce the above
|
|
|
|
copyright notice, this list of conditions and the following disclaimer
|
|
|
|
in the documentation and/or other materials provided with the
|
|
|
|
distribution.
|
|
|
|
* Neither the name of Google Inc. nor the names of its
|
|
|
|
contributors may be used to endorse or promote products derived from
|
|
|
|
this software without specific prior written permission.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
|
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
|
|
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
|
|
|
|
|
-->
|
2010-10-14 19:39:41 +02:00
|
|
|
<html lang="en">
|
2010-05-05 01:21:19 +02:00
|
|
|
<head>
|
2010-10-14 19:39:41 +02:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<title>Google Refine</title>
|
|
|
|
<link rel="icon" type="image/png" href="images/favicon.png">
|
2011-01-03 00:09:08 +01:00
|
|
|
<script type="text/javascript" src="wirings.js"></script>
|
2010-10-14 19:39:41 +02:00
|
|
|
$scriptInjection
|
|
|
|
$styleInjection
|
2010-05-05 01:21:19 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2011-01-03 00:09:08 +01:00
|
|
|
#if($params.new == "1")
|
|
|
|
#set($newStyle = "")
|
|
|
|
#set($oldStyle = "display: none; ")
|
|
|
|
#else
|
|
|
|
#set($oldStyle = "")
|
|
|
|
#set($newStyle = "display: none; ")
|
|
|
|
#end
|
2010-10-14 19:39:41 +02:00
|
|
|
<div id="container">
|
2010-10-15 09:54:14 +02:00
|
|
|
<div id="logo"> </div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div id="header-home">
|
|
|
|
<img alt="Google Refine" src="images/logo-googlerefine-40.png" />
|
|
|
|
<h1>A power tool for working with messy data.</h1>
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div id="content-home">
|
2010-10-27 07:20:48 +02:00
|
|
|
<div id="no-project-message" class="message" style="display: none;">
|
|
|
|
No existing project. Create one now!<br/>
|
|
|
|
Try these <a href="http://code.google.com/p/google-refine/wiki/SampleDatasets" target="_blank">sample data sets »</a>
|
|
|
|
</div>
|
|
|
|
|
2010-10-14 19:39:41 +02:00
|
|
|
<div id="project-open">
|
|
|
|
<h1>Open a Project</h1>
|
|
|
|
<div id="projects-container"></div>
|
2010-10-19 07:46:48 +02:00
|
|
|
<div class="content-block-footer"><a href="javascript:openWorkspaceDir()" class="secondary">Browse workspace directory</a></div>
|
2010-10-14 19:39:41 +02:00
|
|
|
</div>
|
|
|
|
<div id="project-create">
|
2011-01-03 00:09:08 +01:00
|
|
|
<h1 style="$newStyle">Create a New Project</h1>
|
|
|
|
<div style="$newStyle" id="import-panel"><table id="import-panel-layout">
|
|
|
|
<tr>
|
|
|
|
<td id="import-panel-tab-headers">
|
|
|
|
<div>Import data from</div>
|
|
|
|
</td>
|
|
|
|
<td id="import-panel-tab-bodies"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td colspan="2" id="import-panel-message">
|
|
|
|
<h3>What kinds of data files can I import?</h3>
|
|
|
|
<div>TSV, CSV, *SV, Excel (.xls and .xlsx), JSON, XML, RDF as XML, and
|
|
|
|
Google Spreadsheets are all supported. Support for other formats can
|
|
|
|
be added with Refine extensions.
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table></div>
|
|
|
|
|
|
|
|
<div style="$newStyle" id="import-progress-panel">
|
|
|
|
<div class="grid-layout layout-normal layout-full"><table>
|
|
|
|
<tr><td colspan="3" id="import-progress-message"></td></tr>
|
|
|
|
<tr><td colspan="3">
|
|
|
|
<div id="import-progress-bar-frame"><div id="import-progress-bar-body"></div></div>
|
|
|
|
</td></tr>
|
|
|
|
<tr>
|
|
|
|
<td id="import-progress-message-left"></td>
|
|
|
|
<td id="import-progress-message-center"></td>
|
|
|
|
<td id="import-progress-message-right"></td>
|
|
|
|
</tr>
|
|
|
|
<tr><td colspan="3">
|
|
|
|
<button class="button" id="import-progress-cancel-button">Cancel</button>
|
|
|
|
</td></tr>
|
|
|
|
</table></div>
|
|
|
|
<iframe id="import-iframe" name="import-iframe"></iframe>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div style="$newStyle" id="import-error-panel"><div class="grid-layout layout-normal layout-full"><table>
|
|
|
|
<tr><td id="import-error-message"></td></tr>
|
|
|
|
<tr><td id="import-error-stack"></td></tr>
|
|
|
|
<tr><td><button class="button button-primary" id="import-error-ok-button">OK</button></td></tr>
|
|
|
|
</table></div></div>
|
|
|
|
|
|
|
|
<form style="$oldStyle" id="file-upload-form" method="post" enctype="multipart/form-data" action="/command/core/create-project-from-upload" accept-charset="UTF-8">
|
2010-10-14 19:39:41 +02:00
|
|
|
<h1>Create a New Project</h1>
|
|
|
|
<h2 id="project-toggle">
|
|
|
|
<a class="secondary" href="javascript:showHide('file-upload-form', 'project-upload-form')">or Import an Existing Project</a>
|
|
|
|
</h2>
|
|
|
|
<div class="project-create-basic">
|
|
|
|
<table class="form-table">
|
|
|
|
<tr>
|
|
|
|
<th><label for="project-file">Data file:</label></th>
|
|
|
|
<td><input type="file" id="project-file-input" name="project-file" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><label for="project-url">or data file URL:</label></th>
|
|
|
|
<td><input type="text" id="project-url-input" name="project-url" size="40" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><label for="project-name">Project name:</label></th>
|
|
|
|
<td><input type="text" size="25" id="project-name-input" name="project-name" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td><input type="submit" value="Create Project" id="upload-file-button" class="button button-primary" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="project-create-advanced">
|
|
|
|
<h2>Advanced Options</h2>
|
|
|
|
<div class="project-create-option">
|
|
|
|
Limit load to:
|
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input type="text" id="limit-input" name="limit" size="5" /> rows (blank for all)
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div class="project-create-option">
|
|
|
|
Ignore:
|
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input type="text" id="ignore-input" name="ignore" size="5" value="0" /> initial non-blank lines
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="project-create-option">
|
|
|
|
Skip:
|
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input type="text" id="skip-input" name="ignore" size="5" value="0" /> initial data rows
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="project-create-parsetext">
|
|
|
|
<div class="project-create-option">
|
|
|
|
When parsing text files:
|
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input id="split-into-columns-input" type="checkbox" checked="true" name="split-into-columns" />
|
|
|
|
Split into columns
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div class="project-create-suboption">
|
|
|
|
Column separator:
|
|
|
|
<input type="text" id="separator-input" name="separator" size="2" /><br />
|
|
|
|
(leave blank to auto-detect)
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input type="checkbox" id="guess-value-type-input" name="guess-value-type" checked="true" />
|
|
|
|
Auto-detect value types<br />
|
|
|
|
(numbers, dates, etc)
|
|
|
|
</div>
|
|
|
|
<div class="project-create-suboption">
|
|
|
|
Header lines: <input type="text" id="header-lines-input" name="header-lines" size="5" value="1" /><br />
|
|
|
|
(use 0 if your data has no header)
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
<div class="project-create-suboption">
|
|
|
|
<input type="checkbox" id="ignore-quotes-input" name="ignore-quotes" />
|
|
|
|
Ignore quotation marks
|
|
|
|
</div>
|
|
|
|
</div>
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2011-01-03 00:09:08 +01:00
|
|
|
<form style="display: none;" id="project-upload-form" method="post" enctype="multipart/form-data" action="/command/core/import-project" accept-charset="UTF-8" style="display:none;">
|
2010-10-14 19:39:41 +02:00
|
|
|
<h1>Import an Existing Project</h1>
|
|
|
|
<h2 id="project-toggle">
|
|
|
|
<a class="secondary" href="javascript:showHide('project-upload-form', 'file-upload-form')">or Create a New Project</a>
|
|
|
|
</h2>
|
|
|
|
<div class="project-create-basic">
|
|
|
|
<p>Import an existing Google Refine .tar or .tar.gz project file:</p>
|
|
|
|
<table class="form-table">
|
|
|
|
<tr>
|
|
|
|
<th><label for="project-file">Project file:</label></th>
|
|
|
|
<td><input type="file" id="project-tar-file-input" name="project-file" /></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th><label for="project-name">Project name (optional):</label></th>
|
|
|
|
<td><input type="text" size="25" id="project-name-input" name="project-name" /></td></tr>
|
|
|
|
<tr>
|
|
|
|
<td></td>
|
|
|
|
<td><input type="submit" value="Import Project" id="import-project-button" class="button button-primary" /></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="project-links">
|
|
|
|
<ul>
|
|
|
|
<li><a href="/about.html">About Google Refine</a></li>
|
|
|
|
<li><a href="https://code.google.com/p/google-refine/">Project Home Page</a></li>
|
2010-10-25 07:59:00 +02:00
|
|
|
<li><a href="http://code.google.com/p/google-refine/wiki/Screencasts">Screencasts</a></li>
|
2010-10-27 07:20:48 +02:00
|
|
|
<li><a href="http://code.google.com/p/google-refine/wiki/DocumentationForUsers">Help Documentation</a></li>
|
2010-10-14 19:39:41 +02:00
|
|
|
</ul>
|
|
|
|
<div id="google-refine-version"></div>
|
|
|
|
</div>
|
2010-05-05 01:21:19 +02:00
|
|
|
</div>
|
2010-10-14 19:39:41 +02:00
|
|
|
</div>
|
2010-05-05 01:21:19 +02:00
|
|
|
</body>
|
|
|
|
</html>
|