<commit_before># QCast - InfoQ presentation podcast

A podcast feed (audio & video) for InfoQ presentations.

![Landing site](https://raw.githubusercontent.com/djui/qcast/master/screenshot.png)


## Installation

Either using Leiningen:

    $ ./start.sh

or

    $ lein run

Or using Java:

    $ lein uberjar
    $ java -jar qcast-standalone.jar


## Usage

The Overview page can be reached at:
[remote](https://infoqcast.herokuapp.com/) or
[local](http://localhost:8080/).

The Feed can be reached at: [remote feed](https://infoqcast.herokuapp.com/feed)
or [local feed](https://localhost:8080/feed).


## Components

The application quite small and currently has just under 900 LoC currently uses
[HTTP-Kit](https://github.com/http-kit/http-kit) as server instead of
[Ring](https://github.com/ring-clojure/ring), but there is not really reason
for either choice.

For HTML scraping is done using [Enlive](https://github.com/cgrand/enlive)
and the XML feeds are produced using
[Hiccup](https://github.com/weavejester/hiccup).

For logging, [Timbre](https://github.com/ptaoussanis/timbre) is used; it's
nice as it doesn't require XML or property files.

The data store can be a SQLite database for testing or PostgreSQL for
production and hosting.


## Design

                                  :              :
                     +---------+  :              : +---------+
                     |  Feed   |  :              : |  InfoQ  |
                     +---------+  :              : +---------+
                          ^       :              :      ^
                          |       :              :      |
                          v       :              :      v
    +----------+     +---------+  : +---------+  : +---------+    +---------+
    |  Client  |<--->| Server  |<---|  Cache  |<---| Scraper |<---| Ticker  |
    +----------+     +---------+  : +---------+  : +---------+    +---------+
                                  :      ^       :
                                  :      |       :
                                  :      v       :
                                  : +---------+  :
                                  : |   DB    |  :
                                  : +---------+  :
                                  :              :


## Credits

Thanks to [InfoQ](http://www.infoq.com) for their great service!


## Contributors

Thanks to the following set of people that helped to find, debug, and fix bugs:

- [i-s-o-g-r-a-m](https://github.com/i-s-o-g-r-a-m)
- [JKesMc9tqIQe9M](https://github.com/JKesMc9tqIQe9M)


## License

Copyright © 2013-2015 <NAME> <<EMAIL>>

Distributed under the Eclipse Public License either version 1.0 or (at your
option) any later version.
<commit_msg>Reformat paragraphs<commit_after># QCast - InfoQ presentation podcast

A podcast feed (audio & video) for InfoQ presentations.

![Landing site](https://raw.githubusercontent.com/djui/qcast/master/screenshot.png)


## Installation

Either using Leiningen:

    $ ./start.sh

or

    $ lein run

Or using Java:

    $ lein uberjar
    $ java -jar qcast-standalone.jar


## Usage

The Overview page can be reached at: [remote](https://infoqcast.herokuapp.com/)
or [local](http://localhost:8080/).

The Feed can be reached at: [remote feed](https://infoqcast.herokuapp.com/feed)
or [local feed](https://localhost:8080/feed).


## Components

The application quite small and currently has just under 900 LoC currently uses
[HTTP-Kit](https://github.com/http-kit/http-kit) as server instead of
[Ring](https://github.com/ring-clojure/ring), but there is not really reason for
either choice.

For HTML scraping is done using [Enlive](https://github.com/cgrand/enlive) and
the XML feeds are produced using
[Hiccup](https://github.com/weavejester/hiccup).

For logging, [Timbre](https://github.com/ptaoussanis/timbre) is used; it's nice
as it doesn't require XML or property files.

The data store can be a SQLite database for testing or PostgreSQL for production
and hosting.


## Design

                                  :              :
                     +---------+  :              : +---------+
                     |  Feed   |  :              : |  InfoQ  |
                     +---------+  :              : +---------+
                          ^       :              :      ^
                          |       :              :      |
                          v       :              :      v
    +----------+     +---------+  : +---------+  : +---------+    +---------+
    |  Client  |<--->| Server  |<---|  Cache  |<---| Scraper |<---| Ticker  |
    +----------+     +---------+  : +---------+  : +---------+    +---------+
                                  :      ^       :
                                  :      |       :
                                  :      v       :
                                  : +---------+  :
                                  : |   DB    |  :
                                  : +---------+  :
                                  :              :


## Credits

Thanks to [InfoQ](http://www.infoq.com) for their great service!


## Contributors

Thanks to the following set of people that helped to find, debug, and fix bugs:

- [i-s-o-g-r-a-m](https://github.com/i-s-o-g-r-a-m)
- [JKesMc9tqIQe9M](https://github.com/JKesMc9tqIQe9M)


## License

Copyright © 2013-2015 <NAME> <<EMAIL>>

Distributed under the Eclipse Public License either version 1.0 or (at your
option) any later version.

{'fraction_non_alphanumeric': 0.16923641703377387, 'fraction_numerical': 0.009177679882525698, 'mean_word_length': 1.2516528925619834, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 11, 'https://': 22, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 42, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4453000', 'n_tokens_mistral': 1674, 'n_tokens_neox': 1539, 'n_words': 377}