Files
greptweet/index.shtml
Kai Hendry 067b2aec27 New index
2013-06-12 01:14:43 +00:00

71 lines
2.3 KiB
Plaintext

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>GrepTweet</title>
<meta content="width=device-width, initial-scale=1,maximum-scale=1.0;" name=viewport>
<link rel="icon" href="/favicon.ico">
<link rel="apple-touch-icon-precomposed" href="http://a0.twimg.com/profile_images/1206037111/greptweet.png">
<link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<script>
function getCookie( oName ) {
var splitcookie = document.cookie.split( "; " ), x, cookiepair;
for( x = 0; x < splitcookie.length; x = x + 1 ) {
cookiepair = splitcookie[x].split( "=" );
if( cookiepair[0] === encodeURIComponent( oName ) ) {
if( cookiepair[1] ) {
return decodeURIComponent( cookiepair[1] );
} else {
return '';
}
}
}
return null;
}
user = getCookie("u");
if (user) { window.location.replace("/u/" + user); }
</script>
</head>
<body>
<div class="container">
<div class="content">
<div class="page-header">
<h1><a href="http://twitter.com/greptweet">@Greptweet</a> <small>you can search your tweets</small></h1>
</div>
<form name="f" action="create.cgi" method="get">
<div class="well">
<div class="clearfix">
<label for="username">Twitter username</label>
<div class="input">
<input class="xlarge" id="username" type="text" name="id" size="16" autocomplete="off" required placeholder="kaihendry">
</div>
</div>
<button class="btn btn-large btn-primary" id="b" onclick="submitPressed()">Fetch tweets</button>
</div>
</form>
<footer>
<p>Twitter API is not working due to <a href="https://dev.twitter.com/blog/api-v1-is-retired">v1 retirement</a>. :( I'm reluctantly trying to use the <a href="https://github.com/kaihendry/Greptweet/tree/1.1">new way more complex 1.1 twitter API working</a>.</p>
<p>Super-geeks please <a href="https://github.com/kaihendry/Greptweet">report issues and contribute on Github</a> :)</p>
<p>Active accounts: <!--#include virtual="active-users.txt" --></p>
<p>Version: <a href=https://github.com/kaihendry/Greptweet/commit/<!--#include virtual="version.txt" -->><!--#include virtual="version.txt" --></a></p>
<p>Backup: <code>rsync -artzv --include "*/" --include "*.txt" --exclude "*" greptweet.com::greptweet .</code> - go get your data!</p>
</footer>
</div>
</div>
</body>
</html>