/
index.html
executable file
·149 lines (139 loc) · 6.85 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>TwitRSS.me - rss of twitter user feeds by screenscraping with perl</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css" rel="stylesheet">
<link href="css/twitrss.css" rel="stylesheet">
</head>
<body>
<div id="js-version" style="width:10em;right:0;top:50%;padding:5px;background-color:#333;color:#ddd;position:fixed;display:none;text-align:right;z-index:9999">
<p> <strong>Tip</strong>: There is a <a href="http://ox4.li/2cl">Javascript version</a> for building widgets.</p>
</div>
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand nav-link" href="#top">TwitRSS.me</a>
</div> <!-- /.navbar-header -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#top" class="nav-link">Get Twitter User RSS</a></li>
<li><a href="#donate" class="nav-link">Sponsors</a></li>
<!--li><a href="#code" class="nav-link">Get Code</a></li-->
<li><a href="#about" class="nav-link">About</a></li>
</ul>
</div> <!-- /.navbar-collapse -->
</div> <!-- /.container -->
</nav> <!-- /.navbar -->
<div id="top" class="jumbotron">
<div class="container">
<h1>TwitRSS.me</h1>
<h2>Get your twitter user feed as RSS</h2>
<p>
<form action="/twitter_user_to_rss/" method="get">
<label for="screen_name">Twitter User:</label><br />
@<input name="user" id="screen_name" type="text" class="input" maxlength="140" size="20" value="" placeholder="ciderpunx" /> <br />
<label for="replies">With replies?:</label>
<input name="replies" id="replies" type="checkbox" style="margin-left:1.2em" /><br />
<label class="hid" for="submit"> </label>
<input id="fetch" type="submit" value=" Fetch RSS " class="btn btn-primary btn-lg" />
</form>
</p>
</div> <!-- /.container -->
</div> <!-- /.jumbotron -->
<div class="container">
<h3 id="sponsors" class="subhead">Sponsors</h3>
<div class="row">
<div class="col-md-8 col-sm-6 benefit">
<!--div class="benefit-ball">
<span class="glyphicon glyphicon-home"></span>
</div-->
<h3>TwitRSS.me is free. Thanks Bytemark!</h3>
<p>In September 2015, Bytemark generously offered to host TwitRSS.me for free on their <a href="http://www.bigv.io/?utm_source=twitrssme">Big V</a> platform. That means that I have been able to drop the cache time, so that feeds update more often and provide a generally more reliable service. </p>
<h3>Traffic stats</h3>
<p>
<!--#include virtual="/include/varnishstat"-->
</p>
</div> <!-- /.benefit -->
<div class="col-md-4 col-sm-6 benefit">
<a href="http://www.bigv.io/?utm_source=twitrssme">
<div style="background-image:url(/img/bigv.svg);height:200px;width:320px;margin-top:2.2em"> </div>
</a>
</div> <!-- /.benefit -->
</div> <!-- /.row -->
</div> <!-- /.container -->
<div class="container-alternate">
<div class="container">
<h3 id="about" class="subhead">About TwitRSS.me</h3>
<div class="row about">
<div class="col-md-10 col-md-offset-1 text-center">
<p>
Way back in the mists of time twitter used to have RSS feeds. It was great and people used them. I even made a
<a href="http://charlieharvey.org.uk/page/twitter_rss">twitter RSS getter</a> form for my website so you could locate your feed.
But in June 2013 they killed the RSS feeds. Fuckers.
</p>
<p>
So, I <a href="http://perlmonks.org/?node_id=1039382">wrote a script</a> that would fetch a twitter search as an RSS feed, which
was a thing I needed to do. Rather than use the api, I just screen scraped the open web for the data.
</p>
<p>
I realized that the same idea would work for user timelines and so I built a script and modded my twitter
rss getter to use that instead. It proved popular (and killed my server a few times). So I put it on its own
domain name and wrote a frontend. This dear reader is that. And if you are still reading, maybe you should stop.
</p>
</div> <!-- /.col-md-10 -->
</div> <!-- /.row -->
</div> <!-- /.container -->
</div> <!-- /.container-alternate -->
<footer>
<div class="container clearfix">
<p class="pull-left">
© <a href="http://charlieharvey.org.uk">Charlie Harvey</a> 2014-2015. Use it under BY-NC-SA if you want. <a href="https://github.com/ciderpunx/twitrssme">TwitRSS.me code</a> on gitub.
</p>
<p class="pull-right">Template by <a href="http://coverstrap.com">Coverstrap</a>. Mistakes are all my own.
</p>
</div> <!-- /.container -->
</footer>
<script src="//code.jquery.com/jquery-1.10.2.min.js"></script>
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.2/js/bootstrap.min.js"></script>
<script>
$(".nav-link").click(function(e) {
e.preventDefault();
var link = $(this);
var href = link.attr("href");
$("html,body").animate({scrollTop: $(href).offset().top - 80}, 500);
link.closest(".navbar").find(".navbar-toggle:not(.collapsed)").click();
});
/* $(window).scroll(function() {
if ($(this).scrollTop() < 150) {
$("#js-version").slideUp();
}
else {
$("#js-version").slideDown();
}
});
*/
</script>
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.twitrss.me"]);
_paq.push(["setDomains", ["*.twitrss.me","*.www.twitrss.me"]]);
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);
(function() {
var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.charlieharvey.org.uk/";
_paq.push(["setTrackerUrl", u+"piwik.php"]);
_paq.push(["setSiteId", "6"]);
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
</body>
</html>