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

From Second Life Wiki
Jump to navigation Jump to search
 
(118 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Help|Glossary=*|Navigation=*}}
{{#widget:Redirect|url=/t5/English-Knowledge-Base/Landmarks-and-SLurls/ta-p/700123}}
 
A '''[http://slurl.com SLURL]''' (Second Life [http://en.wikipedia.org/wiki/URL URL 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 '''[http://secondlife.com/join/ join us for free!]'''
 
== Making beautiful SLURLs ==
The first step to making beautiful SLURLs is adding explanatory text and a picture (or even an [http://en.wikipedia.org/wiki/Iframe IFrame]) 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.
 
'''You can easily make beautiful SLURLs with the [http://slurl.com/build.php SLURLBuilder].'''
 
If you're technically-minded...
 
=== Query strings ===
* [http://slurl.com/secondlife/Ahern/50/50/50/?title=YOUR%20TITLE%20HERE! Example] - "<font size="2"><tt>?title=YOUR%20TITLE%20HERE!</tt></font>" changes the title.
* [http://slurl.com/secondlife/Ahern/50/50/50/?img=http://slurl.com/yourimage.gif Example] - "<font size="2"><tt>?img=http://slurl.com/yourimage.gif</tt></font>" changes the image. Must be a full URL, and preferably a smaller image like 256x256 pixels or less.
* [http://slurl.com/secondlife/Ahern/50/50/50/?msg=Your%20text%20here. Example] - "<font size="2"><tt>?msg=Your%20text%20here.</tt></font>" changes the description
* [http://slurl.com/secondlife/Ahern/50/50/50/?title=Your%20title&img=http://slurl.com/yourimage.gif&msg=Your%20text. Example] - You can also combine elements. The first element in the URL should be preceded with "<font size="2"><tt>?</tt></font>", and later elements preceded by "<font size="2"><tt>&</tt></font>".
* [http://slurl.com/secondlife/Ahern/50/50/50/?iframe=http://slurl.com/iframe_example.php&title=Custom%20Title Example] - You can also display your own web content by inserting an IFrame. This can't be used at the same time as an image, and will take precedence over an image if you try to use both.
 
=== 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 SLURL and make it easier to share. There are dozens of these out there, including:
 
* [http://snurl.com Snurl] - No connection 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.
 
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.
 
== How it works ==
* You make a SLURL.
* You share the SLURL with a friend.
* 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.
 
=== If they don'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 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.]
 
=== If they have Second Life ===
* If Second Life's not open yet, it'll start.
* When they login,they'll see a Place Information window — in the same style as when you right-click > About Landmark on a landmark in your inventory.
* Click Teleport button to go there.
 
== Misc. tips 'n' tricks ==
* On Windows, a SLURL opens the newest-installed viewer. There isn't an easy way to change which viewer launches SLURLs, so if you're 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.
 
== OLD ==
A SLurl (Second Life [http://en.wikipedia.org/wiki/URL URL]) is a clickable link that marks a location in Second Life.  A SLurl can be placed on any web page, and clicking one will take you to a new page that shows a map of that location in Second Life.  From that page, clicking once more will start the SL viewer and immediately teleport your avatar to the specified location in SecondLife.  You must have SecondLife installed for your operating system to recognize and activate them because they are implemented as a [http://en.wikipedia.org/wiki/URI_scheme URI scheme].  To see what a SLurl webpage looks like visit [http://slurl.com SLurl.com].
 
==See also ==
* [[Video Tutorial/Using SLURLs for easy travel]]
* [[Template:SLurl]]
 
== External Links ==
* [http://slurl.com/about.php About SLurls]
* [http://slurl.com/build.php How to create SLurl]

Latest revision as of 13:01, 19 March 2012

Redirecting to http://community.secondlife.com/t5/English-Knowledge-Base/Landmarks-and-SLurls/ta-p/700123