• 4evrblu

    (@4evrblu)


    My widget VOTD (Verse of the Day) sporadically fails to validate.

    Go to https://totalphysiqueonline.com/ and have a look:

    https://totalphysiqueonline.com/ The validation link is in my meta section top left of page.

    Is this a conflict with my doc declaration?

    I can tell you this much: Sometimes the code validates, and sometimes it does not. It seems to depend on what information is on the sidebar. When I added my script for my delicious tags is when things got wonky with my verse of the day. Hmmm

Viewing 5 replies - 1 through 5 (of 5 total)
  • whooami

    (@whooami)

    ampersands need to be encoded, the validator tells you that :

    & == &

    in a link, outside of a link. If you want to validate, you HAVE to do that. And fixing that will fix the subsequent errors.

    whooami

    (@whooami)

    whooami

    (@whooami)

    open votd.php

    locate:

    <script language="JavaScript" src="https://www.biblegateway.com/usage/votd/votd2html.php?version=<?php echo $bver; ?>&amp;jscript=1&newtarget=1">
    </script>
    <!-- alternative for no javascript --><noscript>
    <a href="https://www.biblegateway.com/usage/votd/votd2html.php?version=<?php echo $bver; ?>&amp;jscript=0&newtarget=1">View Verse of the Day</a>
    </noscript>

    change &new to &amp;new in both locations.

    Thread Starter 4evrblu

    (@4evrblu)

    Whooami, thank you, I suspected it was the ampersand, but I could not remember what the code for it was.

    Thanks!!!

    Thread Starter 4evrblu

    (@4evrblu)

    this is such a great community!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Verse of the Day won’t validate.’ is closed to new replies.