GithubHelp home page GithubHelp logo

mtif's Introduction

Movable Type Import Format parser

Build Status

A very rough parser for the Movable Type Import Format (MTIF).

Example usage

See example.js

Contributing

If you've found a bug:

  • Submit away!

If you'd like to submit a PR:

  • I do not expect you to smash multiple commits into a single commit.
  • Unless you say otherwise, I'm assuming "maintainer-fixes" style of merging, where I fix any quibbles and potentially make minor tweaks. If you specify "maintainer-reviews", I'll maintain a list of things that I've identified for you to change.
  • If you've got a major patch in mind that's larger than an easily-mergable patch, you might consider writing up a blueprint describing what you want to do.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms -- see code of conduct

License?

BSD, see LICENSE.txt

mtif's People

Contributors

wirehead avatar

Watchers

James Cloos avatar

mtif's Issues

Parsed data is broken when BODY contains '-----'

I can't parse data it contains '-----'.

AUTHOR: hoge
TITLE: What happen
BASENAME: omg
STATUS: Publish
ALLOW COMMENTS: 0
CONVERT BREAKS: 0
DATE: 01/01/2019 00:00:00
CATEGORY: Help me
CATEGORY: Please Fix
-----
BODY:
ABCDE
ABCDE-----HOGEHOGE
-----
--------

I exported data from MovableType. It is example.
I execute console.log(entry) then Console route:

    pings: [],
    data: { category: [] },
    body: 'ABCDE\nABCDE',
    index: 0 } ]

Please help.

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.