<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub">
    <title>gmane.comp.search.yubnub</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2521"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2520"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2519"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2518"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2517"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2516"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2515"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2514"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2513"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2512"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2511"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2510"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2509"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2508"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2507"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2506"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2505"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2504"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2503"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.search.yubnub/2502"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2521">
    <title>Re: GIM - images.google.com subdomain is gone</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2521</link>
    <description>&lt;pre&gt;Just FYI, I use gi instead of gim.

Jonathan Aquino &amp;lt;jonathan.aquino-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Kaito</dc:creator>
    <dc:date>2013-05-21T17:38:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2520">
    <title>Re: GIM - images.google.com subdomain is gone</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2520</link>
    <description>&lt;pre&gt;gim works for me - e.g., gim curtains

The man page for gim shows that we aren't using the images.google.comsubdomain:
http://www.yubnub.org/kernel/man?args=gim

So I'm not understanding what the issue is.

Jon


On Mon, May 20, 2013 at 8:19 AM, Michishige Kaito &amp;lt;me-8B29PjgPH1XQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-05-21T16:15:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2519">
    <title>Re: GIM - images.google.com subdomain is gone</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2519</link>
    <description>&lt;pre&gt;
You ask Jon to update it. He should be reading this anyway.
&lt;/pre&gt;</description>
    <dc:creator>Michishige Kaito</dc:creator>
    <dc:date>2013-05-20T15:19:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2518">
    <title>GIM - images.google.com subdomain is gone</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2518</link>
    <description>&lt;pre&gt;the "gim" (google image search) prefix no longer works because (in its 
infinite wisdom) it seems google has moved out of the images.google.com 
subdomain.

The URL that works for me is : http://www.google.com/search?q=%s&amp;amp;tbm=isch

I added a command, "goim" for that url search, but "gim" is kind of the 
perfect prefix for google image search. And my muscle memory wants it.

So how can we update the url for "gim"?

&lt;/pre&gt;</description>
    <dc:creator>Elastic Threads</dc:creator>
    <dc:date>2013-05-20T13:30:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2517">
    <title>Re: extractdomainname</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2517</link>
    <description>&lt;pre&gt;Thanks, Jonathan and fpm!

On Wednesday, March 20, 2013 8:52:33 AM UTC-5, Jonathan Aquino wrote:


&lt;/pre&gt;</description>
    <dc:creator>Brian Armknecht</dc:creator>
    <dc:date>2013-03-21T14:24:22</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2516">
    <title>Re: extractdomainname</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2516</link>
    <description>&lt;pre&gt;Thanks fpm - I fixed up extractDomainName using your code.

Jonathan


On Tue, Mar 19, 2013 at 10:51 AM, fpm &amp;lt;fpmuller-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-03-20T13:52:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2515">
    <title>Re: extractdomainname</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2515</link>
    <description>&lt;pre&gt;How about using the power of php and the built in parse_url function, 
rather than the complex regular expression?
http://www.php.net/manual/en/function.parse-url.php

$urls   = array();
$urls["http://www.amazon.com"]                                              
= "amazon.com";
$urls["eemadges.com"]                                                           
= "eemadges.com";
$urls["http://en.wikipedia.org?serarch=%s"]                              = 
"en.wikipedia.org";
$urls["http://seek.sing365.com:8080/cgi-bin/s.cgi?q=ladytron"]   = 
"sing365.com";
$urls["https://www.cia.gov/cia/publications/factbook/geos/.html"] = 
"cia.gov";

