ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1645774 - in /ctakes/site/new: downloads.html images/Thumbs.db js/downloads.js
Date Mon, 15 Dec 2014 22:17:56 GMT
Author: chenpei
Date: Mon Dec 15 22:17:55 2014
New Revision: 1645774

URL: http://svn.apache.org/r1645774
Log:
CTAKES-342 - Add sample downloads page.

Added:
    ctakes/site/new/downloads.html
Modified:
    ctakes/site/new/images/Thumbs.db
    ctakes/site/new/js/downloads.js

Added: ctakes/site/new/downloads.html
URL: http://svn.apache.org/viewvc/ctakes/site/new/downloads.html?rev=1645774&view=auto
==============================================================================
--- ctakes/site/new/downloads.html (added)
+++ ctakes/site/new/downloads.html Mon Dec 15 22:17:55 2014
@@ -0,0 +1,198 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge">
+  <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+  <title>
+     Downloads | Apache cTAKES&trade; - clinical Text Analysis Knowledge Extraction System
+    
+  </title>
+
+  
+
+  <!-- Bootstrap core CSS -->
+  <link href="css/cerulean.min.css" rel="stylesheet">
+  <link href="css/custom.css" rel="stylesheet">
+
+<script type="text/javascript">
+        var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-41673085-1']); _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>
+
+  <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
+  <!--[if lt IE 9]>
+  <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
+  <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
+  <![endif]-->
+</head>
+
+<body>
+
+<script src="https://code.jquery.com/jquery.js"></script>
+<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
+<script src="js/lang-tabs.js"></script>
+<script src="js/downloads.js"></script>
+
+<div class="container" style="max-width: 1200px;">
+
+<div class="masthead">
+  
+    <p class="lead">
+      <a href="/">
+      <img src="http://ctakes.apache.org/images/ctakes_logo.jpg"
+        style="height:100px; width:auto; vertical-align: bottom; margin-top: 15px;"></a><span
class="tagline">
+          clinical Text Analysis Knowledge Extraction System
+      </span>
+    </p>
+  
+</div>
+
+<nav class="navbar navbar-default" role="navigation">
+  <!-- Brand and toggle get grouped for better mobile display -->
+  <div class="navbar-header">
+    <button type="button" class="navbar-toggle" data-toggle="collapse"
+            data-target="#navbar-collapse-1">
+      <span class="sr-only">Toggle navigation</span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+      <span class="icon-bar"></span>
+    </button>
+  </div>
+
+  <!-- Collect the nav links, forms, and other content for toggling -->
+  <div class="collapse navbar-collapse" id="navbar-collapse-1">
+    <ul class="nav navbar-nav">
+      <li><a href="/downloads.html">Download</a></li>
+      <li class="dropdown">
+        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
+          Documentation <b class="caret"></b>
+        </a>
+        <ul class="dropdown-menu">		
+          <li><a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+User+Install+Guide">User
Install Guide</a></li>
+          <li><a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+Developer+Install+Guide">Developer
Install Guide</a></li>
+        </ul>
+      </li>
+      <li><a href="/examples.html">Examples</a></li>
+      <li class="dropdown">
+        <a href="/community.html" class="dropdown-toggle" data-toggle="dropdown">
+          Community <b class="caret"></b>
+        </a>
+        <ul class="dropdown-menu">
+          <li><a href="community.html">Mailing Lists</a></li>
+          <li><a href="community.html#history">Project History</a></li>
+          <li><a href="who.html">Who's Using cTAKES</a></li>
+          <li><a href="comitters.html">Project Committers</a></li>
+          <li><a href="https://issues.apache.org/jira/browse/ctakes">Issue Tracker</a></li>
+        </ul>
+      </li>
+      <li><a href="/resources.html">Resources</a></li>	  	  
+      <li><a href="/blog.html">Blog</a></li>	  
+      <li><a href="/faq.html">FAQ</a></li>
+    </ul>
+  </div>
+  <!-- /.navbar-collapse -->
+</nav>
+
+
+<div class="row">
+  <div class="col-md-3 col-md-push-9">
+    <div class="news" style="margin-bottom: 20px;">
+      <h5>Latest News </h5>
+      <ul class="list-unstyled">
+          <li><a href="news.html">cTAKES 3.2.1 released</a>
+          <span class="small">(Dec 10, 2014)</span></li>
+      </ul>
+      <p class="small" style="text-align: right;"><a href="/news/index.html">Archive</a></p>
+    </div>
+    <div class="hidden-xs hidden-sm">
+      <a href="/downloads.html" class="btn btn-success btn-lg btn-block" style="margin-bottom:
30px;">
+        Download cTAKES
+      </a>
+      <p style="font-size: 16px; font-weight: 500; color: #555;">
+        Key Features:
+      </p>
+      <ul class="list-narrow">
+        <li><a href="components.html#">Syntax and Sematic Parsing</a></li>
+        <li><a href="components.html#">Assertion (Negation, Subject, History)</a></li>
+        <li><a href="components.html#">UMLS Normalization</a></li>
+        <li><a href="components.html#">Temporal (Time) Relations</a></li>
	
