<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/11615" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2009-01-15T18:05:15-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/11615</id>

		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2009-01-15T18:05:15-04:00</updated>

		<published>2009-01-15T18:05:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86946#p86946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86946#p86946"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86946#p86946"><![CDATA[
<blockquote class="uncited"><div>Cool, really nice job! Downloading and testing.<br><br>Thanks Master!<br><br><br>off:<br><br>I would like to see multilang support for all your tcl script any day. Like to load lng file with all strings for easy translation by user to your language.<br><br>Im each revision we need find and replace prudentially whole script.</div></blockquote>Yes, this is already planned and basically implemented in my layout script.  Just needs a bit of time that I haven't had lately. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br><em class="text-italics">Update: There were actually some pretty glaring oversights in r56, I've cleaned them up and released 2.5e.</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Thu Jan 15, 2009 6:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2009-01-15T09:00:35-04:00</updated>

		<published>2009-01-15T09:00:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86935#p86935</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86935#p86935"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86935#p86935"><![CDATA[
Cool, really nice job! Downloading and testing.<br><br>Thanks Master!<br><br><br>off:<br><br>I would like to see multilang support for all your tcl script any day. Like to load lng file with all strings for easy translation by user to your language.<br><br>Im each revision we need find and replace prudentially whole script.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Thu Jan 15, 2009 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2009-01-15T03:25:29-04:00</updated>

		<published>2009-01-15T03:25:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86931#p86931</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86931#p86931"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86931#p86931"><![CDATA[
<blockquote class="uncited"><div>Hey incith - can u implent <a href="http://x0.no" class="postlink">http://x0.no</a> aswell? should be quite easy, since theres only 1 box on that page. hehe.</div></blockquote>Sorry it took so long (and to the kortlink guy, I haven't forgotten you either).  This is now available as service_type 3.<br><br>r56 has been comitted for download, <a href="http://svn.incith.com/repos/incith/trunk" class="postlink">http://svn.incith.com/repos/incith/trunk</a> will be the only place to download revisions currently.  Many huge cleanups and etc, I didn't test it very thoroughly so please report any bugs.<br><br>If you'd like to view more in depth changes to the script, visit <a href="http://svn.incith.com" class="postlink">http://svn.incith.com</a> instead of the above URL.<br><br>More information about the svn repository is in the <a href="http://forum.egghelp.org/viewtopic.php?t=16543" class="postlink">incith:svn</a> thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Thu Jan 15, 2009 3:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2008-12-28T06:30:16-04:00</updated>

		<published>2008-12-28T06:30:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86550#p86550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86550#p86550"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86550#p86550"><![CDATA[
<blockquote class="uncited"><div>founded one small bug with xrl<br><br>[10:34:18] &lt;me&gt; !xrl <a href="http://www.youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">www.youtube.com/watch?v=_LNkqRQ1u0c</a><br>[10:34:19] &lt;Bot&gt; <a href="http://xrl.us/onehr" class="postlink">http://xrl.us/onehr</a><br><br>Without http:// the result will be:<br><br>xrl.uswww.youtube.com/watch?v=_LNkqRQ1u0c<br><br>-------------------------------------------------------------------<br><br>[10:35:30] &lt;me&gt; !xrl <a href="http://youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">http://youtube.com/watch?v=_LNkqRQ1u0c</a><br>[10:35:31] &lt;Bot&gt; <a href="http://xrl.us/onemv" class="postlink">http://xrl.us/onemv</a><br><br>With http:// the result will be:<br><br><a href="http://youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">http://youtube.com/watch?v=_LNkqRQ1u0c</a><br><br>It's possible to fix this problem?<br><br>Thank you!</div></blockquote>Wow, I'm really sorry I missed this post.  I'll fix this up right away for today.<br><br><em class="text-italics">Edit: Actually this appears to be an xrl.us problem, as the short URL's are still resolving right (e.g. !unxrl onehr -- "incith's lengthened url: <a href="www.youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">www.youtube.com/watch?v=_LNkqRQ1u0c</a>").  I've sent them an e-mail asking them to look into it.</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sun Dec 28, 2008 6:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nsrafk]]></name></author>
		<updated>2008-08-17T09:02:44-04:00</updated>

		<published>2008-08-17T09:02:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84635#p84635</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84635#p84635"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84635#p84635"><![CDATA[
Hey incith - can u implent <a href="http://x0.no" class="postlink">http://x0.no</a> aswell? should be quite easy, since theres only 1 box on that page. hehe.<br><br>good work<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8985">nsrafk</a> — Sun Aug 17, 2008 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2008-08-12T09:39:47-04:00</updated>

		<published>2008-08-12T09:39:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=84554#p84554</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=84554#p84554"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=84554#p84554"><![CDATA[
