Git Product home page Git Product logo

read-offline's Introduction

Build Status Code Climate

Read Offline

Read Offline allows you to download or print posts and pages. You can download the post as PDF, ePub or mobi

Demo examples | Features | Feedback & Support | Todo | Changelog | Installation | Use | FAQ | Screenshots | Credits

Demo examples

Based on the UTF-8 sampler from the Kermit project:

  • PDF
    • Cover art
    • Table of Contents
    • Header and footer
    • Watermark
    • Protected, only print enabled
  • ePub
    • Cover art
    • Table of Contents
  • mobi
    • Cover Art
    • Table of Contents

For full PDF font support, you must add the Read Offline Fonts add-on plugin.

Features

  • Add download links to the top and bottom of a post or page (configurable in Read Offline->General Options)
  • You can download a PDF, ePub or mobi file containing the current post or page, or you can print the post / page.
  • The download filename is based on the posts slug ($post->post_name)
  • Adds meta data to the file
    • Title, Author, Date, Copyright message etc.
  • PDF features (set in Read Offline->PDF)
    • Paper formats (A0 - A10, B0 - B10, C0 - C10, 4A0, 2A0, RA0 - RA4, SRA0 - SRA4, Letter, Legal, Executive, Folio, Demy and Royal)
    • Table of Contents
    • Cover Page
    • Header and Footer
    • Theme or Custom CSS
    • Watermark
    • Protection
  • ePub (set in Read Offline->ePub)
    • Table of Contents
    • Cover Page (static or per post feature image)
    • Custom CSS
  • mobi (set in Read Offline->mobi)
    • Table of Contents
    • Cover Page
  • Print features (set in Read Offline->print)
    • Add print header text
    • Custom print style
  • Permalink support (/read-offline/"postid"/"post-name"."type"). I've written a "how-to add a permalink to your plugin" guide at soderlind.no
  • Google Analytics read-offline event tracking. You can find these under Content » Events in your Google Analytics reports. Assumes you’re using the Asynchronous version of Google Analytics
  • languages/read-offline.po for easy translation.
  • Support for all mPDF fonts via the Read Offline Fonts add-on plugin

Feedback & Support

If you have any requests, issues, or other feedback to provide on this beta, please use the links below.

Todo

Issues tagged enhancement are planed enhancements.

Changelog

Please see the CHANGELOG.md file.

Installation

  1. Download the plugin and extract the read-offline.zip
  2. Upload the extracted read-offline folder to the /wp-content/plugins/ directory
  3. Activate the plugin through the 'Plugins' menu in WordPress

Use

  1. Add it to the top or bottom of each post and/or page (See Read Offline->General Options).
  2. [pdf], [epub], [mobi] and [print] shortcodes, attributes:
    • text="Download link text", default: text="Download PDF" etc.
    • icon="false", default: icon="true"

FAQ

How do I add download links?

There are 2 ways you can add the Read Offline links:

  1. Add it to the top or bottom of each post and/or page (See Read Offline->General Options).
  2. [pdf], [epub], [mobi] and [print] shortcodes, attributes:
    • text="Download link text", default: text="Download PDF" etc.
    • icon="false", default: icon="true"

Does the plugin support RTL output?

  1. RTL, right-to-left writing direction, is supported in PDF and ePub. For PDF, you'll most likely need the Read Offline Fonts add-on plugin.

Screenshots

1. Read Offline -> General Options

Read Offline -> General Options

2. Read Offline -> PDF

Read Offline -> PDF

3. Read Offline -> ePub

Read Offline -> Print

4. Read Offline -> mobi

Read Offline -> Print

5. Read Offline -> print

Read Offline -> Print

Developer Notes

Current Version: 0.7.6

Credits

Please see CREDITS.md

read-offline's People

Contributors

soderlind avatar bengodfrey avatar

Stargazers

Vilav B. avatar

Watchers

 avatar James Cloos avatar Wes Turner-Harris avatar  avatar  avatar Lucas J Ballasy avatar Max Rolon avatar  avatar Seneca Meeks  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.