+      </ul>
+    </div>
+  </div>
+  
+  <div class="col-md-9 col-md-pull-3">
+    <script type="text/javascript">
+$(document).ready(function() {
+  initDownloads();
+  initReleaseNotes();
+});
+</script>
+
+<h2 id="download-ctakes">Download cTAKES</h2>
+
+<p>The latest release of cTAKES is cTAKES 3.2.1, released on December 10, 2014
+<a href="http://s.apache.org/ctakes-3.2.1-release-notes">(release notes)</a>
+<a href="http://svn.apache.org/repos/asf/ctakes/tags/ctakes-3.2.1-rc2">SVN Tag</a><br
/></p>
+
+<ol>
+  <li>
+    <p>Chose a cTAKES release:
+  <select id="ctakesVersionSelect" onchange="javascript:onVersionSelect();"></select><br
/></p>
+  </li>
+  <li>
+    <p>Chose a package type:
+  <select id="ctakesPackageSelect" onchange="javascript:onPackageSelect();"></select><br
/></p>
+  </li>
+  <li>
+    <p>Chose a download type:
+  <select id="ctakesDownloadSelect" onchange="javascript:onDownloadSelect()"></select><br
/></p>
+  </li>
+  <li>
+    <p>Download cTAKES: <span id="spanDownloadLink"></span></p>
+  </li>
+  <li>
+    <p>Verify this release using the <span id="ctakesDownloadVerify"></span>.</p>
+  </li>
+</ol>
+
+<h3 id="resources-ctakes">Required cTAKES Resources </h3>
+<p>Resources are required to run most of cTAKES. They are available for download from
SourceForge: <a href="http://sourceforge.net/projects/ctakesresources/files/ctakes-resources-3.2.1.1-bin.zip/download">ctakes-resources-3.2.1.1-bin.zip.</a></p>
+<p>Please download, unzip and add/merge the contents to the existing resources directory.
Follow the <a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+User+Install+Guide">User</a>
or <a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+3.2+Developer+Install+Guide">Developer</a>
Install Guide to direct you through the installation process.</p>
+
+<h3 id="link-with-ctakes">Link with cTAKES</h3>
+<p>cTAKES artifacts are <a href="http://search.maven.org/#search%7Cga%7C1%7Cctakes">hosted
in Maven Central</a>. You can add a Maven dependency with the following coordinates:</p>
+
+<pre><code>groupId: org.apache.ctakes
+artifactId: ctakes-clinical-pipeline
+version: 3.2.1
+</code></pre>
+
+<h3 id="development-and-maintenance-branches">Development and Maintenance Branches</h3>
+<p>If you are interested in working with the newest under-development code or contributing
to cTAKES development, you can also check out the trunk branch from svn:</p>
+
+<pre><code># Trunk
+svn co https://svn.apache.org/repos/asf/ctakes/trunk/
+</code></pre>
+
+<p>Once you&#8217;ve downloaded cTAKES, you can find instructions for installing
and building it on the <a href="/documentation.html">documentation page</a>.</p>
+
+<h3 id="all-releases">All Releases</h3>
+<ul id="ctakesReleaseNotes">
+</ul>
+
+  </div>
+</div>
+
+
+
+<footer class="small">
+  <hr>
+  Apache cTAKES, cTAKES, Apache, and the cTAKES logo are trademarks of
+  <a href="http://www.apache.org">The Apache Software Foundation</a>.
+</footer>
+
+</div>
+
+</body>
+</html>

