Frontend Features and refactor
This commit is contained in:
+4
-5
@@ -4,13 +4,12 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Sequential Bible Viewer - KJV API</title>
|
||||
<link rel="stylesheet" href="/styles/page.css">
|
||||
<style>body{background-color:#1a1a1a}</style>
|
||||
<link rel="stylesheet" href="/styles/page.css?v=__V__">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<a href="/">Home</a> | <a href="/find">Quick Search</a> | <a href="/seq">Sequential Viewer</a> |
|
||||
<a href="/random?view=rich">Random Verse</a> | <a href="/votd?view=rich">Verse of the Day</a>
|
||||
<a href="/">Home</a> <a href="/find">Quick Search</a> <a href="/seq">Sequential Viewer</a>
|
||||
<a href="/random?view=rich">Random Verse</a> <a href="/votd?view=rich">Verse of the Day</a>
|
||||
</header>
|
||||
<h2>Sequential Bible Viewer</h2>
|
||||
<p>In order to use this, you first need a UID, which you can get by querying <code>/seq?getuid=true</code> and optionally include <code>&start=BIBLEREF</code> (where BIBLEREF is like 1Cor2:1) to set a start position other than Genesis 1:1.</p>
|
||||
@@ -18,7 +17,7 @@
|
||||
<p>The <code>&view=</code> argument works with this.</p>
|
||||
<h4>Example Pleroma Bot shell script</h4>
|
||||
<pre><code>#!/bin/sh
|
||||
verse=$(curl -XGET https://api.1611.social/seq?uid=MYUID?view=plain);
|
||||
verse=$(curl -XGET https://bible.nicecrew.digital/seq?uid=MYUID?view=plain);
|
||||
curl -XPOST -u biblebot:MYPASSWORD \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"status": "'"${verse}"'"}' \
|
||||
|
||||
Reference in New Issue
Block a user