Fix Fatal Error in Yahoo Blueprint Application

In this last week, I explored new Mobile Platform that is published by Yahoo. It is called Yahoo Blueprint. That is a platform for building mobile application. Blueprint language actually is simple XML markup. That markup, later will be parsed by somekind of engine in Yahoo server before displayed on mobile user screen. Blueprint code itself is put in our server. For dynamic application that need dynamic content, blueprint code can be generated use any programming language. In Standar Development Kit of Yahoo Blueprint itself is included library for PHP. We all know, PHP is most used language in web application.

Because I don’t have my own server, I upload my code to one of good (probably best) free web hosting that exist. For simple XML markup blueprint code, I successed to display runned application. Next step, I tried for dynamic application that use PHP. I don’t why I got this error message: “FATAL: Invalid Blueprint Extra content at the end of the document”. For a moment I don’t have any idea to fix error. I tried to ask several my friend to help solve the problem. But I don’t find any enlightenment. And then after several day, just a moment ago, finally I found source problem. have analytic featere to track statistic of user website. I knew that after download generated PHP code.

<?xml version="1.0" encoding="UTF-8"?>
<header layout="simple">
<block>PHP Version</block>
<block>Hello World!</block>

<!-- Here are the error source -->
<!-- Analytics Code -->
<script type="text/javascript" src=""></script>
<noscript><a href=""><img src="" alt="web hosting" /></a></noscript>

<!-- End Of Code -->

So for each page, they embed some lines of javascript code. This action is prohibited for page that is intended for blueprint application because that make code not well formed again rule. So I turn off the feature, and now every PHP page for generating blueprint application is well runned.

Hopefully this experience will be usefull to you.


Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:


You are commenting using your account. Logout /  Ubah )

Foto Google+

You are commenting using your Google+ account. Logout /  Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout /  Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout /  Ubah )


Connecting to %s