Modified: ctakes/site/new/images/Thumbs.db
URL: http://svn.apache.org/viewvc/ctakes/site/new/images/Thumbs.db?rev=1645774&r1=1645773&r2=1645774&view=diff
==============================================================================
Binary files - no diff available.

Modified: ctakes/site/new/js/downloads.js
URL: http://svn.apache.org/viewvc/ctakes/site/new/js/downloads.js?rev=1645774&r1=1645773&r2=1645774&view=diff
==============================================================================
--- ctakes/site/new/js/downloads.js (original)
+++ ctakes/site/new/js/downloads.js Mon Dec 15 22:17:55 2014
@@ -1,4 +1,4 @@
-// Script for generating Spark download links
+// Script for generating ctakes download links
 // No dependencies; pure javascript.
 
 releases = {};
@@ -7,7 +7,7 @@ function addRelease(version, releaseDate
   releases[version] = {released: releaseDate, packages: packages, downloadable: downloadable};
 }
 
-var sources = {pretty: "Source Code [can build several Hadoop versions]", tag: "sources"};
+var sources = {pretty: "Source Code", tag: "sources"};
 var hadoop1 = {pretty: "Pre-built for Hadoop 1.X", tag: "hadoop1"};
 var cdh4 = {pretty: "Pre-built for CDH 4", tag: "cdh4"};
 var hadoop2 = {pretty: "Pre-built for Hadoop 2.2", tag: "hadoop2"};
