View Single Post
Old 03-06-2008, 06:01 PM   #1 (permalink)
Alan @ CIT
Member of the Month
The Frequenter
Member of the Month Top Contributor 
 
Alan @ CIT's Avatar
 
Join Date: Apr 2005
Location: South UK
Posts: 483
Thanks: 51
Alan @ CIT is on a distinguished road
Default Google Mashup Editor

Hi all,

Has anyone here used the Google Mashup Editor? If so, what do you think of it?

I've been playing about with it today and well... for want of a better word, it's awful.

The editor itself is written in Javascript and is very slow and very buggy. I tried to use an external editor then paste the code in to the editor but it can't seem to handle newlines so the formatting was just screwed.

As for the language, it's essentially a javascript wrapper library for the Google APIs and comes with the usual api functions to make coding quicker. Whilst I can see how it makes life easier for creating Javascript-powered websites that interact with Google services, I'm not sure why you would want to.

GME is an interesting experiment and I'm hoping it will improve over time (especially the editor itself!) but I think I'll leave it be for now

And finally, here's a demo:

Latest Threads from TalkPHP

And the code used to created it:

Javascript Code:
<gm:page title="Latest Threads from TalkPHP" authenticate="false">

    <div class="gm-app-header">
        <h1>Latest Threads from TalkPHP</h1>
        Click on the thread title to view
    </div>

    <table>
        <tr valign="top">
            <td style="padding-right:15px" valign="top">
                <gm:list id="myList" data="http://www.talkphp.com/external.php?type=rss2" pagesize="10"/>
            </td>

            <td valign="top">
                <gm:item id="myItem" template="myItemTemplate">
                    <gm:handleEvent src="myList"/>
                </gm:item>
            </td>
        </tr>
    </table>

    <gm:template id="myItemTemplate">
        <div repeat="true">
            <strong><gm:text ref="atom:title"/></strong><br />
            Posted by&nbsp;<strong><gm:text ref="atom:author/name" /></strong>&nbsp;in the&nbsp;<strong><gm:text ref="atom:category/term" /></strong>&nbsp;forum on&nbsp;<strong><gm:date ref="published" /></strong>
            <hr size="1"/>
            <gm:html ref="atom:content"/>
        </div>
    </gm:template>

</gm:page>

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote