BlogLiterately-0.7.0.1: A tool for posting Haskelly articles to blogs

MaintainerBrent Yorgey <byorgey@gmail.com>
Safe HaskellNone

Text.BlogLiterately.Post

Description

Uploading posts to the server.

Synopsis

Documentation

mkPostSource

Arguments

:: String

Post title

-> String

Post content

-> [String]

List of categories

-> [String]

List of tags

-> Bool

True = page, False = post

-> [(String, Value)] 

Prepare a post for uploading by creating something of the proper form to be an argument to an XML-RPC call.

mkArray :: XmlRpcType [a] => String -> [a] -> [(String, Value)]Source

Given a name and a list of values, create a named "array" field suitable for inclusion in an XML-RPC struct.

postIt :: BlogLiterately -> String -> IO ()Source

Given a configuration and a formatted post, upload it to the server.