X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=plugins%2FGoogleSearch.cs;fp=plugins%2FGoogleSearch.cs;h=0000000000000000000000000000000000000000;hb=de68be10ae8d84f85431c704bb06d89e4d93cc98;hp=7b1b542709a47c2507a9ea58bd317517e5e74b2f;hpb=2be31e14fb4593a82a52219e534a61a2613ead34;p=WebThing.git diff --git a/plugins/GoogleSearch.cs b/plugins/GoogleSearch.cs deleted file mode 100644 index 7b1b542..0000000 --- a/plugins/GoogleSearch.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; -using bytex64.WebThing; -using System.Text.RegularExpressions; - -public class GoogleSearch : WebThingPlugin, ISearchPlugin { - public string SearchTransform(string search) { - string[] words = Regex.Split(search, @"\s+"); - return String.Format("http://google.com/search?q={0}", String.Join("%20", words)); - } -}