Home

Awesome

<img src="https://github.com/exyte/ReadabilityKit/blob/master/Assets/header.png"> <img align="right" src="https://raw.githubusercontent.com/exyte/ReadabilityKit/master/Assets/demo.gif" width="480" /> <p><h1 align="left">ReadabilityKit</h1></p> <p><h4>Preview extractor for news, articles and full-texts in Swift</h4></p>
<p> We are a development agency building <a href="https://clutch.co/profile/exyte#review-731233">phenomenal</a> apps.</p> </br>

<a href="https://exyte.com/contacts"><img src="https://i.imgur.com/vGjsQPt.png" width="134" height="34"></a> <a href="https://twitter.com/exyteHQ"><img src="https://i.imgur.com/DngwSn1.png" width="165" height="34"></a>

</br></br>

License: MIT Cocoapods Compatible Carthage Compatible

!Project is now archived!

No further maintenance will be performed

Features

Extracts:

Usage

let articleUrl = URL(string: "https://someurl.com/")!
Readability.parse(url: articleUrl, completion: { data in
    let title = data?.title
    let description = data?.description
    let keywords = data?.keywords
    let imageUrl = data?.topImage
    let videoUrl = data?.topVideo
    let datePublished = data?.datePublished
})

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

CocoaPods

pod 'ReadabilityKit'

Carthage

github "exyte/ReadabilityKit"

Manually

  1. Install Ji XML parser.
  2. Download and drop all files from Sources folder in your project.

Development Environment Setup

  1. Install Carthage.
  2. Check out and build the project's dependencies:
carthage bootstrap --platform <name>

Requirements

License

ReadabilityKit is available under the MIT license. See the LICENSE file for more info.