foreach ( $urls as $url =&amp;gt; $result ) {
  $url = preg_match(";^(http://|https://|ftp://|file://);","$url") ? $url : 
"http://$url";
  $parts = parse_url($url);
  $domainname = $parts['host'] ? 
preg_replace(';^(www|seek|query|search)\.;','',$parts['host']) : 'Not a 
valid URL!';

  if ( $domainname != $result ) echo("NOT MATCHING SPECS\n");

  printf("domainname=%s\n",$domainname);
&lt;/pre&gt;</description>
    <dc:creator>fpm</dc:creator>
    <dc:date>2013-03-19T17:51:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2514">
    <title>Re: extractdomainname</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2514</link>
    <description>&lt;pre&gt;Hi Brian,

It'd be great to have the code in PHP - could you try your hand at
translating it? The Ruby code is:

&amp;lt;%
def extractDomainName(url)
    r = url=~(/^(?:\w+:\/\/)?([^\/?]+)(?:\/|\?|$)/) ? $1 : 'Not a valid
URL!'

r.gsub!(/((?:www)|(?:seek)|(?:query)|(?:search))\.(([^\.]+)\.([^\.]+)(\.([^\.]+))?)/,
'\2')
    r.gsub!(/\:\d+$/, '')
    r
end

require "cgi"
cgi = CGI.new
puts extractDomainName(cgi["url"])
%&amp;gt;

I tried converting it to PHP but it wasn't passing all of the tests shown
on the man page, so it needs some more work:

$url = 'http://en.wikipedia.org?search=%s';
$url = preg_replace('/^(?:\w+:\/\/)?([^\/?]+)(?:\/|\?|$)/', '\1', $url);
$url =
preg_replace('/((?:www)|(?:seek)|(?:query)|(?:search))\.(([^\.]+)\.([^\.]+)(\.([^\.]+))?)/',
'\2', $url);
$url = preg_replace('/\:\d+$/', '', $url);
echo $url;

Jonathan


On Tue, Mar 12, 2013 at 7:57 PM, Brian Armknecht &amp;lt;armknecht-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-03-19T17:01:56</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2513">
    <title>Re: yubnub on SMS</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2513</link>
    <description>&lt;pre&gt;Hm - I'm not sure how this script is supposed to be used, but I think it
would use a lot of bandwidth on yubnub's hosting service, in the last 2
lines.

Why not just go to http://yubnub.org/parser/parse?command=... directly?

Jonathan


On Tue, Mar 12, 2013 at 10:22 PM, shantanuo &amp;lt;shantanu.oak-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-03-19T15:10:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2512">
    <title>Re: yubnub on SMS</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2512</link>
    <description>&lt;pre&gt;Hi,
I will prefer that you host the following code on yubnub.org site.
This will save intermediate server connection and response to the user will 
be faster.

txtweb api key can be obtained by registering free at the site.

&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt; Hello! &amp;lt;/title&amp;gt;
&amp;lt;meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /&amp;gt;
&amp;lt;meta name='txtweb-appkey' content='abc' /&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;?php

$message = urlencode($_REQUEST['txtweb-message']);   
$url="http://yubnub.org/parser/parse?command=$message";

$homepage = file_get_contents("$url");
echo $homepage;

?&amp;gt;

&lt;/pre&gt;</description>
    <dc:creator>shantanuo</dc:creator>
    <dc:date>2013-03-13T05:22:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2511">
    <title>extractdomainname</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2511</link>
    <description>&lt;pre&gt;Hi Jonathan,

The "extractdomainname" command, which is currently hosted at 
jonathanaquino.com, is no longer working:
http://yubnub.org/kernel/man?args=extractdomainname

If it needs to be hosted elsewhere or rewritten, please let me know.

It's required for the "&amp;gt;" command, which I miss! 
 http://yubnub.org/kernel/man?args=%3E

Thanks,
Brian

&lt;/pre&gt;</description>
    <dc:creator>Brian Armknecht</dc:creator>
    <dc:date>2013-03-13T02:57:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2510">
    <title>Re: Broken Command: AMG</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2510</link>
    <description>&lt;pre&gt;Thanks Terry - fixed.

Jonathan


On Mon, Mar 11, 2013 at 6:00 PM, Terry McCall &amp;lt;hagure-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-03-12T13:52:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2509">
    <title>Broken Command: AMG</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2509</link>
    <description>&lt;pre&gt;The current AMG command simply takes you to the home page. Here's what it 
should be now:

http://www.allmusic.com/search/all/%s

&lt;/pre&gt;</description>
    <dc:creator>Terry McCall</dc:creator>
    <dc:date>2013-03-12T01:00:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2508">
    <title>Re: yubnub on SMS</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2508</link>
    <description>&lt;pre&gt;Cool! Thanks Shantanu!

Jonathan


On Sunday, March 10, 2013, shantanuo wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-03-11T22:02:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2507">
    <title>yubnub on SMS</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2507</link>
    <description>&lt;pre&gt;Hi,
I have registered yubnub keyword with txtweb.com so that we can now use all 
our favorite commands as SMS keywords. Simply type following on your 
mobile...

&amp;lt; at &amp;gt;yubnub yubnub_keyword variable 
and send to 92665 92665 in India and 898-932 (TXT-WEB) in US and Canada. 
for e.g.

&amp;lt; at &amp;gt;yubnub dit procrastinate

This command will let me know the short meaning of the word "procrastinate".

&lt;/pre&gt;</description>
    <dc:creator>shantanuo</dc:creator>
    <dc:date>2013-03-10T17:12:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2506">
    <title>Re: YubNub's migrated to new server</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2506</link>
    <description>&lt;pre&gt;Thanks for the effort!

El jueves, 7 de marzo de 2013 13:06:49 UTC+1, Jacques Marneweck escribió:

&lt;/pre&gt;</description>
    <dc:creator>fuska</dc:creator>
    <dc:date>2013-03-09T20:17:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2505">
    <title>Re: YubNub's migrated to new server</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2505</link>
    <description>&lt;pre&gt;Excellent news!  Thanks!

On Thursday, March 7, 2013 6:06:49 AM UTC-6, Jacques Marneweck wrote:


&lt;/pre&gt;</description>
    <dc:creator>Brian Armknecht</dc:creator>
    <dc:date>2013-03-07T22:54:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2504">
    <title>YubNub's migrated to new server</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2504</link>
    <description>&lt;pre&gt;Hi Guys,

Yubnub has been migrated to a new server our in Seattle.  Things should be 
better now.  I've wrangled the mongrel cluster configuration and the 
lighttpd config and manually update the DNS to point to the new IP.  Let me 
or Jonathan know if there are any issues with Yubnub since the move.

Regards
--jm

&lt;/pre&gt;</description>
    <dc:creator>Jacques Marneweck</dc:creator>
    <dc:date>2013-03-07T12:06:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2503">
    <title>Re: Does PHP port work yet?</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2503</link>
    <description>&lt;pre&gt;I'm glad I inspired you to get rid of rails. I'm a Ruby guy myself, but
I don't like rails. You know something is wrong when your app code is 2%
of the codebase you're deploying.

I tend to use Sinatra, and drop in gems as I need them. If you liked
ruby, you should not forget that ruby is not rails.

I'm going to write my version of yubnub "bare metal" on top of rack.
It's just a quick string transform and redirect. Don't need a framework
for that. If I had to write a public version of it, I'd Rack::Mount a
Sinatra app for it.

I'm looking forward to your PHP port! Thank you for one of the best
tools the web has to offer!

On Wed, Feb 27, 2013 at 08:05:45PM -0800, Jonathan Aquino wrote:

&lt;/pre&gt;</description>
    <dc:creator>Michishige Kaito</dc:creator>
    <dc:date>2013-02-28T04:52:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2502">
    <title>Re: Does PHP port work yet?</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2502</link>
    <description>&lt;pre&gt;Yes, I'm going to continue maintaining and hosting it - I'm going to set it
up on a Linode, as recommended by Brock Tice. Also, Michishige, you
mentioned the idea of getting rid of Rails altogether, which inspired me to
port it to PHP. The code is fairly simple - or at least quite a bit
simpler, which is cool..


On Wed, Feb 27, 2013 at 7:47 PM, Michishige Kaito &amp;lt;me-8B29PjgPH1XQT0dZR+AlfA&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jonathan Aquino</dc:creator>
    <dc:date>2013-02-28T04:05:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.search.yubnub/2501">
    <title>Re: Does PHP port work yet?</title>
    <link>http://permalink.gmane.org/gmane.comp.search.yubnub/2501</link>
    <description>&lt;pre&gt;Hey,

What's going to be the future of Yubnub? Are you going to continue
maintaining and hosting it?

Either way, could you publish the commands in a machine readable format?
I think I'm going to write my own yubnub in ruby/rack and redis, and
would like to import existing commands.

On Wed, Feb 27, 2013 at 07:06:35PM -0800, Jonathan Aquino wrote:

&lt;/pre&gt;</description>
    <dc:creator>Michishige Kaito</dc:creator>
    <dc:date>2013-02-28T03:47:11</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.search.yubnub">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.search.yubnub</link>
  </textinput>
</rdf:RDF>
