postprocessor

package
v0.0.0-...-685a0e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2016 License: MIT Imports: 7 Imported by: 1

Documentation

Overview

postprocessor process the new post from user and save it into database also it defines multimedias name in that post (like images, videos) and tell the http handler to require user to upload those files. It also defines the way to translate selfdefined language into HTML/JS/CSS

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPostEmpty           = errors.New("Original Post is empty")
	ErrPostMissBorE        = errors.New("Original Post format missed /begin or /end or they are in missorder")
	ErrPostSciMarkNotMatch = errors.New("Original Post contants single $$, which is a SciMark that need to be paired")
)

Errs

Functions

func Process

func Process(data *post.Post) error

Process render the post original md content. Process may returns erorr

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL