Difference between revisions of "Using Second Life URLs (SLurls)"

From Second Life Wiki
Jump to navigation Jump to search
Line 15: Line 15:


== How it works ==
== How it works ==
* You [http://slurl.com/build.php make a SLURL].
 
* You share the SLURL with a friend — ''sharing is caring!''
Use a SLURL to direct people to inworld locations as follows:
* They click the SLURL — it's a web link like any other.
 
* Create a SLURL, either using [http://slurl.com/build.php SLURL Builder], or "manually."
* Share the SLURL with a friend — ''sharing is caring!''
* They click the SLURL. It's a web link like any other.
* They'll see a http://slurl.com page and more info, if you provided it. Like this:
* They'll see a http://slurl.com page and more info, if you provided it. Like this:


Line 23: Line 26:


=== If your friend doesn't have Second Life ===
=== If your friend doesn't have Second Life ===
* Your friend can [http://secondlife.com/join join us] in minutes.
 
* When your friend logs in for the first time, they'll end up at the SLURL place you gave. This is great for inviting someone to your home or business for the first time inworld — they'll be at a familiar place with an intro tutorial (Help menu > Tutorial) and you can greet them. [http://blog.secondlife.com/2008/09/18/getting-a-second-life-just-got-easier-with-direct-slurl/ Learn more about Direct SLURL.]
When your friend clicks on the "teleport" button, they'll will be directed to http://www.slurl.com
end up at the SLURL place you gave. This is great for inviting someone to your home or business for the first time inworld — they'll be at a familiar place with an intro tutorial (Help menu > Tutorial) and you can greet them. [http://blog.secondlife.com/2008/09/18/getting-a-second-life-just-got-easier-with-direct-slurl/ Learn more about Direct SLURL.]
 
a first time visitor  where, on that page, they click “sign up” and quickly register, download and login to the viewer, and arrive at their originally intended destination. A quick tutorial will open upon their initial arrival.


=== If your friend has Second Life ===
=== If your friend has Second Life ===

Revision as of 17:24, 9 February 2009

A SLURL (Second Life URL) is a teleport link to a location in Second Life. If you have Second Life installed, using a SLURL will automatically transport you to that location inworld. If you don't yet have Second Life, you can join us for free!

Watch the video tour!

<videoflash>B47ojt8IMD8</videoflash>

Knowledge Base articles lovingly crafted by our Documentation Team!


How it works

Use a SLURL to direct people to inworld locations as follows:

  • Create a SLURL, either using SLURL Builder, or "manually."
  • Share the SLURL with a friend — sharing is caring!
  • They click the SLURL. It's a web link like any other.
  • They'll see a http://slurl.com page and more info, if you provided it. Like this:

SLURL-Here-example.png

If your friend doesn't have Second Life

When your friend clicks on the "teleport" button, they'll will be directed to http://www.slurl.com end up at the SLURL place you gave. This is great for inviting someone to your home or business for the first time inworld — they'll be at a familiar place with an intro tutorial (Help menu > Tutorial) and you can greet them. Learn more about Direct SLURL.

a first time visitor where, on that page, they click “sign up” and quickly register, download and login to the viewer, and arrive at their originally intended destination. A quick tutorial will open upon their initial arrival.

If your friend has Second Life

  • If Second Life's not open yet, it'll start.
  • When they login, they'll be at the location and see a Place Information window — like when you right-click > About Landmark on a landmark in your inventory.
  • If they're already logged in, then they'll see the Place Information window, but need to click the Teleport button to go there. Like this:

SLURL-Place-Information.png

Make beautiful SLURLs

The first step to making beautiful SLURLs is adding explanatory text and a picture to give it more context and flavor.

For example, say you've got an island in Second Life you want to invite people to. This base URL works:

http://slurl.com/secondlife/Here/54/105/47

works, but tells you nothing about what you're getting into. Compared to this (click on it!):

http://slurl.com/secondlife/Here/54/105/47/?title=An%20island%20of%20fun%21

which is a little more descriptive.

Use SLURLBuilder to easily make beautiful SLURLs.

SLURL query string parameters

Supply SLURL query string parameters to set the window title, image, and text. Parameters are just name=value pairs. Just like a standard URL, precede the first parameter pair with a question mark (?), and all subsequent parameter pairs with an ampersand (&).


Parameter Description Example
title Title text to display in the teleport window. To specify the window title "Come to My Island!" use

title=Come%20To%20My%20Island
For example: http://slurl.com/secondlife/Ahern/50/50/50/?title=Come%20To%20My%20Island

img URL of image to display in teleport window. Must be a complete (absolute) URL, and preferably a small image of 256x256 pixels or less. To display this example image, use

img=http://slurl.com/examples/forsale.png
For example: http://slurl.com/secondlife/Ahern/50/50/50/?img=http://slurl.com/examples/forsale.png

msg Message text to display in the teleport window To specify the message text "Your text here", use

msg=Your%20text%20here
For example: http://slurl.com/secondlife/Ahern/50/50/50/?msg=Your%20text%20here.

Shortening SLURLs

SLURLs, especially if they have text and a picture included (see example), can get quite lengthy. This makes them difficult to paste into places like emails, which may have line breaks that mangle the SLURL. Plus, they look unsightly!

You can use a 3rd-party URL-shortening service to condense a SLURL and make it easier to share. There are dozens of these out there, including:

  • Snurl - No relation to SLURL, but the similar URL and basic stats tracking makes it an easy choice.
  • TinyURL - One of the first and most popular.

If you have a webserver with customizable redirect, you can do something similar. For example, try: http://torley.com/here and watch how the SLURL expands to its full length in your web browser's address bar.

Share SLURLs with postcards

You can send snapshots from Second Life to any email address. These are called postcards. All you need to do is:

  • Click Snapshot button on the toolbar at the bottom of your screen.
  • Select the "postcard" option
  • Click Send, type your recipient's email and descriptive text, and click Send again.

Within minutes, they'll get it — with a SLURL!

<videoflash>cBDAYizCvOI</videoflash>

One popular popular usage is emailing them to social sites to show off! See example on Flickr, and notice how the "Visit Tiny" link is a SLURL! This is great, because the picture (said to be worth 1,000 words) gives you an idea what to expect.

However, emailing straight to Flickr doesn't work as expected due to how postcard templates are arranged. To work around this, social sites like SLBuzz, Snapzilla, and Koinup have stepped in to provide better crossposting in addition to their own dedicated hosting.

For more info on the wonder of Second Life snapshots and how to make the best of postcard SLURLs, see:

More details

On Windows, a SLURL opens the newest-installed viewer. There isn't an immediate way to change which viewer launches SLURLs, so if you have the main viewer and a Release Candidate, it'll start whichever was installed most recently. Altho inconvenient, you can change this by reinstalling a viewer.

Every SLURL page's SLURL title and Teleport Now button link to a "secondlife://" address, which is an URI scheme which opens Second Life. This is different from the familiar "http://" used for webpages.

The reason why it's advantageous to post "http://" SLURLs instead of direct "secondlife://" addresses in webpages and such is for the benefit of people who don't have Second Life yet. Giving them a "secondlife://" URL doesn't work, since it depends on SL being installed. A SLURL serves as a friendly intro to tell them about Second Life as-needed and where they'll be going, instead of leading them blindly.

More video tutorials

By Torley.

Using SLURLs for easy travel <videoflash>ceIzvl0TYVc</videoflash>

Changing your login location <videoflash>7IQs_ljiAkQ</videoflash>

Teleport location history <videoflash>DIAhBRaeNiE</videoflash>

Others

  • Template:SLurl - Need to add SLURLs to wiki pages here? This'll help!
  • Slurlblogger - Useful tool by Ordinal Malaprop which "can send notes with SLurls to email, or directly to a blog".