TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
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
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 07:23 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design