<commit_before># VotD - (Bible) Verse of the Day

[![Build Status](https://secure.travis-ci.org/doctorbh/votd.png?branch=master)](http://travis-ci.org/doctorbh/votd)

VotD (Verse of the Day) is a Ruby Gem that wraps various web services that generate
daily Bible Verses.


Currently the gem supports two VotD web services:

* [Bible.org](http://labs.bible.org) - NETBible Translation
* [Bible Gateway](http://www.biblegateway.com) - NIV Translations (Currently only supporting the default NIV, but planning on adding more.)

Other services are are planned:

* [Bible Gateway](http://www.biblegateway.com) - More Translations
 
* [ESV Bible Web Service](http://www.esvapi.org/) - ESV Translation

If you are able to contribute modules for any of these, please see our [CONTRIBUTING](https://github.com/doctorbh/votd/blob/master/CONTRIBUTING.md) file. Let us know before you begin work in case someone else has a module in-progress.

## Installation

Add this line to your application's Gemfile:

    gem 'votd'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install votd

## Usage

To use VotD in your code:

    require 'votd'
    
    votd = Votd.NetBible.new
    
    # or votd = Votd.BibleGateway.new
    
    votd.reference   # Ephesians 2:8-9
    votd.text        # For by grace you are saved through faith...
    votd.date        # 2012-03-24
    votd.version     # NETBible
    votd.copyright   # Copyright (c)…
    
    votd.to_html     # <p class="votd-text">For by grace you are saved through faith...
    
Full text of HTML formatted VotD looks like the following

    <p class="votd-text">For by grace you are saved through faith... it is not from works, so that no one can boast.</p>
    <p>
    <span class="votd-reference"><strong>Ephesians 2:8-9</strong></span>
	<span class="votd-version"><em>(NETBible)</em></span>
	</p>

You can then use the provided CSS classes to style the VotD.

For command-line usage see [here](https://github.com/doctorbh/votd/wiki/Shell-Tool)<commit_msg>README tweak<commit_after># VotD - (Bible) Verse of the Day

[![Build Status](https://secure.travis-ci.org/doctorbh/votd.png?branch=master)](http://travis-ci.org/doctorbh/votd)

VotD (Verse of the Day) is a Ruby Gem that wraps various web services that generate
daily Bible Verses.


Currently the gem supports two VotD web services:

* [Bible.org](http://labs.bible.org) - NETBible Translation
* [Bible Gateway](http://www.biblegateway.com) - NIV Translations (Currently only supporting the default NIV, but planning on adding more.)

Other services are are planned:

* [Bible Gateway](http://www.biblegateway.com) - More Translations
 
* [ESV Bible Web Service](http://www.esvapi.org/) - ESV Translation

If you are able to contribute modules for any of these, please see our [CONTRIBUTING](https://github.com/doctorbh/votd/blob/master/CONTRIBUTING.md) file. Let us know before you begin work in case someone else has a module in-progress.

## Installation

Add this line to your application's Gemfile:

    gem 'votd'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install votd

## Usage

To use VotD in your code:

    require 'votd'
    
    votd = Votd.NetBible.new
    
    # or votd = Votd.BibleGateway.new
    
    votd.reference   # Ephesians 2:8-9
    votd.text        # For by grace you are saved through faith...
    votd.date        # 2012-03-24
    votd.version     # NIV
    votd.copyright   # Copyright © ...
    
    votd.to_html     # <p class="votd-text">For by grace you are saved through faith...
    
Full text of HTML formatted VotD looks like the following

    <p class="votd-text">For by grace you are saved through faith... it is not from works, so that no one can boast.</p>
    <p>
    <span class="votd-reference"><strong>Ephesians 2:8-9</strong></span>
	<span class="votd-version"><em>(NETBible)</em></span>
	</p>

You can then use the provided CSS classes to style the VotD.

For command-line usage see [here](https://github.com/doctorbh/votd/wiki/Shell-Tool)
{'fraction_non_alphanumeric': 0.11215647437484526, 'fraction_numerical': 0.006932409012131715, 'mean_word_length': 3.261603375527426, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 29, 'https://': 6, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3153434', 'n_tokens_mistral': 1395, 'n_tokens_neox': 1338, 'n_words': 438}