/usr/share/doc/libghc-blogliterately-doc/html/Text-BlogLiterately-Image.html is in libghc-blogliterately-doc 0.8.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Text.BlogLiterately.Image</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Text-BlogLiterately-Image.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Text-BlogLiterately-Image.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">BlogLiterately-0.8.4: A tool for posting Haskelly articles to blogs</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Copyright</th><td>(c) 2012 Brent Yorgey</td></tr><tr><th>License</th><td>GPL (see LICENSE)</td></tr><tr><th>Maintainer</th><td>Brent Yorgey <byorgey@gmail.com></td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell2010</td></tr></table><p class="caption">Text.BlogLiterately.Image</p></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Uploading images embedded in posts to the server.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:uploadAllImages">uploadAllImages</a> :: <a href="Text-BlogLiterately-Options.html#t:BlogLiterately">BlogLiterately</a> -> <a href="file:///usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a></li><li class="src short"><a href="#v:uploadIt">uploadIt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="Text-BlogLiterately-Options.html#t:BlogLiterately">BlogLiterately</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-haxr-doc/html/Network-XmlRpc-Internals.html#t:Value">Value</a>)</li><li class="src short"><a href="#v:mkMediaObject">mkMediaObject</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-haxr-doc/html/Network-XmlRpc-Internals.html#t:Value">Value</a>)</li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a id="v:uploadAllImages" class="def">uploadAllImages</a> :: <a href="Text-BlogLiterately-Options.html#t:BlogLiterately">BlogLiterately</a> -> <a href="file:///usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> <a href="file:///usr/share/doc/libghc-pandoc-types-doc/html/Text-Pandoc-Definition.html#t:Pandoc">Pandoc</a> <a href="src/Text-BlogLiterately-Image.html#uploadAllImages" class="link">Source</a> <a href="#v:uploadAllImages" class="selflink">#</a></p><div class="doc"><p>Transform a document by uploading any "local" images to the
server, and replacing their filenames with the URLs returned by
the server. Only upload any given image once (determined by file
name), even across runs: uploaded images and their associated URL
on the server is tracked in a special dotfile,
<code>.BlogLiterately-uploaded-images</code>.</p></div></div><div class="top"><p class="src"><a id="v:uploadIt" class="def">uploadIt</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-String.html#t:String">String</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="Text-BlogLiterately-Options.html#t:BlogLiterately">BlogLiterately</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-haxr-doc/html/Network-XmlRpc-Internals.html#t:Value">Value</a>) <a href="src/Text-BlogLiterately-Image.html#uploadIt" class="link">Source</a> <a href="#v:uploadIt" class="selflink">#</a></p><div class="doc"><p>Upload a file using the <code>metaWeblog.newMediaObject</code> XML-RPC method
call.</p></div></div><div class="top"><p class="src"><a id="v:mkMediaObject" class="def">mkMediaObject</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:FilePath">FilePath</a> -> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.0.0/Data-Maybe.html#t:Maybe">Maybe</a> <a href="file:///usr/share/doc/libghc-haxr-doc/html/Network-XmlRpc-Internals.html#t:Value">Value</a>) <a href="src/Text-BlogLiterately-Image.html#mkMediaObject" class="link">Source</a> <a href="#v:mkMediaObject" class="selflink">#</a></p><div class="doc"><p>Prepare a file for upload.</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.2</p></div></body></html>
|