parent
3a22c15dcd
commit
450cc76d13
|
@ -10,14 +10,14 @@
|
||||||
<main class="wrapper">
|
<main class="wrapper">
|
||||||
<h1>FAQ</h1>
|
<h1>FAQ</h1>
|
||||||
An attempt to answer frequently asked questions, and document
|
An attempt to answer frequently asked questions, and document
|
||||||
the detail of site features. As with all software documentation,
|
the details of site features. As with all software documentation,
|
||||||
this is how the developer <b>thinks</b> these things work,
|
this is how the developer <b>thinks</b> these things work,
|
||||||
to find out how things actually work, see the source code.
|
to find out how things actually work, see the source code.
|
||||||
<h2>How do a register an account?</h2>
|
<h2>How do I register an account?</h2>
|
||||||
You can go <a href="/_claim">here</a> to register an account,
|
You can go <a href="/_claim">here</a> to register an account,
|
||||||
although you can also post pastes and comments anonymously.
|
although you can also post pastes and comments anonymously.
|
||||||
<h2>Parsers? What are those?</h2>
|
<h2>Parsers? What are those?</h2>
|
||||||
Parsers are the way you can style the text you post. While
|
Parsers are how you can style the text you post. While
|
||||||
this software started as a pastebin clone, the need to style
|
this software started as a pastebin clone, the need to style
|
||||||
text better than pastebin.com quickly became apparent. Two
|
text better than pastebin.com quickly became apparent. Two
|
||||||
parsers are currently available:
|
parsers are currently available:
|
||||||
|
@ -37,9 +37,7 @@
|
||||||
<p>Surround text with forum-style [spoiler] and [/spoiler] tags as a second way to <span class="spoiler2">spoiler</span>
|
<p>Surround text with forum-style [spoiler] and [/spoiler] tags as a second way to <span class="spoiler2">spoiler</span>
|
||||||
<p>Surround text with forum-style [code] and [/code] tags to make it
|
<p>Surround text with forum-style [code] and [/code] tags to make it
|
||||||
|
|
||||||
<pre><code>
|
<pre><code>Preformatted and monospace</code></pre>
|
||||||
Preformatted and monospace
|
|
||||||
</code></pre>
|
|
||||||
|
|
||||||
<p>If you have incomplete markup at the end, it shouldn't break anything, let me know if it does.
|
<p>If you have incomplete markup at the end, it shouldn't break anything, let me know if it does.
|
||||||
<h2>How does search work?</h2>
|
<h2>How does search work?</h2>
|
||||||
|
@ -47,33 +45,33 @@ Preformatted and monospace
|
||||||
At it's most simple, it searches stories based on tags,
|
At it's most simple, it searches stories based on tags,
|
||||||
but it can also filter stories based on: title, author,
|
but it can also filter stories based on: title, author,
|
||||||
date, and hits. In general, the syntax for search is
|
date, and hits. In general, the syntax for search is
|
||||||
<code>+|-<field>>operator<>value<</code>
|
<code>{+-} <field> <operator> <value></code>
|
||||||
<p>The first <code>+</code> or <code>-</code> specifies
|
<p>The first <code>+</code> or <code>-</code> specifies
|
||||||
weather to include or exclude results based on this
|
weather to include or exclude results based on this
|
||||||
search, the <code><field></code> specifies what
|
search, the <code><field></code> specifies what
|
||||||
field to search for (or search based on tag if this is
|
field to search for (or search based on tag if this is
|
||||||
missing), and <code><operator></code> specifies
|
missing), and <code><operator></code> specifies
|
||||||
how to search.
|
how to search.
|
||||||
<p>For title, and author, the only allowed operator is
|
<p>For title and author, the only allowed operator is
|
||||||
<code>=</code>. This operator will search for the text
|
<code>=</code>. This operator will search for <code><value></code>
|
||||||
appearing anywhere in the field, case insensitive. For
|
appearing anywhere in the field, case insensitive. For
|
||||||
hits and time, the allowed operators are
|
hits and time, the allowed operators are
|
||||||
<code>></code>,<code><</code>,<code>>=</code>,
|
<code>></code>,<code><</code>,<code>>=</code>,
|
||||||
<code><=</code>,<code>=</code>, which searches for
|
<code><=</code>,<code>=</code>, which searches for
|
||||||
greater than, less than, greater than or equal to, less
|
greater than, less than, greater than or equal to, less
|
||||||
than or equal to, and strictly equal to, respectively.
|
than or equal to, and strictly equal to, respectively.
|
||||||
Tag does not need a field or operator, and only allows
|
Tag does not need a <code><field></code> or <code><operator></code>, and only allows
|
||||||
exact matches. As a quirk of this system, it is
|
exact matches. As a quirk of this system, it is
|
||||||
impossible to search for the tags "author", "title",
|
impossible to search for the tags "author", "title",
|
||||||
"hits" or "date",
|
"hits" or "date".
|
||||||
|
|
||||||
Examples:
|
<p>Examples:
|
||||||
|
|
||||||
<pre><code>+author=admin -meta</code></pre>
|
<pre><code>+author=admin -meta</code></pre>
|
||||||
Will return all stories by the users "admin" and "badminton_enthusiast" that do not include the "meta" tag.
|
<p>Will return all stories by the users "admin" and "badminton_enthusiast" that do not include the "meta" tag.
|
||||||
<pre><code>+hits>20 -date<=1609459201</code></pre>
|
<pre><code>+hits>20 -date>=1609459201</code></pre>
|
||||||
Will return all stories with more than 20 hits that were posted before January 1, 2021 (unix timestamp 1609459201).<br/>
|
<p>Will return all stories with more than 20 hits that were posted before January 1, 2021 (unix timestamp 1609459201).
|
||||||
While the date field is a little hard to use for humans, it may be useful for robots.
|
<p>While the date field is a little hard to use for humans, it may be useful for robots.
|
||||||
<h2>How do I enable reader mode on my story?</h2>
|
<h2>How do I enable reader mode on my story?</h2>
|
||||||
Unfortunately, there is no web standard about how reader
|
Unfortunately, there is no web standard about how reader
|
||||||
modes for different browsers work, and no way to hint to
|
modes for different browsers work, and no way to hint to
|
||||||
|
|
|
@ -4,7 +4,8 @@ body{
|
||||||
line-height:1.6;
|
line-height:1.6;
|
||||||
font-size:18px;
|
font-size:18px;
|
||||||
color:#444 !important;
|
color:#444 !important;
|
||||||
padding:0 10px
|
padding:0 10px;
|
||||||
|
font-family: "Garamond","Baskerville","Baskerville Old Face","Hoefler Text","Times New Roman","serif";
|
||||||
}
|
}
|
||||||
h1,h2,h3{line-height:1.2}
|
h1,h2,h3{line-height:1.2}
|
||||||
p,.tag-list{margin-bottom:0px}
|
p,.tag-list{margin-bottom:0px}
|
||||||
|
|
Loading…
Reference in New Issue