Authors can now send a manuscript, headshot, bio, and pitch through a real form instead of "Coming soon." Posts multipart to eec's new /submissions endpoint (self-hosted, keeps the privacy policy's existing no-third-party-SaaS promise true). Also documents the new data collection in the privacy policy. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,9 @@ use of twosquirrelspress.com, and what happens to it.
|
||||
## What Two Squirrels Press collects
|
||||
|
||||
- Your name, email address, and message, when you submit the contact form.
|
||||
- Your name, email address, manuscript file, author bio, a description of
|
||||
your submission, the title or call it's for, and a headshot if you
|
||||
provide one, when you submit the submissions form.
|
||||
|
||||
That's it — this site doesn't run a newsletter, doesn't sell anything
|
||||
directly, and doesn't use third-party analytics, ad trackers, or tracking
|
||||
@@ -19,6 +22,7 @@ pixels.
|
||||
## Why Two Squirrels Press collects it
|
||||
|
||||
- To respond to messages sent through the contact form.
|
||||
- To evaluate submissions sent through the submissions form.
|
||||
|
||||
## What Two Squirrels Press doesn't do
|
||||
|
||||
|
||||
@@ -3,4 +3,6 @@ title: "Submissions"
|
||||
description: "How to submit work to Two Squirrels Press."
|
||||
---
|
||||
|
||||
Coming soon.
|
||||
We're always glad to look at character-driven speculative fiction and poetry. Markdown is our preferred format, but we'll happily take a `.docx`, `.odt`, or most other common document formats.
|
||||
|
||||
Send us your manuscript along with a short bio, a brief description of the piece, and a headshot if you have one — the form below covers all of it.
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ .Content }}
|
||||
|
||||
<form id="submissions-form" style="margin-top:2rem;">
|
||||
<label for="name">Name</label>
|
||||
<input type="text" id="name" name="name" required autocomplete="name">
|
||||
|
||||
<label for="email">Email</label>
|
||||
<input type="email" id="email" name="email" required autocomplete="email">
|
||||
|
||||
<label for="project">Which title or call is this for?</label>
|
||||
<input type="text" id="project" name="project" required>
|
||||
|
||||
<label for="description">Brief description of the submission</label>
|
||||
<textarea id="description" name="description" rows="4" required></textarea>
|
||||
|
||||
<label for="bio">Author bio</label>
|
||||
<textarea id="bio" name="bio" rows="4" required></textarea>
|
||||
|
||||
<label for="manuscript">Manuscript</label>
|
||||
<input type="file" id="manuscript" name="manuscript" accept=".md,.markdown,.txt,.docx,.doc,.odt,.rtf,.pdf" required>
|
||||
<p style="opacity:0.7; font-size:0.85rem; margin-top:-1rem;">Markdown preferred. Under ~15MB.</p>
|
||||
|
||||
<label for="headshot">Headshot (optional)</label>
|
||||
<input type="file" id="headshot" name="headshot" accept="image/*">
|
||||
<p style="opacity:0.7; font-size:0.85rem; margin-top:-1rem;">Under ~5MB.</p>
|
||||
|
||||
<div class="field-honeypot" aria-hidden="true">
|
||||
<label for="website">Leave this field empty</label>
|
||||
<input type="text" id="website" name="website" tabindex="-1" autocomplete="off">
|
||||
</div>
|
||||
|
||||
<button type="submit" class="btn">Send submission</button>
|
||||
</form>
|
||||
<p id="submissions-status" role="status" style="margin-top:1rem;"></p>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var form = document.getElementById("submissions-form");
|
||||
var status = document.getElementById("submissions-status");
|
||||
form.addEventListener("submit", function (e) {
|
||||
e.preventDefault();
|
||||
var formData = new FormData(form);
|
||||
var submitBtn = form.querySelector("button[type=submit]");
|
||||
submitBtn.disabled = true;
|
||||
status.textContent = "Sending…";
|
||||
fetch("{{ .Site.Params.eec_base_url }}/submissions", {
|
||||
method: "POST",
|
||||
body: formData
|
||||
}).then(function (res) {
|
||||
submitBtn.disabled = false;
|
||||
if (res.ok) {
|
||||
form.reset();
|
||||
status.textContent = "Thanks — we'll be in touch.";
|
||||
return;
|
||||
}
|
||||
return res.text().then(function (msg) {
|
||||
status.textContent = msg || "Something went wrong sending that. Try again, or email submissions@twosquirrelspress.com directly.";
|
||||
});
|
||||
}).catch(function () {
|
||||
submitBtn.disabled = false;
|
||||
status.textContent = "Something went wrong sending that. Try again, or email submissions@twosquirrelspress.com directly.";
|
||||
});
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user