Permalink
Browse files

Merge branch 'master' into develop

  • Loading branch information...
2 parents f9ffd4f + fca0b97 commit 6155b4ac516fac0c2b18e43e35fc4d2620d3e969 @ivkosh committed Feb 23, 2011
Showing with 910 additions and 2,337 deletions.
  1. +3 −0 .gitignore
  2. +674 −0 COPYING
  3. +13 −0 Makefile
  4. +14 −3 README.md
  5. BIN rebar
  6. +7 −0 rebar.config
  7. +1 −0 runme.sh
  8. +0 −354 src/mochinum.erl
  9. +0 −317 src/mochiutf8.erl
  10. +0 −308 src/mochiweb_charref.erl
  11. +0 −1,264 src/mochiweb_html.erl
  12. +1 −1 src/rdbl.app.src
  13. +197 −90 src/rdbl.erl
View
@@ -6,3 +6,6 @@ ebin/*
.settings/*
.project*
TODO
+doc/*
+.eunit/*
+deps/*
View
674 COPYING

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -0,0 +1,13 @@
+REBAR=./rebar
+
+all:
+ @$(REBAR) get-deps compile
+
+test:
+ @rm -rf .eunit
+ @mkdir -p .eunit
+ @$(REBAR) skip_deps=true eunit
+
+clean:
+ @$(REBAR) clean
+
View
@@ -1,8 +1,19 @@
rdbl.erl - Erlang readability library
--------------------------------------
+=====================================
This is Erlang library to extract reasonable content and remove junk from html pages.
-Based on ideas from readability.js by arc90.
+Inspired by readability.js from arc90.
+
+Source is primary hosted at [github.com/ivkosh](https://github.com/ivkosh/rdbl).
+My [Readabilizer service](http://evl.me/) is using this library to extract content from web pages.
+
+Licensing and author
+--------------------
+
+This library is distributed under the GNU General Public License version 3 and is also available
+under alternative licenses negotiated directly with rdbl author Ivan Koshkin <ivan@koshkin.me>.
+
+The GPL (version 3) is included in this source tree in the file COPYING.
Installation
------------
@@ -24,4 +35,4 @@ See other examples in rdbl.erl.
Dependencies
------------
Library uses [mochiweb](https://github.com/mochi/mochiweb) html library to parse HTML-content (included).
-
+Only following files from mochiweb are needed: mochinum.erl, mochiutf8.erl, mochiweb_charref.erl, mochiweb_html.erl.
View
BIN rebar
Binary file not shown.
View
@@ -0,0 +1,7 @@
+%% -*- erlang -*-
+{erl_opts, [debug_info]}.
+{deps, [
+ {mochiweb, ".*",
+ {git, "git://github.com/mochi/mochiweb.git", "master"}}]}.
+{cover_enabled, true}.
+{eunit_opts, [verbose, {report,{eunit_surefire,[{dir,"."}]}}]}.
View
@@ -0,0 +1 @@
+exec erl -pa ebin deps/*/ebin
Oops, something went wrong.

0 comments on commit 6155b4a

Please sign in to comment.