@@ -26,19 +26,9 @@ var packagesV3 = packagesV2.concat([mapr
 // 1.1.0+
 var packagesV4 = packagesV1.concat([hadoop2p3, hadoop2p4, mapr3, mapr4]);
 
-addRelease("1.1.1", new Date("11/26/2014"), packagesV4, true);
-addRelease("1.1.0", new Date("9/11/2014"), packagesV4, true);
-addRelease("1.0.2", new Date("8/5/2014"), packagesV3, true);
-addRelease("1.0.1", new Date("7/11/2014"), packagesV3);
-addRelease("1.0.0", new Date("5/30/2014"), packagesV2);
-addRelease("0.9.2", new Date("7/23/2014"), packagesV2, true);
-addRelease("0.9.1", new Date("4/9/2014"), packagesV2);
-addRelease("0.9.0-incubating", new Date("2/2/2014"), packagesV2);
-addRelease("0.8.1-incubating", new Date("12/19/2013"), packagesV2, true);
-addRelease("0.8.0-incubating", new Date("9/25/2013"), packagesV1, true);
-addRelease("0.7.3", new Date("7/16/2013"), packagesV1, true);
-addRelease("0.7.2", new Date("2/6/2013"), packagesV1);
-addRelease("0.7.0", new Date("2/27/2013"), sources);
+addRelease("3.2.1", new Date("12/10/2014"), packagesV4, true);
+addRelease("3.2.0", new Date("9/11/2014"), packagesV4, true);
+addRelease("3.1.2", new Date("8/5/2014"), packagesV3, true);
 
 function append(el, contents) {
   el.innerHTML = el.innerHTML + contents;
@@ -55,7 +45,7 @@ function getSelectedValue(selectEl) {
 function versionShort(version) { return version.replace(/-incubating/, ""); }
 
 function initDownloads() {
-  var versionSelect = document.getElementById("sparkVersionSelect");
+  var versionSelect = document.getElementById("ctakesVersionSelect");
 
   // Populate versions
   for (var version in releases) {
@@ -74,11 +64,11 @@ function initDownloads() {
 }
 
 function initReleaseNotes() {
-  var releaseNotes = document.getElementById("sparkReleaseNotes");
+  var releaseNotes = document.getElementById("ctakesReleaseNotes");
   for (var version in releases) {
     var releaseDate = releases[version].released;
     var verShort = versionShort(version);
-    var contents = "<li><a href='releases/spark-release-$verUrl.html'>Spark $ver</a>
($date)</li>"
+    var contents = "<li><a href='releases/ctakes-release-$verUrl.html'>ctakes
$ver</a> ($date)</li>"
       .replace(/\$verUrl/, verShort.replace(/\./g, "-"))
       .replace(/\$ver/, verShort)
       .replace(/\$date/, releaseDate.toDateString().slice(4))
@@ -87,9 +77,9 @@ function initReleaseNotes() {
 }
 
 function onVersionSelect() {
-  var versionSelect = document.getElementById("sparkVersionSelect");
-  var packageSelect = document.getElementById("sparkPackageSelect");
-  var verifyLink = document.getElementById("sparkDownloadVerify");
+  var versionSelect = document.getElementById("ctakesVersionSelect");
+  var packageSelect = document.getElementById("ctakesPackageSelect");
+  var verifyLink = document.getElementById("ctakesDownloadVerify");
 
   empty(packageSelect);
   empty(verifyLink);
@@ -103,7 +93,7 @@ function onVersionSelect() {
     append(packageSelect, option);
   }
 
-  var href = "http://www.apache.org/dist/spark/spark-" + version + "/";
+  var href = "http://www.apache.org/dist/ctakes/ctakes-" + version + "/";
   var link = "<a href=\"" + href + "\">" + versionShort(version) + " signatures and
checksums</a>"
   append(verifyLink, link);
 
@@ -113,8 +103,8 @@ function onVersionSelect() {
 }
 
 function onPackageSelect() {
-  var downloadSelect = document.getElementById("sparkDownloadSelect");
-  var packageSelect = document.getElementById("sparkPackageSelect");
+  var downloadSelect = document.getElementById("ctakesDownloadSelect");
+  var packageSelect = document.getElementById("ctakesPackageSelect");
 
   empty(downloadSelect);
 
@@ -135,9 +125,9 @@ function onDownloadSelect() {
 }
 
 function updateDownloadLink() {
-  var versionSelect = document.getElementById("sparkVersionSelect");
-  var packageSelect = document.getElementById("sparkPackageSelect");
-  var downloadSelect = document.getElementById("sparkDownloadSelect");
+  var versionSelect = document.getElementById("ctakesVersionSelect");
+  var packageSelect = document.getElementById("ctakesPackageSelect");
+  var downloadSelect = document.getElementById("ctakesDownloadSelect");
   var downloadLink = document.getElementById("spanDownloadLink");
 
   empty(downloadLink);
@@ -147,22 +137,22 @@ function updateDownloadLink() {
   var download = getSelectedValue(downloadSelect);
 
 
-  var artifactName = "spark-$ver-bin-$pkg.tgz"
+  var artifactName = "ctakes-$ver-bin-$pkg.tgz"
     .replace(/\$ver/g, version)
     .replace(/\$pkg/g, pkg)
     .replace(/-bin-sources/, ""); // special case for source packages
 
   var link = "http://d3kbcqa49mib13.cloudfront.net/$artifact";
   if (version <= "0.7.3") {
-    link = "http://spark-project.org/download/$artifact";
+    link = "http://ctakes-project.org/download/$artifact";
   }
   if (pkg.toLowerCase().indexOf("mapr") > -1) {
-    link = "http://package.mapr.com/tools/apache-spark/$ver/$artifact"
+    link = "http://package.mapr.com/tools/apache-ctakes/$ver/$artifact"
   } else if (download == "apache") {
     if (version <= "1.0.0") {
-      link = "http://archive.apache.org/dist/spark/spark-$ver/$artifact";
+      link = "http://archive.apache.org/dist/ctakes/ctakes-$ver/$artifact";
     } else {
-      link = "http://www.apache.org/dyn/closer.cgi/spark/spark-$ver/$artifact";
+      link = "http://www.apache.org/dyn/closer.cgi/ctakes/ctakes-$ver/$artifact";
     }
   }
   link = link



Mime
View raw message