founded one small bug with xrl<br><br>[10:34:18] &lt;me&gt; !xrl <a href="http://www.youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">www.youtube.com/watch?v=_LNkqRQ1u0c</a><br>[10:34:19] &lt;Bot&gt; <a href="http://xrl.us/onehr" class="postlink">http://xrl.us/onehr</a><br><br>Without http:// the result will be:<br><br>xrl.uswww.youtube.com/watch?v=_LNkqRQ1u0c<br><br>-------------------------------------------------------------------<br><br>[10:35:30] &lt;me&gt; !xrl <a href="http://youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">http://youtube.com/watch?v=_LNkqRQ1u0c</a><br>[10:35:31] &lt;Bot&gt; <a href="http://xrl.us/onemv" class="postlink">http://xrl.us/onemv</a><br><br>With http:// the result will be:<br><br><a href="http://youtube.com/watch?v=_LNkqRQ1u0c" class="postlink">http://youtube.com/watch?v=_LNkqRQ1u0c</a><br><br>It's possible to fix this problem?<br><br>Thank you!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Tue Aug 12, 2008 9:39 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[grrmisfit]]></name></author>
		<updated>2008-03-30T20:02:52-04:00</updated>

		<published>2008-03-30T20:02:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82090#p82090</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82090#p82090"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82090#p82090"><![CDATA[
if demond doesnt mind id love to see this incorporated into his rss feed script. google news links are HUGE  since they have referal links in them so it can be quite spamming to have them in there. i may try to modify the two to be one but since im not a tcl coder it wont be to easy<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9824">grrmisfit</a> — Sun Mar 30, 2008 8:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-01T17:01:07-04:00</updated>

		<published>2008-03-01T17:01:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81334#p81334</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81334#p81334"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81334#p81334"><![CDATA[
<blockquote class="uncited"><div>This would be really useful in a lot of places.<br><br>I decided against its use in xrl for now because I do not want to store urls as http%##%##%##www blah blah (yes I am too lazy to look up the codes for ://, still waking up), and is also why I removed % from being converted to %25 in 2.5d, I tested an ebay link stuffed with %'s and it still returned fine, the urlDecode making it even prettier now on a !lengthen.<br><br>There may still be some obscure URL/characters that will break xrl in the future, I didn't test curly braces for example, but I want to believe it's 99% good now.</div></blockquote>Since your merely shortening url's your prolly closer to 99.999%. Your regexp is defining what gets sent off for url query (cleansing before querying). Which is neccessary because your anticipating links within context (hard to do). I only provided the urlencode function because the urldecode was mentioned in this thread. Imagined they could share mention in this thread and hopefully act as a reference in the future for someone suffering similar issues.. Theft is encouraged, this is a sharing community.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br><br>Note: this helps get around the accented character problem when dealing with multiple languages as input.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Mar 01, 2008 5:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2008-03-01T16:34:57-04:00</updated>

		<published>2008-03-01T16:34:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81332#p81332</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81332#p81332"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81332#p81332"><![CDATA[
This would be really useful in a lot of places.<br><br>I decided against its use in xrl for now because I do not want to store urls as http%##%##%##www blah blah (yes I am too lazy to look up the codes for ://, still waking up), and is also why I removed % from being converted to %25 in 2.5d, I tested an ebay link stuffed with %'s and it still returned fine, the urlDecode making it even prettier now on a !lengthen.<br><br>There may still be some obscure URL/characters that will break xrl in the future, I didn't test curly braces for example, but I want to believe it's 99% good now.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sat Mar 01, 2008 4:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-01T15:50:51-04:00</updated>

		<published>2008-03-01T15:50:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81330#p81330</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81330#p81330"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81330#p81330"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc UrlEncode {text type} {  set url ""  foreach byte [split [encoding convertto utf-8 $text] ""] {    scan $byte %c i    if {$i &lt; 65 || $i &gt; 122} {      append url [format %%%02X $i]    } else {      append url $byte    }  }  if {$type == 1} {    return [string map {%25 . %3A : %2D - %2E . %30 0 %31 1 %32 2 %33 3 %34 4 %35 5 %36 6 %37 7 %38 8 %39 9 % .} $url]  } else {    return [string map {%3A : %2D - %2E . %30 0 %31 1 %32 2 %33 3 %34 4 %35 5 %36 6 %37 7 %38 8 %39 9 \[ %5B \\ %5C \] %5D \^ %5E \_ %5F \` %60} $url]  }}</code></pre></div>Just for laughs and perhaps others use (stealing is fine in this case), here is the corresponding urlencode.<br>The mundane [string maps { }] are neccessary to keep numerics and other required symbols from being %percentualized/encoded. The $type is only useful for doing this on more than one encoding style. Sites such as wikipedia (type 1 in code above) that require almost everything encoded with periods . , while every other site including google uses percents % .<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Mar 01, 2008 3:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[madwoota]]></name></author>
		<updated>2008-03-01T07:05:58-04:00</updated>

		<published>2008-03-01T07:05:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81312#p81312</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81312#p81312"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81312#p81312"><![CDATA[
