John Banker (maltor) wrote in lj_userdoc,
John Banker
maltor
lj_userdoc

Error with Embedding documentation

There's an error with the Embedding via JavaScript example on this page:
http://www.livejournal.com/developer/embedding.bml?method=js

As the example is written, it will not be parsed by any web browser. It must be replaced with the old example that used to reside on that page:

<script language="JavaScript" src="http://www.livejournal.com/customview.cgi?username=test&styleid=101&enc=js">
</script>


Exibit A - http://www.intrex.net/banker/embedtest/index-a.html - Uses the corrected form

<html>
<body>

<SCRIPT LANGUAGE="JavaScript" SRC="http://www.livejournal.com/customview.cgi?user=maltor&styleid=51600&enc=js">
</script>

</body>
</html>

Exibit B - http://www.intrex.net/banker/embedtest/index-b.html - Uses the old/incorrect form

<html>
<body>

<SCRIPT LANGUAGE="JavaScript" SRC="http://www.livejournal.com/customview.cgi?user=maltor&styleid=51600&enc=js" />

</body>
</html>

When you look at the souce for the blank page on index-b.html you'll notice the script was never parsed be the browser.
Subscribe

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments