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
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
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
Old 03-06-2008, 06:35 PM   #2 (permalink)
The Frequenter
 
ReSpawN's Avatar
 
Join Date: Nov 2007
Location: Netherlands
Posts: 460
Thanks: 49
ReSpawN is on a distinguished road
Default

Looks pretty awesome non the less. A sort of RSS in Javascript feeling is what I'm getting.

Thanks for sharing Alan!
__________________
"Life is a bitch, take that bitch on a ride"
Send a message via MSN to ReSpawN
ReSpawN is offline  
Reply With Quote
Old 03-06-2008, 11:30 PM   #3 (permalink)
Nor
The Addict
 
Join Date: Nov 2007
Posts: 282
Thanks: 61
Nor is on a distinguished road
Default

I signed up, mind taking screen shots?
__________________
PHP/XHTML Freelancer:
Cleanscript.com v3 - Programming starting at just $5 act now!
Nor is offline  
Reply With Quote
Old 03-07-2008, 07:57 AM   #4 (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

There isn't really much to look at inside the GME I'm afraid

It has an editor:

http://i77.photobucket.com/albums/j4...lan/editor.png

A feed browser which helps when trying to determine element names for feeds you want to consume:

http://i77.photobucket.com/albums/j4...ed_browser.png

And finally the Sandbox for testing your applications:

http://i77.photobucket.com/albums/j4...an/sandbox.png

When you save your applications they are saved to Google Code (eg, Google Code) and when you publish the application it gets published to http://your-app-sub-domain.googlemashups.com. There are no other options at the moment.

Alan
Send a message via MSN to Alan @ CIT
Alan @ CIT is offline  
Reply With Quote
Old 03-08-2008, 04:02 AM   #5 (permalink)
The Wanderer
 
dylanfm's Avatar
 
Join Date: Jan 2008
Location: Australia
Posts: 14
Thanks: 1
dylanfm is on a distinguished road
Default

I've been playing around with Yahoo! Pipes a bit. Seems pretty similar.
Send a message via ICQ to dylanfm
dylanfm is offline  
Reply With Quote
Old 03-08-2008, 08:11 AM   #6 (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

Ahh, so that's where Google stole the idea from Will have a go with Pipes later, see if they are any better than Googles attempt.

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



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 01:17 PM.

 
     

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