HOW TO PUBLISH
Drop a file in PUBLISH. Its name is the address.
The one way any project puts a page on weiss.press. No GitHub, no model, no lock.
THE RULE
Drop a file in the Google Drive folder PUBLISH. Its name is the address.
- sewer-plan.md becomes sewer-plan.weiss.press
- Angelo Notes (a Google Doc) becomes angelo-notes.weiss.press
- A file with the same name replaces the page.
Within about 10 minutes the page is live, it is listed on web.weiss.press, and the file moves to PUBLISH / PUBLISHED.
WHERE
- Drive folder PUBLISH, at the top of My Drive. Folder ID 1DsCoXHw7PUA4JnTU05Z5qJdt3_Bpssa5
- PUBLISHED inside it: files whose page is live, each renamed with the date and time it went up.
- REFUSED inside it: files that could not be published. The reason is in INTAKE_LOG.csv in the repo (modules/publish-intake).
WHAT TO DROP
- A Google Doc, or a .md, .txt, .html or .docx file. A .json file in the press-build shape is used as it is.
- The first # heading is the title. ## starts a section, ### a smaller heading. Lists, quotes and tables come through.
- To set the kicker, deck or byline, start the file with three lines like these between two lines of three hyphens: title: ..., kicker: ..., deck: ...
- Pictures are not carried yet. Links keep their address in brackets.
- Every page is open, with no lock, unlisted and not indexed by search engines, in the same house look as every weiss.press page.
WHAT IS REFUSED
- A name already used by a page this intake did not make, such as web, day or sewer. Rename the file.
- Sheets, Slides, PDFs and pictures.
- A file over 2 MB.
WHAT HAPPENS
- A GitHub Action runs every 10 minutes and reads PUBLISH.
- Each file goes through press-build and the house template.
- The page gets its own address and a row on web.weiss.press.
- The change is pushed to the repo and Cloudflare puts it live.
- Once the address serves the new page, the file moves to PUBLISHED.
No model reads or writes anything. No PDF is made. A PDF or a Kindle Scribe copy is made on the Dell, never by this job.