Skip to content

Commit c74227d

Browse files
committed
feat(site): add /help page to satisfy Slack support requirements
1 parent e68e9a8 commit c74227d

File tree

4 files changed

+35
-2
lines changed

4 files changed

+35
-2
lines changed

bot.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,14 @@ webserver.get('/', function(req, res){
9292
});
9393
});
9494

95+
webserver.get('/help', function(req, res){
96+
res.render('help', {
97+
domain: req.get('host'),
98+
protocol: req.protocol,
99+
layout: 'layouts/default'
100+
});
101+
});
102+
95103
// Set up a simple storage backend for keeping a record of customers
96104
// who sign up for the app via the oauth
97105
require(__dirname + '/components/user_registration.js')(controller);

views/help.hbs

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<main class="hero wrapper">
2+
<h1>@RSS bot Support</h1>
3+
</main>
4+
<article>
5+
<p>We're really sorry, you're having trouble with @RSS bot.</p>
6+
<p>There are many ways you can get in touch with us and report your issue listed below. Please choose whatever is most convenient for you.</p>
7+
<h2>Get Support</h2>
8+
<ol>
9+
<li><a href="mailto:info@rssbot.app" target="_blank" rel="noopener noreferrer">Email Support</a></li>
10+
<li><a href="https://twitter.com/intent/tweet/?text=@RSSSlackBot" target="_blank" rel="noopener noreferrer">Tweet @RSSSlackBot</a></li>
11+
<li><a href="https://github.com/InterwebAlchemy/scrape-rss-bot/issues" target="_blank" rel="noopener noreferrer">File a GitHub Issue</a></li>
12+
</ol>
13+
<h3>Need an RSS Reader?</h3>
14+
<p>Here are some popular choices for reading your RSS feeds:</p>
15+
<ol>
16+
<li><a href="https://feedly.com/" target="_blank" rel="noopener noreferrer">Feedly</a></li>
17+
<li><a href="https://www.inoreader.com/" target="_blank" rel="noopener noreferrer">InoReader</a></li>
18+
<li><a href="https://newsblur.com/" target="_blank" rel="noopener noreferrer">News Blur</a></li>
19+
<li><a href="https://theoldreader.com/users/sign_in" target="_blank" rel="noopener noreferrer">Old Reader</a></li>
20+
<li><a href="https://feeder.co/" target="_blank" rel="noopener noreferrer">Feeder</a></li>
21+
<li><a href="http://feedreader.com/" target="_blank" rel="noopener noreferrer">Feedreader</a></li>
22+
<li><a href="https://flowreader.com/" target="_blank" rel="noopener noreferrer">FlowReader</a></li>
23+
</ol>
24+
</article>

views/index.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<img alt="Add to Slack" height="40" width="139" src="https://platform.slack-edge.com/img/add_to_slack.png" srcset="https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/add_to_slack@2x.png 2x" />
1212
</a>
1313
</p>
14-
<h2>Need an RSS Reader?</h2>
14+
<h3>Need an RSS Reader?</h3>
1515
<p>Here are some popular choices for reading your RSS feeds:</p>
1616
<ol>
1717
<li><a href="https://feedly.com/" target="_blank" rel="noopener noreferrer">Feedly</a></li>

views/partials/footer.hbs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
<p>
44
<a href="https://botkit.ai">Powered by Botkit</a> |
55
<a href="https://ericrallen.dev/">Built By Eric Allen</a> |
6-
<a href="https://twitter.com/RSSSlackBot">@RSS bot on Twitter</a>
6+
<a href="https:www/rssbot.app/help">Support</a> |
7+
<a href="https://twitter.com/RSSSlackBot">Twitter</a>
78
</p>
89
<p><strong>Note</strong>: The RSS feeds generated by @RSS bot are publicly-accessible to anyone with the link.</p>
910
</div>

0 commit comments

Comments
 (0)