You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by bi...@apache.org on 2018/06/12 20:49:29 UTC
[incubator-annotator-website] branch asf-site updated (f13aed9 ->
8787dfa)
This is an automated email from the ASF dual-hosted git repository.
bigbluehat pushed a change to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git.
from f13aed9 Tweaked the demo page/nav a bit
new c6c6c12 Link project name to home page on demo page
new 6d8efbb Cleaned up HTML a bit
new f24a4a3 Add NPM link; mark external links as rel=external
new 8787dfa Add rather progressive sort of mailing list loader
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
content/demo/index.html | 51 +++++++++++++--------------
content/index.html | 92 +++++++++++++++++++++++++++----------------------
content/index.js | 18 ++++++++++
3 files changed, 94 insertions(+), 67 deletions(-)
create mode 100644 content/index.js
--
To stop receiving notification emails like this one, please contact
bigbluehat@apache.org.
[incubator-annotator-website] 02/04: Cleaned up HTML a bit
Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bigbluehat pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 6d8efbbddad5f569f68bda89dfe69087553b85d3
Author: Benjamin Young <by...@wiley.com>
AuthorDate: Tue Jun 12 14:30:47 2018 -0400
Cleaned up HTML a bit
---
content/demo/index.html | 33 +++++++++++++++------------------
content/index.html | 15 ++++++---------
2 files changed, 21 insertions(+), 27 deletions(-)
diff --git a/content/demo/index.html b/content/demo/index.html
index f856d01..f3337c0 100644
--- a/content/demo/index.html
+++ b/content/demo/index.html
@@ -96,23 +96,20 @@
<a href="https://www.w3.org/TR/2017/NOTE-selectors-states-20170223/#frags"
target="_blank">as the fragment identifier</a>.
</p>
- <p>
- Other selectors you can try:
- <ul>
- <li>
- <a href="#selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=ann),endSelector=selector(type=TextQuoteSelector,exact=!))">RangeSelector</a>
- (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#range-selector" target="_blank">spec</a>)
- </li>
- <li>
- <a href="#selector(type=TextQuoteSelector,exact=annotated%20world,refinedBy=selector(type=TextQuoteSelector,exact=tat))">Refining
- a selector using another selector</a>
- (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" target="blank">spec</a>)
- </li>
- <li><a href="#selector(type=TextQuoteSelector,exact=not)">Multiple matches</a> (but overlapping matches currently mess up the highlighter)</li>
- <li><a href="#selector(type=TextQuoteSelector,exact=To%20annotate%2C%20or%20not%20to%20annotate%2C,refinedBy=selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=To%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=annotate)),endSelector=selector(type=TextQuoteSelector,exact=not%20to%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=%20to)),refinedBy=selector(type=TextQuoteSelector,exact=o)))">Any deeper nesting of the above</a></li>
- </ul>
- </p>
- </div>
- </div>
+ <p>Other selectors you can try:</p>
+ <ul>
+ <li>
+ <a href="#selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=ann),endSelector=selector(type=TextQuoteSelector,exact=!))">RangeSelector</a>
+ (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#range-selector" target="_blank">spec</a>)
+ </li>
+ <li>
+ <a href="#selector(type=TextQuoteSelector,exact=annotated%20world,refinedBy=selector(type=TextQuoteSelector,exact=tat))">Refining
+ a selector using another selector</a>
+ (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" target="blank">spec</a>)
+ </li>
+ <li><a href="#selector(type=TextQuoteSelector,exact=not)">Multiple matches</a> (but overlapping matches currently mess up the highlighter)</li>
+ <li><a href="#selector(type=TextQuoteSelector,exact=To%20annotate%2C%20or%20not%20to%20annotate%2C,refinedBy=selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=To%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=annotate)),endSelector=selector(type=TextQuoteSelector,exact=not%20to%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=%20to)),refinedBy=selector(type=TextQuoteSelector,exact=o)))">Any deeper nesting of the above</a></li>
+ </ul>
+ </div>
</body>
</html>
diff --git a/content/index.html b/content/index.html
index 5c3a3fb..1b9c25e 100644
--- a/content/index.html
+++ b/content/index.html
@@ -151,16 +151,13 @@
</div>
</div>
</div>
- </div>
-
- </div>
<footer class="ui bottom attached segment">
<div class="ui container">
<div class="ui equal height divided stackable grid">
<div class="four wide column">
<a class="ui left floated medium image" href="https://apache.org/" target="_blank">
- <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" />
+ <img src="https://incubator.apache.org/images/incubator_feather_egg_logo_sm.png" alt="logo of the Apache Incubator" />
</a>
</div>
<div class="nine wide column">
@@ -171,11 +168,11 @@
<h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
<div class="ui link list">
<a class="item" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" href="https://www.apache.org/">About the ASF<span></span></a>
- <a class="item" href="https://www.apache.org/foundation/thanks.html">Thanks<span></span></a>
- <a class="item" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor<span></span></a>
- <a class="item" href="https://www.apache.org/security/">Security<span></span></a>
- <a class="item" href="https://www.apache.org/licenses/LICENSE-2.0">License<span></span></a>
+ <a class="item" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" href="https://www.apache.org/security/">Security</a>
+ <a class="item" href="https://www.apache.org/licenses/LICENSE-2.0">License</a>
</div>
</div>
</div>
--
To stop receiving notification emails like this one, please contact
bigbluehat@apache.org.
[incubator-annotator-website] 03/04: Add NPM link;
mark external links as rel=external
Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bigbluehat pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit f24a4a39f31f120b1d2d8f6571b2a5c6bf1dbe34
Author: Benjamin Young <by...@wiley.com>
AuthorDate: Tue Jun 12 15:48:35 2018 -0400
Add NPM link; mark external links as rel=external
---
content/demo/index.html | 20 ++++++++++++--------
content/index.html | 21 +++++++++++----------
2 files changed, 23 insertions(+), 18 deletions(-)
diff --git a/content/demo/index.html b/content/demo/index.html
index f3337c0..b52ec59 100644
--- a/content/demo/index.html
+++ b/content/demo/index.html
@@ -50,10 +50,11 @@
<div class="right menu">
<a class="active item" href="demo"><span class="ui positive button">Demo!</span></a>
- <a class="item" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <a class="item" href="https://github.com/apache/incubator-annotator/wiki">Wiki</a>
- <a class="item" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ <a class="item" rel="external" href="https://www.npmjs.com/org/annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/wiki">Wiki</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
</div>
</div>
</div>
@@ -88,24 +89,27 @@
<div class="ui basic segment container">
<p>
Upon a change of selection, a
- <a
+ <a rel="external"
href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#text-quote-selector"
target="_blank">TextQuoteSelector</a>
will be created, that describes what was selected.
The selector is serialised and shown the window location,
- <a href="https://www.w3.org/TR/2017/NOTE-selectors-states-20170223/#frags"
+ <a rel="external"
+ href="https://www.w3.org/TR/2017/NOTE-selectors-states-20170223/#frags"
target="_blank">as the fragment identifier</a>.
</p>
<p>Other selectors you can try:</p>
<ul>
<li>
<a href="#selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=ann),endSelector=selector(type=TextQuoteSelector,exact=!))">RangeSelector</a>
- (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#range-selector" target="_blank">spec</a>)
+ (<a rel="external"
+ href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#range-selector" target="_blank">spec</a>)
</li>
<li>
<a href="#selector(type=TextQuoteSelector,exact=annotated%20world,refinedBy=selector(type=TextQuoteSelector,exact=tat))">Refining
a selector using another selector</a>
- (<a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" target="blank">spec</a>)
+ (<a rel="external"
+ href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#refinement-of-selection" target="blank">spec</a>)
</li>
<li><a href="#selector(type=TextQuoteSelector,exact=not)">Multiple matches</a> (but overlapping matches currently mess up the highlighter)</li>
<li><a href="#selector(type=TextQuoteSelector,exact=To%20annotate%2C%20or%20not%20to%20annotate%2C,refinedBy=selector(type=RangeSelector,startSelector=selector(type=TextQuoteSelector,exact=To%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=annotate)),endSelector=selector(type=TextQuoteSelector,exact=not%20to%20annotate,refinedBy=selector(type=TextQuoteSelector,exact=%20to)),refinedBy=selector(type=TextQuoteSelector,exact=o)))">Any deeper nesting of the above</a></li>
diff --git a/content/index.html b/content/index.html
index 1b9c25e..37124fe 100644
--- a/content/index.html
+++ b/content/index.html
@@ -56,10 +56,11 @@
<div class="right menu">
<a class="item" href="demo"><span class="ui positive button">Demo!</span></a>
- <a class="item" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
- <a class="item" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
- <a class="item" href="https://github.com/apache/incubator-annotator/wiki">Wiki</a>
- <a class="item" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
+ <a class="item" rel="external" href="https://www.npmjs.com/org/annotator">NPM</a>
+ <a class="item" rel="external" href="https://github.com/apache?q=annotator#org-repositories">Code</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/issues">Issues</a>
+ <a class="item" rel="external" href="https://github.com/apache/incubator-annotator/wiki">Wiki</a>
+ <a class="item" rel="external" href="https://mail-archives.apache.org/mod_mbox/incubator-annotator-dev/">Mailing List</a>
</div>
</div>
</div>
@@ -167,12 +168,12 @@
<div class="three wide column">
<h4 class="header">The <abbr title="Apache Software Foundation">ASF</abbr></h4>
<div class="ui link list">
- <a class="item" href="https://incubator.apache.org/">Apache Incubator</a>
- <a class="item" href="https://www.apache.org/">About the ASF</a>
- <a class="item" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
- <a class="item" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
- <a class="item" href="https://www.apache.org/security/">Security</a>
- <a class="item" href="https://www.apache.org/licenses/LICENSE-2.0">License</a>
+ <a class="item" rel="external" href="https://incubator.apache.org/">Apache Incubator</a>
+ <a class="item" rel="external" href="https://www.apache.org/">About the ASF</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/thanks.html">Thanks</a>
+ <a class="item" rel="external" href="https://www.apache.org/foundation/sponsorship.html">Become a Sponsor</a>
+ <a class="item" rel="external" href="https://www.apache.org/security/">Security</a>
+ <a class="item" rel="external" href="https://www.apache.org/licenses/LICENSE-2.0">License</a>
</div>
</div>
</div>
--
To stop receiving notification emails like this one, please contact
bigbluehat@apache.org.
[incubator-annotator-website] 04/04: Add rather progressive sort of
mailing list loader
Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bigbluehat pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit 8787dfa27b5a6fef2fc0259a3d568bcccea519eb
Author: Benjamin Young <by...@wiley.com>
AuthorDate: Tue Jun 12 16:49:13 2018 -0400
Add rather progressive sort of mailing list loader
Not sure what browsers support this...but it reads nice.
---
content/index.html | 66 +++++++++++++++++++++++++++++++-----------------------
content/index.js | 18 +++++++++++++++
2 files changed, 56 insertions(+), 28 deletions(-)
diff --git a/content/index.html b/content/index.html
index 37124fe..12e64f3 100644
--- a/content/index.html
+++ b/content/index.html
@@ -66,37 +66,25 @@
</div>
<div class="ui basic segment container">
- <h3>
- Apache Annotator provides annotation enabling code for browsers, servers, and humans.
- </h3>
+ <div class="ui divided grid">
+ <div class="ten wide column">
+ <h3>
+ Apache Annotator provides annotation enabling code for browsers, servers, and humans.
+ </h3>
- <p>
- We are currently seeking developers and community members interested in participating in the future of
- annotation.
- </p>
- <p>Our intended focus areas are:</p>
- <ul>
- <li>A collaborative community for creating annotation related code</li>
- <li>A future for Annotator.js-based projects and plugins</li>
- <li>Enabling Web Annotation in Web browsers, Web Publication readers, and the servers that serve them</li>
- </ul>
+ <p>
+ We are currently seeking developers and community members interested in participating in the future of
+ annotation.
+ </p>
+ <p>Our intended focus areas are:</p>
+ <ul>
+ <li>A collaborative community for creating annotation related code</li>
+ <li>A future for Annotator.js-based projects and plugins</li>
+ <li>Enabling Web Annotation in Web browsers, Web Publication readers, and the servers that serve them</li>
+ </ul>
- <div class="ui divider"></div>
+ <div class="ui divider"></div>
- <div class="ui stackable grid">
- <div class="six wide column">
- <h3 class="ui header" id="mailing-lists">
- <i class="mail icon"></i>
- Conversations
- </h3>
- <p>Human interactions happen on the
- <code>dev@annotator.incubator.apache.org</code>
- mailing list. Subscribe by emailing
- <a href="mailto:dev-subscribe@annotator.incubator.apache.org?subject=subscribe&body=just click send. srsly. it is that easy. ^_^\n\nLove,\nApache Annotator (incubating)">dev-subscribe@annotator.incubator.apache.org</a>.
- Be sure to say "hi" once you're in!</p>
- <a class="ui button" href="https://lists.apache.org/list.html?dev@annotator.apache.org">Checkout the <code>dev@</code>'s archive</a>
- </div>
- <div class="ten wide column">
<h3 class="ui header" id="contributing">
<i class="code icon"></i>
Code
@@ -150,6 +138,26 @@
</div>
</div>
</div>
+
+ <div class="six wide column">
+ <h3 class="ui header" id="mailing-lists">
+ <i class="mail icon"></i>
+ Conversations
+ </h3>
+ <p>Human interactions happen on the
+ <code><abbr title="dev@annotator.incubator.apache.org">dev@</abbr></code>
+ mailing list. Subscribe by emailing
+ <a href="mailto:dev-subscribe@annotator.incubator.apache.org?subject=subscribe&body=Just click send. It's that easy! %5E_%5E%0A%0ALove%2C%0AApache Annotator (incubating)">dev-subscribe@annotator.incubator.apache.org</a>.
+ Be sure to say "hi" once you're in!</p>
+
+ <div class="ui vertical fluid menu">
+ <a href="https://lists.apache.org/list.html?dev@annotator.apache.org"
+ class="header item" id="recent-mailings"
+ title="View All dev@ Archives">
+ <code>dev@</code> Mailing List Posts
+ </a>
+ </div>
+ </div>
</div>
</div>
@@ -179,5 +187,7 @@
</div>
</div>
</footer>
+
+ <script async defer src="index.js"></script>
</body>
</html>
diff --git a/content/index.js b/content/index.js
new file mode 100644
index 0000000..483824d
--- /dev/null
+++ b/content/index.js
@@ -0,0 +1,18 @@
+// Uses the PonyMail API to gather remote list of recent messages
+const recent_messages_url = 'https://lists.apache.org/api/stats.lua?list=dev&domain=annotator.apache.org';
+
+const Item = ({id, subject}) => `
+<a class="item" rel="external" href="https://lists.apache.org/thread.html/${id}">${subject}</a>
+`;
+
+const $h = document.getElementById('recent-mailings');
+
+fetch(recent_messages_url)
+ .then(r => r.json())
+ .then((msgs) => {
+ if ('emails' in msgs && msgs.emails.length > 0) {
+ for (let i = 0; i < 5; i++) {
+ $h.insertAdjacentHTML('afterend', Item(msgs.emails[i]));
+ }
+ }
+ });
--
To stop receiving notification emails like this one, please contact
bigbluehat@apache.org.
[incubator-annotator-website] 01/04: Link project name to home page
on demo page
Posted by bi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bigbluehat pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-annotator-website.git
commit c6c6c1232cc378172aa508634aa039dcadc6150c
Author: Benjamin Young <by...@wiley.com>
AuthorDate: Tue Jun 12 14:30:28 2018 -0400
Link project name to home page on demo page
---
content/demo/index.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/demo/index.html b/content/demo/index.html
index 0bbc358..f856d01 100644
--- a/content/demo/index.html
+++ b/content/demo/index.html
@@ -45,7 +45,7 @@
<div class="ui borderless stackable top attached main menu">
<div class="ui container">
<h2 class="header item">
- Apache Annotator <em style="font-size: 14px; margin-left: 1em">(incubating)</em>
+ <a href="../">Apache Annotator <em style="font-size: 14px; margin-left: 1em">(incubating)</em></a>
</h2>
<div class="right menu">
--
To stop receiving notification emails like this one, please contact
bigbluehat@apache.org.