Skip navigation directly to content...

Online HTML Fragments

You would like to display The Word in your website at an arbitrary position? Please use the address

https://bible2.net/service/today/inline/EnglishStandardVersion

The address returns The Word as HTML P elements. Using e.g. PHP, you may position these P elements anywhere in your page.

You may replace “EnglishStandardVersion” by any other of the supported Bible editions.

We cannot guarantee that this service will be available at all times! As an alternative to using this online service, you may download one of the packages that contain the text of The Word for one year.

Layout with CSS

HTML element . CSS class Example Description
div.TheWord - outer div element around p.TL, the two div.Parol and p.C
p.TL The Word for Thursday, 1 January 2008 Title line for one day. Contains two icons (right aligned) with links to the bible2.net start page and to the copyright page on bible2.net
div.Parol - div element around IL, L and SL
p.IL Paul writes: introduction line not contained in the bible text (has been added only to some verses)
p.L O my God, I cry by day,… Bible text on multiple lines. Each line has at most 65 characters. If you would like to preserve the line breaks, you may e.g. use the CSS style p.L:{white-space:pre;}
p.SL Psalm 22:2 Bible reference (in HTML title attribute, contains the bible edition used)
p.C We wish you… not used so far - for a comment about the day

CSS Example File

div.TheWord { margin: 0.2em; font-family: sans-serif; text-align: center; 
       color: #33cc33; background-color: #ffffff; }
p.TL { margin-bottom: 0.2em; font-weight: bold; border-bottom: 2px solid #cccccc; }
div.Parol { margin-top: 0.5em; border-bottom: 2px solid #cccccc; }
p.IL { font-style: italic; margin: 0; color: #009966;}
p.L  { white-space: pre; margin: 0;}
p.SL { font-style: italic; font-size: 90%; margin: 0; color: #009966;}
p.C  { white-space: pre; line-height: 1em; font-style: italic; 
       font-size: 90%; margin: 0.5em 0 0 0; color: #336666;}

Usage Example

Save the above CSS code into a file named e.g. block.css, and put the following lines into a PHP file named e.g. today.php in the same folder as block.css:

<head>
  <link rel='stylesheet' type='text/css' href='block.css'/>
</head>
<?php readfile("https://bible2.net/service/today/inline/EnglishStandardVersion"); ?>

HSteeb | 2013-12-17