Page MenuHomewrite.as

Support importing TXT/MD files
Open, NormalPublic

Description

Overview

The new WriteFreely import functionality (T608) should also support plain .txt and .md files.

Background

We should aim to be as flexible as possible in supporting writing from other sources. Some users might have a cache of plain text files saved on their computer that they'd like to publish -- we should support that.

Implementation

Allow users to select multiple files of type .txt or .md. Parse each one and publish it as we do with the txt files from a ZIP import.

Prior art on publishing text files via the API: https://github.com/writeas/writeas-api/tree/master/examples/go-text-importer

Event Timeline

matt created this task.May 30 2019, 1:13 AM
matt updated the task description. (Show Details)
matt triaged this task as Wishlist priority.
matt added a comment.Jun 4 2019, 6:51 PM

Just to mention, here's some prior art on publishing text files via the API: https://github.com/writeas/writeas-api/tree/master/examples/go-text-importer

matt moved this task from Far Future to After Soon on the WriteFreely board.Aug 14 2019, 4:24 PM
matt raised the priority of this task from Wishlist to Normal.Aug 14 2019, 5:00 PM

This is important for people with different workflows, so this is the next highest priority after T571: Import posts from WordPress and {T646}.

Maybe there can also be some tie-in / code-reuse with {T584}?

matt updated the task description. (Show Details)Aug 14 2019, 9:47 PM