Files
greptweet/index.shtml
2011-11-04 23:55:16 +01:00

88 lines
2.2 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>
<h3>Twitter limited</h3>
<p>Twitter does not allow the possibility of retrieving more than 3200 tweets.
However twitter generally stalls before coming close to this limit. Please
consider complaining to Twitter about this issue.</p>
<p>Type your name again up in the box above to update and append any new tweets
to any already existing tweets.</p>
<p><a
href="http://stackoverflow.com/questions/3547488">Please be patient for
results to appear</a></p>
<footer>
<p><a href="/hgweb.cgi">Public domain source</a></p>
<p><a href="/hgweb.cgi/file/tip/fetch-tweets.sh">Twitter backup script</a></p>
<p>Written by <a href="http://hendry.iki.fi/">Kai Hendry</a></p>
</footer>
</body>
</html>