Coder Social home page Coder Social logo

postmigrator's Introduction

README

postmigrator.py is a tool to help migrate backed up posts from Live Journal blog. I used a tool called ljcharm to back up posts from my livejournal, but needed something to convert them into markdown, to then feed jekyll, to get the resultant HTML content for my site, and postmigrator was the result.

Usage

  1. Run ljcharm and choose appropriate options to decide on how many/which posts you want to migrate. You can refer to the manual for ljcharm, detailing the options.
  2. Create a directory and place the directory containing the files retrieved using ljcharm, into it. Do not have any other files (other than the files present in this repo, and the retrieved posts directory) in this directory.
  3. Execute postmigrator.py. Metadata entries are preserved/converted for date, title, mood, and music.
  4. Tags from the old blogs may or may not be relevant, so the original tags get replaced by a single 'archived-posts' tag, by default; if you wish to retain the original tags, use the --retain-tags option.
  5. If you wish additional fields to be added to the YAML front-matter in the resulting markdown files, add them into addl_metadata
  6. postmigrator respects the security/visibility settings present in the original blog posts; general posts are present in the output directory, and custom, friends, and private posts are written into the respectively named directories, under output.

postmigrator's People

Contributors

pchengi2 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.