Categorygithub.com/yamadatt/movabletype
modulepackage
0.0.5
Repository: https://github.com/yamadatt/movabletype.git
Documentation: pkg.go.dev

# README

movabletype

Package movabletype provides parsing "The Movable Type Import / Export Format".

Link

Sample

package main

import (
	"fmt"
	"os"

	"github.com/yamadatt/movabletype"
)

func main() {
	entries, _ := movabletype.Parse(os.Stdin)

	for _, e := range entries {
		fmt.Println(e.Title)
	}
}

# Functions

NewMT creates MT.
Parse creates MT struct from io.Reader.

# Constants

If it is not inialized, AllowComments is -1.
If it is not inialized, AllowPings is -1.

# Structs

Entry
Movable Type Import Format.