diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1e4318b --- /dev/null +++ b/LICENSE @@ -0,0 +1,22 @@ +MIT/X Consortium License + +© 2011 Kai Hendry +© 2011 Jamie Kitson + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/README.markdown b/README.markdown index 3856643..a0304d4 100644 --- a/README.markdown +++ b/README.markdown @@ -1,6 +1,9 @@ # * Authentication free, using +* Aim to [suckless](http://suckless.org/) and keep LOC low +* Encourage folks to use `fetch-tweets.sh` themselves and get into shell ;) +* Dependencies: curl, libhtml-parser-perl (to decode HTML entities), xmlstarlet, coreutils # Known issues diff --git a/index.shtml b/index.shtml index ccdf69c..417f7cb 100644 --- a/index.shtml +++ b/index.shtml @@ -61,7 +61,7 @@ T("#users").hovercards({ linkify: false }); }); -

Please contribute to the public domain source on Github!

+

Please contribute to the source on Github!

diff --git a/main.js b/main.js index 9da3db0..5be8a2a 100644 --- a/main.js +++ b/main.js @@ -3,6 +3,7 @@ function grep(query) { $.getJSON("/u/" + NAME + "/grep.php?q=" + query + "&jsoncallback=?", function(data) { var results = "

Searched for: " + query + "

    "; for (i in data) { + // TODO, fix bug: https://twitter.com/#!/pixelbeat_/status/5120018968 tweet = data[i].split('|'); if (tweet.length > 2) { results += "
  1. " + tweet[2] + "
  2. "; // With datetime