Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .tmp/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -9691,7 +9691,7 @@ td.visible-print {
/* line 30, ../../app/styles/main.scss */

.info {
margin: 60px 0px;
margin: 100px 0px;
font-size: 1.7em;
}

Expand Down Expand Up @@ -9725,7 +9725,7 @@ hr {
/* line 54, ../../app/styles/main.scss */

.input-group {
margin: 20px 0px 70px 0px;
margin: 20px 0px 20px 0px;
}

/* line 58, ../../app/styles/main.scss */
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ emphassist

a super rough hack for typographical emphassis making searching for stuff on the web clearer and more natural.

http://emphassist.org/
http://jamesnesfield.github.io/emphassist/

9 changes: 8 additions & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@
--> </div>
<div class="input-group">
<span class="input-group-btn">
<button class="btn btn-default" type="button" id="search-button"><span class="glyphicon glyphicon-search"/></button>
<button class="btn btn-default search-button" type="button" id=""><span class="glyphicon glyphicon-search"/></button>
</span>
<div id="search"></div>
</div>
<div class="col-sm-4 col-sm-offset-4">
<a class="btn btn-sm btn-default btn-block search-button" type="button" id="search-button">search</a>
</div>
<br>
<p class="info text-center">
Using rich text to more <em>accurately</em>, <strong>clearly</strong> and <u>easily</u> express a search term's intent
</p>
Expand All @@ -67,6 +71,9 @@
<p class="text-center">
<tt>salsa recipe <strike>tomatoes</strike></tt>
</p>
<p>
Obviously it would be great if google supported more ways to modify and signal intent in your search queries. This is only made really as a simple proof of concept. <strong>Bold</strong> or <u>underline</u> to signal more important terms in a search query would be a lovely addition too ...
</p>
<hr>
<div class="col-sm-4 padding-right ">
<a class="btn btn-default btn-block btn-bottom" href="https://github.com/jamesnesfield/emphassist">GitHub</a>
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ $('#search').keypress(function(event) {
}
});

$('#search-button').on('click', function(event) {
$('.search-button').on('click', function(event) {
event.preventDefault(); // To prevent following the link (optional)
search();
});
Expand Down
4 changes: 2 additions & 2 deletions app/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $icon-font-path: "/emphassist/fonts/";
}

.info {
margin:60px 0px;
margin:100px 0px;
font-size: 1.7em
}

Expand All @@ -52,7 +52,7 @@ hr{
}

.input-group {
margin:20px 0px 70px 0px;
margin:20px 0px 20px 0px;
}

.style-button {
Expand Down
6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!--><html class=no-js><!--<![endif]--><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>emphassist</title><meta name=description content=""><meta name=viewport content="width=device-width"><!-- Place favicon.ico and apple-touch-icon.png in the root directory --><link rel=stylesheet href=styles/2a6192e9.vendor.css><link rel=stylesheet href=styles/0bfaed02.main.css><meta name=twitter:card content=summary_large_image><meta name=twitter:site content=@jamesnesfield><meta name=twitter:creator content=@jamesnesfield><meta name=twitter:title content="Emphassist Search Concept"><meta name=twitter:description content="exploring the possibilities for rich text to more accurately and more easily express a search query's intent."><meta name=twitter:image content=http://emphassist.org/images/emph.gif><link href=//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css rel=stylesheet><body><!--[if lt IE 10]>
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--><!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--><!--[if gt IE 8]><!--><html class=no-js><!--<![endif]--><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>emphassist</title><meta name=description content=""><meta name=viewport content="width=device-width"><!-- Place favicon.ico and apple-touch-icon.png in the root directory --><link rel=stylesheet href=styles/2a6192e9.vendor.css><link rel=stylesheet href=styles/1d455b6d.main.css><meta name=twitter:card content=summary_large_image><meta name=twitter:site content=@jamesnesfield><meta name=twitter:creator content=@jamesnesfield><meta name=twitter:title content="Emphassist Search Concept"><meta name=twitter:description content="exploring the possibilities for rich text to more accurately and more easily express a search query's intent."><meta name=twitter:image content=http://emphassist.org/images/emph.gif><link href=//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css rel=stylesheet><body><!--[if lt IE 10]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]--><div class="container no-padding"><div class="col-sm-offset-2 col-sm-8 centering"><div class=row><div class=main-image><img src=images/02f27cb6.emph.gif></div></div><div class=btn-toolbar data-role=editor-toolbar data-target=#search style=color:#000><!-- <div class="btn-group pull-right style-button">
--><a class="btn btn-default pull-right" data-edit=strikethrough title=Strikethrough><i class="fa fa-strikethrough"></i></a> <tt class="pull-right hint">cmd+s</tt> <!-- </div>
--></div><div class=input-group><span class=input-group-btn><button class="btn btn-default" type=button id=search-button><span class="glyphicon glyphicon-search"></button></span><div id=search></div></div><p class="info text-center">Using rich text to more <em>accurately</em>, <strong>clearly</strong> and <u>easily</u> express a search term's intent</p><hr><p>Many people overlook the ability for <a href=https://support.google.com/websearch/answer/2466433>Google</a> queries to <i><b>exclude</b></i> as well as include words or phrases - the syntax is ugly :</p><p class=text-center><tt>salsa recipe -tomatoes</tt></p><p>Emphassist uses familiar typographical modifiers to make these more advanced searches easier, clearer and more natural :</p><p class=text-center><tt>salsa recipe <strike>tomatoes</strike></tt></p><hr><div class="col-sm-4 padding-right"><a class="btn btn-default btn-block btn-bottom" href=https://github.com/jamesnesfield/emphassist>GitHub</a></div><div class="col-sm-4 padding-center"><a class="btn btn-default btn-block btn-bottom" href=http://jamesnesfield.com>jamesnesfield.com</a></div><div class="col-sm-4 padding-left"><a href=https://twitter.com/share class=twitter-share-button data-via=jamesnesfield data-size=large data-count=none data-hashtags=emphassist></a></div></div></div><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script><script src=scripts/0f082fab.vendor.js></script><!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
--></div><div class=input-group><span class=input-group-btn><button class="btn btn-default search-button" type=button><span class="glyphicon glyphicon-search"></button></span><div id=search></div></div><div class="col-sm-4 col-sm-offset-4"><a class="btn btn-sm btn-default btn-block search-button" type=button id=search-button>search</a></div><br><p class="info text-center">Using rich text to more <em>accurately</em>, <strong>clearly</strong> and <u>easily</u> express a search term's intent</p><hr><p>Many people overlook the ability for <a href=https://support.google.com/websearch/answer/2466433>Google</a> queries to <i><b>exclude</b></i> as well as include words or phrases - the syntax is ugly :</p><p class=text-center><tt>salsa recipe -tomatoes</tt></p><p>Emphassist uses familiar typographical modifiers to make these more advanced searches easier, clearer and more natural :</p><p class=text-center><tt>salsa recipe <strike>tomatoes</strike></tt></p><p>Obviously it would be great if google supported more ways to modify and signal intent in your search queries. This is only made really as a simple proof of concept. <strong>Bold</strong> or <u>underline</u> to signal more important terms in a search query would be a lovely addition too ...</p><hr><div class="col-sm-4 padding-right"><a class="btn btn-default btn-block btn-bottom" href=https://github.com/jamesnesfield/emphassist>GitHub</a></div><div class="col-sm-4 padding-center"><a class="btn btn-default btn-block btn-bottom" href=http://jamesnesfield.com>jamesnesfield.com</a></div><div class="col-sm-4 padding-left"><a href=https://twitter.com/share class=twitter-share-button data-via=jamesnesfield data-size=large data-count=none data-hashtags=emphassist></a></div></div></div><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script><script src=scripts/0f082fab.vendor.js></script><!-- Google Analytics: change UA-XXXXX-X to be your site's ID. --><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-48163366-1', 'emphassist.org');
ga('send', 'pageview');</script><script src=scripts/d41d8cd9.plugins.js></script><script src=scripts/8e456758.main.js></script>
ga('send', 'pageview');</script><script src=scripts/d41d8cd9.plugins.js></script><script src=scripts/7844c11c.main.js></script>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading