@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix content: <http://purl.org/rss/1.0/modules/content/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<https://lhero.org/?p=137>
  a sioc:Post ;
  dc:title "LH Save Down" ;
  dcterms:identifier 137 ;
  dc:modified "2026-10-11T16:33:32Z"^^xsd:dateTime ;
  dc:created "2015-03-23T13:19:08Z"^^xsd:dateTime ;
  sioc:link <https://lhero.org/portfolio/lh-save-down/> ;
  sioc:has_creator <https://lhero.org/author/1/#account> ;
  sioc:has_container <https://lhero.org/#posts> ;
  content:encoded """<ul class="lh_portfolio-meta"><li><strong>Type:</strong> Plugin</li><li><strong>Lifecycle Stage:</strong> Active</li></ul>
<p class="wp-block-paragraph">LH Save Down lets visitors download any post, page or custom post type as a plain HTML file, a plain text file, a PDF or an EPUB e-book. Download links can be added to classic menus or to navigation blocks, and each one points at a signed, expiring export of the page it appears on.</p>



<p class="wp-block-paragraph">Exports show what the page shows. When the block template displaying a post marks a document region, the export renders that region; otherwise it renders the title and post content. Every export format can be customised with a template in the theme.</p>



<h2 class="wp-block-heading">Key features</h2>



<ul class="wp-block-list"><li><strong>Four formats:</strong> HTML, plain text, PDF (via mPDF) and EPUB (via PHPePub).</li><li><strong>Links in menus and navigation:</strong> Plain HTML, Plain Text, PDF and Epub links are available in classic menus and in a navigation block&#8217;s inserter. On a single post or page each link points at that page&#8217;s export; elsewhere it is left out.</li><li><strong>Signed, expiring links:</strong> every export URL carries a token tied to the post, the format and an expiry time (24 hours by default), so links work for anyone who has one, including visitors who aren&#8217;t logged in, and only until they expire. Posts that are not public, such as restricted governance documents, can be exported only through a valid link.</li><li><strong>Not indexed or cached:</strong> exports send noindex and nofollow headers and a canonical link back to the post. Exports of posts that are not public, and refused requests, are never page-cached.</li><li><strong>Language aware:</strong> exports declare the site language, and the PDF picks a suitable font for it automatically.</li><li><strong>MCP:</strong> an ability returns a signed export URL for a post and format.</li></ul>



<h2 class="wp-block-heading">Requirements</h2>



<ul class="wp-block-list"><li>PHP 8.1+.</li><li>The <code>vendor/</code> directory with mPDF and PHPePub, installed with <code>composer install</code> in the plugin directory.</li><li>Pretty permalinks; resave them after activating.</li><li>Optional: LH Content Converter 2.3.0+ for document-region exports.</li></ul>



<h2 class="wp-block-heading">Documentation</h2>


<ul class="lh_portfolio-doc-toc"><li><a href="https://lhero.org/portfolio/lh-save-down/using-lh-save-down/">Using LH Save Down</a></li><li><a href="https://lhero.org/portfolio/lh-save-down/abilities/">Abilities</a></li><li><a href="https://lhero.org/portfolio/lh-save-down/changelog/">Changelog</a></li></ul>"""^^rdf:XMLLiteral ;
  sioc:content """Type: PluginLifecycle Stage: Active
LH Save Down lets visitors download any post, page or custom post type as a plain HTML file, a plain text file, a PDF or an EPUB e-book. Download links can be added to classic menus or to navigation blocks, and each one points at a signed, expiring export of the page it appears on.



Exports show what the page shows. When the block template displaying a post marks a document region, the export renders that region; otherwise it renders the title and post content. Every export format can be customised with a template in the theme.



Key features



Four formats: HTML, plain text, PDF (via mPDF) and EPUB (via PHPePub).Links in menus and navigation: Plain HTML, Plain Text, PDF and Epub links are available in classic menus and in a navigation block&#8217;s inserter. On a single post or page each link points at that page&#8217;s export; elsewhere it is left out.Signed, expiring links: every export URL carries a token tied to the post, the format and an expiry time (24 hours by default), so links work for anyone who has one, including visitors who aren&#8217;t logged in, and only until they expire. Posts that are not public, such as restricted governance documents, can be exported only through a valid link.Not indexed or cached: exports send noindex and nofollow headers and a canonical link back to the post. Exports of posts that are not public, and refused requests, are never page-cached.Language aware: exports declare the site language, and the PDF picks a suitable font for it automatically.MCP: an ability returns a signed export URL for a post and format.



Requirements



PHP 8.1+.The vendor/ directory with mPDF and PHPePub, installed with composer install in the plugin directory.Pretty permalinks; resave them after activating.Optional: LH Content Converter 2.3.0+ for document-region exports.



Documentation


Using LH Save DownAbilitiesChangelog""" ;
  foaf:depiction <https://lhero.org/?p=140> ;
  sioc:topic <https://lhero.org/lh_portfolio-type/plugin/>, <https://lhero.org/lh_portfolio-lifecycle-stage/active/>, <https://lhero.org/?taxonomy=lh_portfolio-tags&term=export>, <https://lhero.org/?taxonomy=lh_portfolio-tags&term=html>, <https://lhero.org/?taxonomy=lh_portfolio-tags&term=download>, <https://lhero.org/?taxonomy=lh_portfolio-tags&term=pdf>, <https://lhero.org/?taxonomy=lh_portfolio-tags&term=epub>, <https://lhero.org/?taxonomy=author&term=cap-1> ;
  sioc:attachment <https://lhero.org/?p=140> .

<https://lhero.org/author/1/#account> rdfs:seeAlso <https://lhero.org/author/1/?feed=lhrdf&format=turtle> .
<https://lhero.org/?p=140>
  a foaf:Image ;
  rdfs:seeAlso <https://lhero.org/portfolio/lh-save-down/octicons-cloud-download/?feed=lhrdf&format=turtle> .

<https://lhero.org/lh_portfolio-type/plugin/> rdfs:seeAlso <https://lhero.org/lh_portfolio-type/plugin/?feed=lhrdf&format=turtle> .
<https://lhero.org/lh_portfolio-lifecycle-stage/active/> rdfs:seeAlso <https://lhero.org/lh_portfolio-lifecycle-stage/active/?feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_portfolio-tags&term=export> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_portfolio-tags&term=export&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_portfolio-tags&term=html> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_portfolio-tags&term=html&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_portfolio-tags&term=download> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_portfolio-tags&term=download&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_portfolio-tags&term=pdf> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_portfolio-tags&term=pdf&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=lh_portfolio-tags&term=epub> rdfs:seeAlso <https://lhero.org/?taxonomy=lh_portfolio-tags&term=epub&feed=lhrdf&format=turtle> .
<https://lhero.org/?taxonomy=author&term=cap-1> rdfs:seeAlso <https://lhero.org/?taxonomy=author&term=cap-1&feed=lhrdf&format=turtle> .
