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

MaintainerBrent Yorgey <byorgey@gmail.com>
Safe HaskellSafe-Infered

Text.BlogLiterately.Image

Description

Uploading images embedded in posts to the server.

Synopsis

Documentation

uploadAllImages :: BlogLiterately -> Pandoc -> IO PandocSource

Transform a document by uploading any "local" images to the server, and replacing their filenames with the URLs returned by the server.

uploadIt :: String -> FilePath -> BlogLiterately -> IO (Maybe Value)Source

Upload a file using the metaWeblog.newMediaObject XML-RPC method call.

mkMediaObject :: FilePath -> IO (Maybe Value)Source

Prepare a file for upload.