Goobii

Goobii daily bible verse

Author: loadx | Filed Under: Christianity, bible, goobii

So i was pondering over displaying a daily verse here on Goobii and after a little effort you can see it working on the sidebar.

Thanks must go out to Good News and Crossway for providing the daily verse RSS feed (http://www.gnpcb.org/esv/share/rss2.0/daily/). To Stu Nicholls of CSS-Play for the image free rounded corner’s you see around the verse and last but not least the creators and maintainers of the PEAR package XML_RSS, of course i could parse it using PHP’s in-built parser but why bother when this does it for me in less than half the time :)

If you are interested in displaying a daily bible verse.
Include source and css is below…

Include in your php file one of the following:

  • code (with round corners):
    <?php include("http://www.goobii.com/scripts/bible_verse.php"); ?>

    Download this code: bible.php

  • code (without rounded corners)
    <?php include("http://www.goobii.com/scripts/biblenc.php"); ?>

    Download this code: biblenc.php

css:

/*Round Corners(without Images) thanks goes to Stu Nicholls of CSS-Play */
#xsnazzy h1, #xsnazzy h2, #xsnazzy p {margin:0 10px; letter-spacing:1px;}
#xsnazzy h1 {font-size:2.5em; color:#fff;}
#xsnazzy h2 {font-size:2em;color:#06a; border:0;}
#xsnazzy p {padding-bottom:0.5em;}
#xsnazzy h2 {padding-top:0.5em;}
#xsnazzy {background: transparent; margin:1em;}

.xtop, .xbottom {display:block; background:transparent; font-size:1px;}
.xb1, .xb2, .xb3, .xb4 {display:block; overflow:hidden;}
.xb1, .xb2, .xb3 {height:1px;}
.xb2, .xb3, .xb4 {background:#4F4F4F; border-left:1px solid #000; border-right:1px solid #000;}
.xb1 {margin:0 5px; background:#000;}
.xb2 {margin:0 3px; border-width:0 2px;}
.xb3 {margin:0 2px;}
.xb4 {height:2px; margin:0 1px;}

.xboxcontent {display:block; background:#4F4F4F; border:0 solid #000; border-width:0 1px; color: #FFF; font-family: verdana; padding: 3px; font-size: 0.8em;}
/* End Round Corners */

#bibleTitle{
padding-top: 10px;
font-style: italic;
text-align: right;
}

#bibleTitle a{ color: #FFF; }
#bibleTitle a:hover { color: #FFFC00; }
#bibleTitle a:visited (color: #FF0000; }

Download this code: bible.css

Enjoy,
God bless.

No Responses to 'Goobii daily bible verse'

Nothing here yet

Leave a Reply

Comment: