You can currently "mash up" the virtual tour photo-site viewer onto external sites using an
IFRAME in your HTML
or using one of the supported gadget or widget technologies:
Google gadget,
Microsoft Windows Live gadget,
Netvibes Mini Module,
Widgetbox widget or
Snipperoo widget.
Note: All the following methods currently require the IFRAME/gadget/widget to be visible
when the viewer is first rendered, so do not set the style display:none.
IFRAME in your HTML
Use the following viewer code to show a random publicly available photo-site, as above:
<iframe src="http://www.spacebrowse.com/gadget/SpaceBrowseViewer.aspx" frameborder="0" scrolling="no"
style="border:0px;padding:0px;margin:0px;width:100%;height:240px;">
</iframe>
You can optionally add the following URL parameters to the call to SpaceBrowseViewer.aspx:
- SiteNo: the site number integer
- ShowMode: "random" or "recent"
- UserName: the username
- Search: a word to search for in the photo-site name (but not description)
- Width: the desired viewer width
- Height: the desired viewer height (default:240px)
If a "SiteNo" is given then that photo-site is shown. Otherwise the "ShowMode", "UserName" and "Search" parameters are
used to find a photo-site to show.
The viewer uses the aspect ratio of the photo-site and fits within the bounds given by the "Width" and "Height".
If the width available to the viewer is smaller than this, then the viewer is shrunk to fit.
The viewer cannot detect the given height, so make sure that the IFRAME height matches the "Height" parameter.
Google gadget
You can add the Space Browse Google gadget to show virtual tours on:
- a personalised Google home page
- a Google Pages site with Experimental features enabled, eg jchriscant.googlepages.com
- the Google Desktop Sidebar
- your own web page(s)
The Space Browse gadget appears here in Google content directory
and here in Google Gadgets For Your Webpage
The gadget definition is here:
http://www.spacebrowse.com/gadget/SpaceBrowse.xml.
By default, the Space Browse gadget displays a random publicly visible photo-site by any user. When in use, you can edit the gadget
preferences as follows:
- Either: Enter a Space Browse virtual tour SiteNo
- Or:
- Select either a random gadget or the most recent gadget
- Enter a Space Browse username
- Enter a Search word
You can also add the Space Browse gadget to your own web page(s).
Simply click on this button
to configure the gadget and "Get the Code" to put on your web page.
A width of 300 pixels and a height of 260 pixels works well for Space Browse.
There is one current issue with this approach:
- In the code supplied by Google, you may need to change the
& ampersand characters to &
Microsoft Windows Live gadget
You can add the Space Browse Microsoft gadget to show virtual tours on:
Note that this is not a Windows Vista Sidebar gadget.
To get the Space Browse gadget, the simplest option is to go the Windows Live Gallery listing for Space Browse.
Then click on "Add to Live.com" or "Add to your space". If you "Add to Live.com" this message box appears first:
For both Live.com and Live Spaces you are warned to "Only install Gadgets from trusted sites" and so you
have to agree to "Install Gadget" after selecting "Remember my preference"
That should be it. You should be able to move or collapse the gadget as normal.
If you close your browser while the gadget is collapsed then it will not display correctly when
expanded unless you refresh the page.
There are no preferences that you can set currently.
Alternatively, you can add the Space Browse virtual tour viewer to your personalised Microsoft Windows live.com page by clicking on this button:
Alternatively again, you can also add the viewer "by hand" at www.live.com
by clicking on Add Stuff then Advanced Options.
After "Add a Gadget by URL", enter the gadget manifest XML URL:
http://www.spacebrowse.com/gadget/gadget.xml
and click on "Subscribe".
Netvibes Mini Module
You can add the Space Browse viewer to show virtual tours on your netvibes.com page
by clicking here
The viewer is also listed in the Netvibes ecosystem.
You will be asked to confirm that you want to add this:
"You are about to add the following api on a netvibes page".
Alternatively, you can add it manually by clicking on "Add content" then "Add my feed".
Enter this URL: http://www.spacebrowse.com/gadget/SpaceBrowseNetvibes.aspx and click "Add".
By default, the Space Browse viewer displays a random publicly visible photo-site by any user.
When in use, you can edit the preferences as follows:
- Either: Enter a Space Browse virtual tour SiteNo
- Or:
- Select either a random gadget or the most recent gadget
- Enter a Space Browse username
- Enter a Search word
- The viewer width and height
Widgetbox widget
The Space Browse gadget viewer is also available as a widget at widgetbox.com
in the Media / Photo Sharing category
You have to register there and subscribe to the "Space Browse virtual tour" widget.
The Widgetbox site lists the HTML required to put on your site/blog.
You can set various Space Browse parameters that correspond to those listed in the IFRAME section above.
The "Search" parameter is 'tag-aware'. It detects if an appropriate tag appears elsewhere on the page.
Chris Cant's blog
shows this tag-aware widget in action.
More configuration options are listed at Widgetbox.
Snipperoo widget
You can make the Space Browse viewer into a Snipperoo widget which can then be
placed in a blog or other web site. An example of this, along with basic instructions, can be seen in
Chris Cant's blog.
To make you own widget, copy the IFRAME code at the top of this page as the widget code. You can add in SiteNo, ShowMode,
UserName, Search, Width and Height parameters by appending the appropriate values to the IFRAME src URL.