<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Script Academy &#187; Uncategorized</title>
	<atom:link href="http://www.scriptacademy.org/archives/category/uncategorized/feed" rel="self" type="application/rss+xml" />
	<link>http://www.scriptacademy.org</link>
	<description>'Cos we're all noobs at something</description>
	<lastBuildDate>Mon, 09 Aug 2010 21:22:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>LSL Editor &#8211; simplify your scripting life</title>
		<link>http://www.scriptacademy.org/archives/25</link>
		<comments>http://www.scriptacademy.org/archives/25#comments</comments>
		<pubDate>Mon, 09 Aug 2010 21:12:27 +0000</pubDate>
		<dc:creator>Kahiro Watanabe</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[LSL]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[Second Life]]></category>

		<guid isPermaLink="false">http://www.scriptacademy.org/?p=25</guid>
		<description><![CDATA[Scripting using the default SL Editor  can be a pain sometimes, mostly if you are walking your first steps in LSL. That&#8217;s why I highly recommend to use LSL Editor instead.
LSL Editor is an external APP written by Alphons Jano that you can use to write your LSL scripts. It has many features, some standards [...]]]></description>
			<content:encoded><![CDATA[<p>Scripting using the default SL Editor  can be a pain sometimes, mostly if you are walking your first steps in LSL. That&#8217;s why I highly recommend to use LSL Editor instead.</p>
<p>LSL Editor is an external APP written by Alphons Jano that you can use to write your LSL scripts. It has many features, some standards like syntax coloring and auto-complete (wich in-world editor doesn&#8217;t support), but also it comes with advanced features like a console to test your script output and event testers like start_entry and touch_start, or more complex ones like http_request!.</p>
<p>With LSL editor you can script even when the grid is offline with ease and speed, click <a href="http://www.lsleditor.org">here</a> to visit the homepage.</p>
<p><img src="http://www.lsleditor.org/examples/sources/HTTPRequest-1.gif" alt="" width="421" height="346" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptacademy.org/archives/25/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group name Grabber V2</title>
		<link>http://www.scriptacademy.org/archives/18</link>
		<comments>http://www.scriptacademy.org/archives/18#comments</comments>
		<pubDate>Wed, 19 May 2010 11:30:44 +0000</pubDate>
		<dc:creator>Hippyjim Starbrook</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scriptacademy.org/?p=18</guid>
		<description><![CDATA[One very helpful member &#8211; Cleo Collins &#8211; noticed that Linden Labs had changed the format of the search result page, breaking our Group Name Grabber service in the process. She&#8217;s donated a revised version of it, which is now live on our server.
You can see Cleo&#8217;s code after the break.

For how to use it, [...]]]></description>
			<content:encoded><![CDATA[<p>One very helpful member &#8211; Cleo Collins &#8211; noticed that Linden Labs had changed the format of the search result page, breaking our <a href="http://www.scriptacademy.org/archives/9">Group Name Grabber</a> service in the process. She&#8217;s donated a revised version of it, which is now live on our server.</p>
<p>You can see Cleo&#8217;s code after the break.</p>
<p><span id="more-18"></span></p>
<p><strong>For how to use it, see the <a href="http://www.scriptacademy.org/archives/9">original post</a></p>

<div class="wp_codebox_msgheader"><span class="right"><sup><a href="http://www.ericbess.com/ericblog/2008/03/03/wp-codebox/#examples" target="_blank" title="WP-CodeBox HowTo?"><span style="color: #99cc00">?</span></a></sup></span><span class="left"><a href="javascript:;" onclick="javascript:showCodeTxt('p18code2'); return false;">View Code</a> PHP</span><div class="codebox_clear"></div></div><div class="wp_codebox"><table><tr id="p182"><td class="code" id="p18code2"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span> 
&nbsp;
<span style="color: #666666; font-style: italic;">// Changed by Cleo Collins to the latest LL changes. The groupname is now directly in the title tag of the page.. I inserted coments starting with Cleo where i think it needs to be changed. If the groupname service could be repaired,, it would be really great. Thanks for helping!</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">/*
*
*  Group Name Grabber PHP script - By Hippyjim Starbrook
*
*  usage:
*
*  send a GET request with ?ky= the group key to get the name of a group with the given key
*  if the request is malformed, or the key doesn't exist, returns X
*
*/</span>
&nbsp;
<span style="color: #000088;">$groupKey</span> <span style="color: #339933;">=</span> <span style="color: #000088;">$_GET</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">&quot;ky&quot;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// create a new cURL resource</span>
<span style="color: #000088;">$ch</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_init</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// set URL and other appropriate options</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_URL<span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;http://world.secondlife.com/group/&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$groupKey</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_HEADER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">curl_setopt</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #339933;">,</span> CURLOPT_RETURNTRANSFER<span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// grab URL and pass it to the browser</span>
<span style="color: #000088;">$dump</span> <span style="color: #339933;">=</span> <span style="color: #990000;">curl_exec</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #666666; font-style: italic;">// close cURL resource, and free up system resources</span>
<span style="color: #990000;">curl_close</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$ch</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
&nbsp;
<span style="color: #666666; font-style: italic;">// remove all HTML tags from the result, except the &lt;h1&gt; tags (which will surround our group name)</span>
<span style="color: #666666; font-style: italic;">// Cleo: Not needed anymore, the group name can now be found directly in the &lt;title&gt; tags</span>
<span style="color: #666666; font-style: italic;">//$dump = strip_tags($dump, &quot;&lt;h1&gt;&quot;);</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// if the reply doesn't include the phrase &quot;The specified key does not exist&quot; take the page apart</span>
<span style="color: #666666; font-style: italic;">// Cleo: now seems to be &quot;AccessDenied&quot; instead</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span><span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dump</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;AccessDenied&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// find the position of the phrase &quot;Group:&quot; in the page, as that shows the start of our group name</span>
    <span style="color: #666666; font-style: italic;">// Cleo: we now just look for &lt;title&gt;</span>
    <span style="color: #000088;">$groupPos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dump</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&lt;title&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span> <span style="color: #cc66cc;">7</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// find the closing &lt;/h1&gt; tag immediately after &quot;Group:&quot; as that signifies the end of our group name</span>
    <span style="color: #666666; font-style: italic;">// Cleo: well, again we just search for &lt;/title&gt;</span>
    <span style="color: #000088;">$endPos</span> <span style="color: #339933;">=</span> <span style="color: #990000;">strpos</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dump</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;&lt;/title&gt;&quot;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$groupPos</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// our group name is the string in between these two points</span>
    <span style="color: #000088;">$groupName</span> <span style="color: #339933;">=</span> <span style="color: #990000;">trim</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$dump</span><span style="color: #339933;">,</span> <span style="color: #000088;">$groupPos</span><span style="color: #339933;">,</span> <span style="color: #000088;">$endPos</span><span style="color: #339933;">-</span><span style="color: #000088;">$groupPos</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #666666; font-style: italic;">// output the group name</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #000088;">$groupName</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #666666; font-style: italic;">// otherwise output an X</span>
<span style="color: #b1b100;">else</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;X&quot;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.scriptacademy.org/archives/18/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excuse our dust!</title>
		<link>http://www.scriptacademy.org/archives/3</link>
		<comments>http://www.scriptacademy.org/archives/3#comments</comments>
		<pubDate>Tue, 06 May 2008 16:55:40 +0000</pubDate>
		<dc:creator>Script Academy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.scriptacademy.org/?p=3</guid>
		<description><![CDATA[This is going to be the new home of the Secondlife group &#8211; Script Academy. You&#8217;ll find howtos and tutorials here, as well as information and profiles on scripters for hire.
Come back another time to see how we&#8217;re progressing, or if you want to help us out, contact Ilse Mannonen or Hippyjim Starbrook in-world.
]]></description>
			<content:encoded><![CDATA[<p>This is going to be the new home of the Secondlife group &#8211; Script Academy. You&#8217;ll find howtos and tutorials here, as well as information and profiles on scripters for hire.</p>
<p>Come back another time to see how we&#8217;re progressing, or if you want to help us out, contact Ilse Mannonen or Hippyjim Starbrook in-world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.scriptacademy.org/archives/3/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

