Files
greptweet/index.shtml
Kai Hendry a2496a5aa4 Add license
2011-11-13 22:38:14 +01:00

68 lines
1.6 KiB
Plaintext

<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>GrepTweet</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="http://platform.twitter.com/anywhere.js?id=nblhjVeENlDT7WP83VQEA&v=1"></script>
</head>
<body>
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="greptweet" data-related="kaihendry:Author">Tweet</a><script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'profile',
rpp: 4,
interval: 30000,
width: 250,
height: 300,
theme: {
shell: {
background: '#333333',
color: '#ffffff'
},
tweets: {
background: '#000000',
color: '#ffffff',
links: '#4aed05'
}
},
features: {
scrollbar: false,
loop: false,
live: false,
behavior: 'all'
}
}).render().setUser('greptweet').start();
</script>
<form action="create.cgi" method="get">
<fieldset>
<legend>Create or update a backup of your tweets, so you can grep them</legend>
<p><label>Twitter username: <input type="text" name="id" required placeholder="kaihendry"></label></p>
<p><input type="checkbox" name="o" />Try get older tweets, instead of newer tweets when updating</p>
<input type="submit" value="Create backup"/>
</fieldset>
</form>
<!--#include virtual="users.shtml" -->
<script>
twttr.anywhere(function (T) {
T("#users").hovercards({ linkify: false });
});
</script>
<p><a href="https://github.com/kaihendry/Greptweet">Please contribute to the source on Github!</a></p>
</body>
</html>