Using multiple pages in your mashup

Wednesday, June 13, 2007 11:44 AM

We've gotten a tremendous response from the release of the Google Mashup Editor and have been working to steadily open it up to developers as we have capacity and improve the product. The feedback we've gotten already has been really helpful, we hope to get in some of your feature requests soon. In the meantime I wanted answer one of the more common questions with a mini-tutorial.

"Can I have a mashup with multiple pages?"

Absolutely! And it's really easy. Here is a quick outline of the steps you need to complete to create a multi-paged mashup.

1. Create a project by clicking on the file menu and selecting "New Project". This will create a source file named index.gml

2. Save that project by clicking the save button in the editor's menu bar

3. Create a new source file for the project by clicking on the file menu and selecting "New Source File"

4. Type in a name for your source file, you will reference that name with a .html extension from another file in your project

5. Add some content to the page and save your project

6. Go back to the index source file and create a html link to your new source file (i.e. <a href="./page2.html"> Go to page 2 </a>)

If you save and then test your application you'll be able to link from the index page to the new html page that was created from your source file. It's that simple, check out a running version of this sample. Remember that you can view the source of any application by clicking the view source link in the upper right corner of the page.

Look forward to some more in-depth tutorials and new features coming from our team in the very near future. In the mean time check out a few of the mashups created with the Google Mashup Editor or browse our developer forum and documentation.

Still waiting for your invitation? Sit tight - we are continuing to invite developers as we can. If you haven't yet signed up to get your invitation, do so here. We look forward to hearing from you.

Paul McDonald, Product Manager