Difference between revisions of "Using Second Life URLs (SLurls)"
Line 19: | Line 19: | ||
=== Query string breakdown === | === Query string breakdown === | ||
* Example - <font size="2"><tt>?title=YOUR%20TITLE%20HERE!</tt> changes the title | * [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. | ||
* Example - <font size="2"><tt>?img=http://slurl.com/yourimage.gif</tt> changes the image | * [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. | ||
* Example - <font size="2"><tt>?msg=Your%20text%20here.</tt> changes the description | * [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 | ||
* Example - You can also combine elements. The first element in the URL should be preceded with "?", and later elements preceded by "&" | * [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>". | ||
* 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. | * [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. | ||
Revision as of 14:30, 8 October 2008
Help Portal: |
Avatar | Bug Fixes | Communication | Community | Glossary | Land & Sim | Multimedia | Navigation | Object | Video Tutorials | Viewer | Wiki | Misc |
A SLURL (Second Life 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 join us for free!
Making beautiful SLURLs
The first step to making beautiful SLURLs is adding explanatory text and a picture (or even an 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:
works, but tells you nothing about what you're getting into. Compared to this (click on it!):
which is a little more descriptive.
You can easily make beautiful SLURLs with the SLURLBuilder.
If you're technically-minded...
Query string breakdown
- Example - "?title=YOUR%20TITLE%20HERE!" changes the title.
- Example - "?img=http://slurl.com/yourimage.gif" changes the image. Must be a full URL, and preferably a smaller image like 256x256 pixels or less.
- Example - "?msg=Your%20text%20here." changes the description
- Example - You can also combine elements. The first element in the URL should be preceded with "?", and later elements preceded by "&".
- 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.
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 . And they look unsightly!
A SLurl (Second Life 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 URI scheme. To see what a SLurl webpage looks like visit SLurl.com.