Page MenuHomewrite.as

Support importing posts from zip file
Open, LowPublic

Description

Overview

Users should be able to migrate all their writing between Write.as and Write Freely blogs/instances.

Implementation

ZIP:

  • Add Import button in Account Settings or wherever makes sense
  • Accept a *.zip file upload
  • Parse the archive, importing only *.txt files
    • Top-level files become anonymous posts / drafts
    • Directories create blogs (or skip creation if a blog with the name exists)
    • Files in directories get published to their corresponding blogs
    • The file's modified date is used as the post's created value; other metadata is left NULL

JSON:

  • Add Import button in Account Settings or wherever makes sense
  • Accept a *.json file upload (of entire account)
  • Parse the file
    • Posts in the top-level posts array becomes anonymous posts / drafts
    • Create blogs from collections array
    • Publish posts containing all the same metadata for each post in the collections[x].posts array

Changes to Export

We might also consider including some metadata in exported zip archives -- if not for every post, at least for each directory / blog.

Write.as Import

Paid plans limit how many blogs someone can have, so maybe add another screen that lets users check off which directories / blogs they'd like to import.

Event Timeline

matt created this task.Nov 7 2018, 6:36 PM
matt triaged this task as Low priority.
matt created this object with visibility "Public (No Login Required)".
matt moved this task from Backlog to Far Future on the Write.as Web board.Thu, Apr 4, 10:15 PM
matt moved this task from Far Future to Next on the WriteFreely board.Sat, Apr 6, 6:44 PM