Haha, I've been meaning to write a scripted char to/from %code like that for years.<br><br>Nicely done speechles, I just might have to steal that <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>(With credit of course!)<br><br>-madwoota<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6569">madwoota</a> — Sat Mar 01, 2008 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2008-03-01T07:56:03-04:00</updated>

		<published>2008-03-01T06:26:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81311#p81311</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81311#p81311"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81311#p81311"><![CDATA[
Sigh.. slennox is gonna slaughter me one day with all the cancellations I do.<br><br>I have released 2.5c to hopefully address the above issues.  % codes should always be converted now thanks to the above proc in a lengthen.  Thanks, speechles.<br><blockquote class="uncited"><div>(03:35:18) (@incith) !untiny 2ttpzw<br>(03:35:20) &lt;@visitant&gt; incith's lengthened url: <a href="http://www.orkut.com/AlbumZoom.aspx?uid=11709801720220077647&amp;pid=3&amp;aid=1" class="postlink">http://www.orkut.com/AlbumZoom.aspx?uid ... id=3&amp;aid=1</a></div></blockquote><em class="text-italics">Edit: I just can't help myself.  2.5d released, all URL's appear to lengthen quite nicely now.</em><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Sat Mar 01, 2008 6:26 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2008-03-01T03:23:11-04:00</updated>

		<published>2008-03-01T03:23:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81304#p81304</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81304#p81304"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81304#p81304"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc UrlDecode {text} {  set url ""  regsub -all {\%([0-9a-fA-F][0-9a-fA-F])} $text {[format %c 0x\1]} text  set text [subst $text]  foreach byte [split [encoding convertto utf-8 $text] ""] {    scan $byte %c i    if { $i &lt; 33 || $i &gt; 127 } {      append url [format %%%02X $i]    } else {      append url $byte    }  }  return $url}</code></pre></div>A simple urldecoder (such as  above) is all it needs. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sat Mar 01, 2008 3:23 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[testebr]]></name></author>
		<updated>2008-03-01T00:17:18-04:00</updated>

		<published>2008-03-01T00:17:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81301#p81301</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81301#p81301"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81301#p81301"><![CDATA[
Very nice, to shorten work fine, but to lengthen still with error..<br><blockquote class="uncited"><div>[01:11:10] &lt;me&gt; !shorten <a href="http://www.orkut.com/AlbumZoom.aspx?uid=117098017202200776477987&amp;pid=3&amp;aid=1" class="postlink">http://www.orkut.com/AlbumZoom.aspx?uid ... id=3&amp;aid=1</a><br>[01:11:11] &lt;MyBot&gt; url's: <a href="http://tinyurl.com/2ttpzw" class="postlink">http://tinyurl.com/2ttpzw</a><br>[01:11:16] &lt;me&gt; o/<br>[01:11:22] &lt;me&gt; !lengthen <a href="http://tinyurl.com/2ttpzw" class="postlink">http://tinyurl.com/2ttpzw</a><br>[01:11:23] &lt;MyBot&gt; me's url's: <a href="http://www.orkut.com/AlbumZoom.aspx%3Fuid=117098017202200776477987%26pid=3%26aid=1" class="postlink">http://www.orkut.com/AlbumZoom.aspx%3Fu ... =3%26aid=1</a></div></blockquote>And the lengthen is invalid with theses chars '%' and '3%'.<br><br>Easy to fix I believe.<br><br>Cya<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7055">testebr</a> — Sat Mar 01, 2008 12:17 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2008-02-29T21:04:51-04:00</updated>

		<published>2008-02-29T21:04:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81296#p81296</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81296#p81296"/>
		<title type="html"><![CDATA[incith:xrl (r94) (Jan. 20th, 2009) (+TinyURL and x0.no)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81296#p81296"><![CDATA[
<blockquote class="uncited"><div>if char '?' is present in url, show this error.</div></blockquote>Sorry about that, I had removed them because I didn't think it was necessary anymore. (them = ? and &amp;).  I have released version 2.5b to address this problem on my website.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Fri Feb 29, 2008 9:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
