Git Product home page Git Product logo

readability-objc's Introduction

#readability Objective-C

This is an Objective-C port of a python port of a ruby port of arc90's readability project.

The goal is that given a URL, an HTML document or a Safari webarchive, it will pull out the main body text and clean it up.

Currently it deviates from the original in various ways:

  • Some implementation details were changed for performance reasons, others to speed up porting.
  • It does not accept and produce HTML strings directly.
    • main.m demonstrates how to use NSXMLDocument objects instead.
  • There still are bugs in this port that are a result of porting.

readability-objc uses KBWebArchiver to create a webarchive from the input if necessary. Amongst other things, this enables the automatic encoding detection implemented in WebKit.

KBWebArchiver is included as a submodule. After cloning a main repository, you initialize submodules by typing:

git submodule init
git submodule update

The code is licensed under the Apache License, Version 2.0.

##Based on:

##Command-line usage demo:

readability -url http://pypi.python.org/pypi/readability-lxml

readability-objc's People

Contributors

janx2 avatar

Stargazers

Leo Zhao avatar Andy Chentsov avatar

Watchers

James Cloos 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.