Difference between revisions of "Using Second Life URLs (SLurls)"
Wiki Scribe (talk | contribs) m (Robot: Automated text replacement (-SLURL +SLurl)) |
|||
Line 2: | Line 2: | ||
{{:API Portal/navigation}} | {{:API Portal/navigation}} | ||
== What is a | == What is a SLurl? == | ||
{|border=0 cellpadding=10 | {|border=0 cellpadding=10 | ||
|- | |- | ||
|valign="top"| | |valign="top"| | ||
'''A Second Life [http://en.wikipedia.org/wiki/URL URL] ([http://slurl.com | '''A Second Life [http://en.wikipedia.org/wiki/URL URL] ([http://slurl.com SLurl]) is a teleport link to a location in Second Life.''' | ||
If you have Second Life installed, using a | 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, just click the Sign Up NOW link to go to a simple registration page; after registering and downoading the Second Life Viewer, you will automatically start out at the specified location. | ||
See also the following Knowledge Base articles: | See also the following Knowledge Base articles: | ||
* {{Slkb|4208|How do I invite someone who isn't currently inworld to a specific location?}} | * {{Slkb|4208|How do I invite someone who isn't currently inworld to a specific location?}} | ||
* {{Slkb|5556|I don't want people to use a | * {{Slkb|5556|I don't want people to use a SLurl to access my land}} | ||
* {{Slkb|5554|I followed a | * {{Slkb|5554|I followed a SLurl and it took me to the wrong place!}} | ||
The http://slurl.com website is implemented using the Second Life [[Map API]]. If you have a website, you can use it as well to embed Second Life maps on your pages, in the same way you can embed Google Maps. See [[Map API]] for more information. | The http://slurl.com website is implemented using the Second Life [[Map API]]. If you have a website, you can use it as well to embed Second Life maps on your pages, in the same way you can embed Google Maps. See [[Map API]] for more information. | ||
Line 24: | Line 24: | ||
== How it works == | == How it works == | ||
Use a | Use a SLurl to direct people to inworld locations as follows: | ||
* Create a | * Create a SLurl, either using [http://slurl.com/build.php SLurl Builder], or "manually." | ||
* Share the | * Share the SLurl with a person who you want to tell about something in Second Life. | ||
* They click the | * 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: | ||
[[Image: | [[Image:SLurl-Here-example.png|512px]] | ||
=== If the person doesn't have Second Life === | === If the person doesn't have Second Life === | ||
The page at http://www.slurl.com will display a link to [https://join.secondlife.com/ SIGN UP NOW for free]. | The page at http://www.slurl.com will display a link to [https://join.secondlife.com/ SIGN UP NOW for free]. | ||
From the sign-up up page, they can quickly register, download the Second Life Viewer, and log in. '''When they first log in, they will initially arrive at the destination specified by the | From the sign-up up page, they can quickly register, download the Second Life Viewer, and log in. '''When they first log in, they will initially arrive at the destination specified by the SLurl''', not the default start location on Help Island. A quick tutorial will open upon their initial arrival to help them get started. | ||
Providing new users the ability to sign up for Second Life directly from http://www.slurl.com is sometimes referred to as '' | Providing new users the ability to sign up for Second Life directly from http://www.slurl.com is sometimes referred to as ''DirectSLurl''. For more information, see the [http://blog.secondlife.com/2008/09/18/getting-a-second-life-just-got-easier-with-direct-slurl/ announcement of Direct SLurl]. | ||
=== If the person has Second Life === | === If the person has Second Life === | ||
[[Image: | [[Image:SLurl-Place-Information.png|512px|right]] | ||
If the Second Life Viewer is not already running, it will start. | If the Second Life Viewer is not already running, it will start. | ||
* When they log in, they'll be at the location specified by the | * When they log in, they'll be at the location specified by the SLurl. | ||
* If they're already logged in, a Place Information window opens in the Second Life Viewer (for example, as shown at right). | * If they're already logged in, a Place Information window opens in the Second Life Viewer (for example, as shown at right). | ||
* When they click on the Teleport button in this window, they will be instantly teleported to the location specified by the | * When they click on the Teleport button in this window, they will be instantly teleported to the location specified by the SLurl. Alternatively, they can click Show on Map to display the target location on the inworld map, or simply close the window if they don't want to be teleported. | ||
<br clear="all"/> | <br clear="all"/> | ||
=== Details === | === Details === | ||
'''On Windows, a | '''On Windows, a SLurl opens the most recently installed Viewer.''' | ||
There isn't an immediate way to change which Viewer launches | There isn't an immediate way to change which Viewer launches SLurls, so if you have the current released Viewer ''and'' a [[Release Candidate]], whichever was installed most recently will start. You can change this by reinstalling the Viewer. | ||
Every | Every SLurl page's SLurl title and Teleport Now button link to a "<nowiki>secondlife://</nowiki>" address, which is an [http://en.wikipedia.org/wiki/URI_scheme 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://" | The reason why it's advantageous to post "http://" SLurls instead of direct "<nowiki>secondlife://</nowiki>" addresses in webpages and such is for the '''benefit of people who ''don't'' have Second Life yet'''. Giving them a "<nowiki>secondlife://</nowiki>" 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. | ||
== Constructing | == Constructing SLurls == | ||
The basic format for a | The basic format for a SLurl is: | ||
{{Command|<nowiki>http://slurl.com/secondlife/<region>/<x>/<y>/<z>?param=value¶m=value...</nowiki>}} | {{Command|<nowiki>http://slurl.com/secondlife/<region>/<x>/<y>/<z>?param=value¶m=value...</nowiki>}} | ||
Line 70: | Line 70: | ||
* The question mark (?) and the parameters that follow it are optional and provide additional information to be displayed in the slurl.com page; see [[#Query string parameters|Query string parameters]] for more informatiom. | * The question mark (?) and the parameters that follow it are optional and provide additional information to be displayed in the slurl.com page; see [[#Query string parameters|Query string parameters]] for more informatiom. | ||
===Making beautiful | ===Making beautiful SLurls === | ||
The first step to making beautiful | The first step to making beautiful SLurls is adding explanatory text and a picture to '''give it more context and information'''. | ||
For example, say you've got an island in Second Life you want to invite people to. This base URL works: | For example, say you've got an island in Second Life you want to invite people to. This base URL works: | ||
Line 83: | Line 83: | ||
Click on the link to to see that it provides more descriptive information. | Click on the link to to see that it provides more descriptive information. | ||
'''Use [http://slurl.com/build.php | '''Use [http://slurl.com/build.php SLurlBuilder] to easily make beautiful SLurls.''' | ||
=== Query string parameters === | === Query string parameters === | ||
Supply | 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 (&). | ||
{| border="1" cellspacing="0" cellpadding="3" rules="all" class="apitable" | {| border="1" cellspacing="0" cellpadding="3" rules="all" class="apitable" | ||
Line 118: | Line 118: | ||
|} | |} | ||
=== Shortening | === Shortening SLurls === | ||
SLurls, especially if they have text and a picture included ([http://slurl.com/secondlife/Here/54/105/47/?img=http%3A//torley.s3.amazonaws.com/slurlexample.jpg&title=SLurl%20TITLE%20-%20Here%20island%20%28you%20can%20click%20this%20to%20teleport%29&msg=SLurl%20DESCRIPTION%20-%20Here%20we%20are%2C%20standing%20on%20giant%20letters%21%20Come%20explore%21 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 | 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: | ||
* '''[http://snurl.com Snurl]''' - No relation to | * '''[http://snurl.com Snurl]''' - No relation to SLurl, but the similar URL and basic stats tracking makes it an easy choice. | ||
* '''[http://tinyurl.com TinyURL]''' - One of the first and most popular. | * '''[http://tinyurl.com TinyURL]''' - One of the first and most popular. | ||
If you have a webserver with customizable [http://en.wikipedia.org/wiki/HTTP_status_code#3xx_Redirection redirect], you can do something similar. For example, try: http://torley.com/here and watch how the | If you have a webserver with customizable [http://en.wikipedia.org/wiki/HTTP_status_code#3xx_Redirection 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. | ||
== Further information == | == Further information == | ||
=== Share | === Share SLurls with postcards === | ||
{| border=0 cellpadding=10 | {| border=0 cellpadding=10 | ||
|- | |- | ||
Line 140: | Line 140: | ||
* Click Send, type your recipient's email and descriptive text, and click Send again. | * Click Send, type your recipient's email and descriptive text, and click Send again. | ||
Within minutes, they'll get it — with a | Within minutes, they'll get it — with a SLurl! | ||
One popular popular way to use them is emailing them to social sites to show off! [http://www.flickr.com/photos/torley/2923114481/ See example on Flickr], and notice how the "[http://map.slbuzz.com/sim/Tiny/200/77/23/ Visit Tiny]" link is a | One popular popular way to use them is emailing them to social sites to show off! [http://www.flickr.com/photos/torley/2923114481/ See example on Flickr], and notice how the "[http://map.slbuzz.com/sim/Tiny/200/77/23/ 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 [http://flickr.com Flickr] doesn't work as expected due to how postcard templates are arranged. To work around this, social sites like [http://slbuzz.com/ SLBuzz], [http://slpics.com Snapzilla], and [http://koinup.com Koinup] have stepped in to provide better crossposting in addition to their own dedicated hosting. | However, emailing straight to [http://flickr.com Flickr] doesn't work as expected due to how postcard templates are arranged. To work around this, social sites like [http://slbuzz.com/ SLBuzz], [http://slpics.com Snapzilla], and [http://koinup.com Koinup] have stepped in to provide better crossposting in addition to their own dedicated hosting. | ||
Line 148: | Line 148: | ||
|} | |} | ||
For more info on Second Life snapshots and how to make the ''best'' of postcard | For more info on Second Life snapshots and how to make the ''best'' of postcard SLurls, see: | ||
* [[Snapshot_Help|Torley's Guide to High-Quality Photography]] | * [[Snapshot_Help|Torley's Guide to High-Quality Photography]] | ||
* [http://torley.com/show-off-your-newest-second-life-postcards-automagically Show off your newest Second Life postcards automagically] | * [http://torley.com/show-off-your-newest-second-life-postcards-automagically Show off your newest Second Life postcards automagically] | ||
=== Using | === Using SLurls for easy travel=== | ||
<videoflash>ceIzvl0TYVc</videoflash> | <videoflash>ceIzvl0TYVc</videoflash> | ||
* [http://blog.secondlife.com/2008/02/21/tip-of-the-week-23-using-slurls-for-easy-travel/ Read related blog post] | * [http://blog.secondlife.com/2008/02/21/tip-of-the-week-23-using-slurls-for-easy-travel/ Read related blog post] | ||
* [http://vidtuts.s3.amazonaws.com/SLTotW-23-Using- | * [http://vidtuts.s3.amazonaws.com/SLTotW-23-Using-SLurls-for-easy-travel.mp4 Download high-quality version] | ||
===Changing your login location=== | ===Changing your login location=== | ||
Line 167: | Line 167: | ||
=== Other references === | === Other references === | ||
* '''[[Template:SLurl]]''' - Need to add | * '''[[Template:SLurl]]''' - Need to add SLurls to a wiki page here? This will help! | ||
* '''[http://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=136080 Slurlblogger]''' - Useful tool by Ordinal Malaprop which "can send notes with SLurls to email, or directly to a blog". | * '''[http://www.xstreetsl.com/modules.php?name=Marketplace&file=item&ItemID=136080 Slurlblogger]''' - Useful tool by Ordinal Malaprop which "can send notes with SLurls to email, or directly to a blog". |
Revision as of 12:44, 5 July 2009
Help Portal: |
Avatar | Bug Fixes | Communication | Community | Glossary | Land & Sim | Multimedia | Navigation | Object | Video Tutorials | Viewer | Wiki | Misc |
What is a SLurl?
A Second Life URL (SLurl) 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, just click the Sign Up NOW link to go to a simple registration page; after registering and downoading the Second Life Viewer, you will automatically start out at the specified location. See also the following Knowledge Base articles:
The http://slurl.com website is implemented using the Second Life Map API. If you have a website, you can use it as well to embed Second Life maps on your pages, in the same way you can embed Google Maps. See Map API for more information. |
<videoflash>B47ojt8IMD8</videoflash> |
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 person who you want to tell about something in Second Life.
- 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:
If the person doesn't have Second Life
The page at http://www.slurl.com will display a link to SIGN UP NOW for free. From the sign-up up page, they can quickly register, download the Second Life Viewer, and log in. When they first log in, they will initially arrive at the destination specified by the SLurl, not the default start location on Help Island. A quick tutorial will open upon their initial arrival to help them get started.
Providing new users the ability to sign up for Second Life directly from http://www.slurl.com is sometimes referred to as DirectSLurl. For more information, see the announcement of Direct SLurl.
If the person has Second Life
If the Second Life Viewer is not already running, it will start.
- When they log in, they'll be at the location specified by the SLurl.
- If they're already logged in, a Place Information window opens in the Second Life Viewer (for example, as shown at right).
- When they click on the Teleport button in this window, they will be instantly teleported to the location specified by the SLurl. Alternatively, they can click Show on Map to display the target location on the inworld map, or simply close the window if they don't want to be teleported.
Details
On Windows, a SLurl opens the most recently installed Viewer.
There isn't an immediate way to change which Viewer launches SLurls, so if you have the current released Viewer and a Release Candidate, whichever was installed most recently will start. You can change this by reinstalling the 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.
Constructing SLurls
The basic format for a SLurl is:
Where:
- <region> is the name of the destination region
- <x> and <y> are the east/west and north/south coordinates of the destination; <z> is the vertical (height) coordinate.
- The question mark (?) and the parameters that follow it are optional and provide additional information to be displayed in the slurl.com page; see Query string parameters for more informatiom.
Making beautiful SLurls
The first step to making beautiful SLurls is adding explanatory text and a picture to give it more context and information.
For example, say you've got an island in Second Life you want to invite people to. This base URL works:
But it tells nothing about the destination. Compare this to the following:
Click on the link to to see that it provides more descriptive information.
Use SLurlBuilder to easily make beautiful SLurls.
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
|
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 |
msg | Message text to display in the teleport window | To specify the message text "Your text here", use 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.
Further information
You can send snapshots from Second Life to any email address. These are called postcards. All you need to do is:
Within minutes, they'll get it — with a SLurl! One popular popular way to use them 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. |
<videoflash>cBDAYizCvOI</videoflash> |
For more info on Second Life snapshots and how to make the best of postcard SLurls, see:
Using SLurls for easy travel
<videoflash>ceIzvl0TYVc</videoflash>
Changing your login location
<videoflash>7IQs_ljiAkQ</videoflash>
Teleport location history
<videoflash>DIAhBRaeNiE</videoflash>
Other references
- Template:SLurl - Need to add SLurls to a wiki page here? This will help!
- Slurlblogger - Useful tool by Ordinal Malaprop which "can send notes with SLurls to email, or directly to a blog".