| Maintainer | Brent Yorgey <byorgey@gmail.com> |
|---|---|
| Safe Haskell | None |
Text.BlogLiterately.Post
Description
Uploading posts to the server.
Documentation
Arguments
| :: String | Post title |
| -> String | Post content |
| -> [String] | List of categories |
| -> [String] | List of tags |
| -> Bool |
|
| -> [(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.