Patches: Browse | Submit New | Admin

[#21160] Here's a patch for the new open service url shortener, ur1 -- please add!

Date:
2008-07-11 02:24
Priority:
3
Submitted By:
Zach Copley (zachcopley)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Here's a patch for the new open service url shortener, ur1 -- please add!

Detailed description
From: http://ur1.ca

ur1 is an Open Service from Contrôlez-Vous, Inc., powered by lilURL. Full source available under the terms of the
GNU General Public License.

UR1 Database is available in tab-separated values format. To the extent possible under law, Contrôlez-Vous, Inc.
has waived all copyright, moral rights, database rights, and any other rights that might be asserted over the UR1
Database.

--->8---
72c72,78
< 
---
>     
>     :ur1ca => Service.new("ur1.ca") { |s| 
>       s.action = "/index.php"
>       s.field = "longurl"
>       s.block = lambda { |body| URI.extract(body).grep(/ur1.ca/)[0] }
>     },
>       
--->8---

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-07-24 15:48
Sender: Robby Russell

Zach,

I've just moved this over to Github. Would you be willing to
send a pull request via github?

http://github.com/robbyrussell/shorturl/tree/master

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item