By the way, what I noticed is that there is no "View source" and "Login" link on the iframe which is placed on the sample applications gallery of the Open Social API gallery as it is automatically done on all created mashups. I discovered that this can be done by faking the application to be a Google Gadget which can be done by adding the attribute gadget="true" in the header-row of the GME application. Below there is for instance the one of my News Mapper application:
<gm:page title="Newsmapper" gadget="true" authenticate="false" css="/css/g.css" class="googleTheme" onload="init()"></gm:page>This can be very useful as for instance when one wants to host his created mashup on his personal domain or another website than [project-name].googlemashups.com (as it is done by Google itself on the Open Social page). In such a case the "View source" and "Login" link on the top-right corner would be disturbing in the iframe. Actually the "external hosting" on a personal domain could be a desirable future feature of the editor.
Anyway I recommend to leave the "view source" link where it is or to put it at least on some other place on your application (btw I placed it under the about section of my mashup). This can be done by just creating a link to the index.gml or any other source-file of the mashup that should be displayed. The GME's philosophy is to share the source code with others, wherefore there is also by default the "View source" link on every mashup. I think this should be respected, also because these apps are not that world-changing such that one gets rich with them :) . By letting the source open, others can learn. Copying is bad, but learning from existing code from others and improving those solutions or taking over parts of it (in this case you should credit the original author by placing his name + link etc) helps everybody.
Tweet
Kindle

Comments