diff --git a/PluginDirectories/1/wolfram-alpha.bundle/1.version b/PluginDirectories/1/wolfram-alpha.bundle/1.version deleted file mode 100644 index 566bf635..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/1.version +++ /dev/null @@ -1 +0,0 @@ -dcbca40963b31b2ffef6077f12b84faa636b35ac87c531f070167cb838f76fb0 \ No newline at end of file diff --git a/PluginDirectories/1/wolfram-alpha.bundle/Icon.png b/PluginDirectories/1/wolfram-alpha.bundle/Icon.png deleted file mode 100644 index bf359351..00000000 Binary files a/PluginDirectories/1/wolfram-alpha.bundle/Icon.png and /dev/null differ diff --git a/PluginDirectories/1/wolfram-alpha.bundle/examples.txt b/PluginDirectories/1/wolfram-alpha.bundle/examples.txt deleted file mode 100644 index a8ca4b59..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/examples.txt +++ /dev/null @@ -1,9 +0,0 @@ -ask wolfram alpha ~wa_query(where was abraham lincoln born?) -wolfram alpha ~wa_query(what time is it in shangai) -walpha ~wa_query(population of india) -wa_query(what is the population of china) -wa_query(population of india) -wa_query(how many calories in a bagel?) -~wa_query(how far is it from bristol to liverpool) wolfram alpha -ask wolfram alpha for ~wa_query(the size of alaska?) -wa ~wa_query(100th prime number) diff --git a/PluginDirectories/1/wolfram-alpha.bundle/examples_de.txt b/PluginDirectories/1/wolfram-alpha.bundle/examples_de.txt deleted file mode 100644 index 86e3f8dd..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/examples_de.txt +++ /dev/null @@ -1,9 +0,0 @@ -frage wolfram alpha ~wa_query(where was abraham lincoln born) ? -wolfram alpha ~wa_query(what time is it in shangai) -walpha ~wa_query(population of india) -wa_query(what is the population of china) -wa_query(population of india) -wa_query(how many calories in a bagel) ? -~wa_query(how far is it from bristol to liverpool) wolfram alpha -frage wolfram alpha nach ~wa_query(the size of alaska) ? -wa ~wa_query(100th prime number) diff --git a/PluginDirectories/1/wolfram-alpha.bundle/examples_fr.txt b/PluginDirectories/1/wolfram-alpha.bundle/examples_fr.txt deleted file mode 100644 index a8d3d209..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/examples_fr.txt +++ /dev/null @@ -1,9 +0,0 @@ -demander à wolfram alpha ~wa_query(where was abraham lincoln born) ? -wolfram alpha ~wa_query(what time is it in shangai) -walpha ~wa_query(population of india) -wa_query(what is the population of china) -wa_query(population of india) -wa_query(how many calories in a bagel) ? -~wa_query(how far is it from bristol to liverpool) wolfram alpha -ask wolfram alpha for ~wa_query(the size of alaska) ? -wa ~wa_query(100th prime number) diff --git a/PluginDirectories/1/wolfram-alpha.bundle/info.json b/PluginDirectories/1/wolfram-alpha.bundle/info.json deleted file mode 100644 index db11afbc..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/info.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "wolfram-alpha", - "displayName": "Wolfram|Alpha Search", - "displayName_de": "Wolfram|Alpha Suche", - "displayName_fr": "Recherche Wolfram|Alpha (Anglais uniquement)", - "examples": ["ask wolfram alpha 1 + 1", "wa first 10 prime numbers", "population of india"], - "examples_de": ["Frage wolfram alpha 1 + 1", "wa first 10 prime numbers", "population of india"], - "examples_fr": ["demander à wolfram alpha 1 + 1", "wa first 10 prime numbers", "population of india"], - "categories": ["Information", "Featured"] -} \ No newline at end of file diff --git a/PluginDirectories/1/wolfram-alpha.bundle/plugin.py b/PluginDirectories/1/wolfram-alpha.bundle/plugin.py deleted file mode 100644 index fd6ddf1b..00000000 --- a/PluginDirectories/1/wolfram-alpha.bundle/plugin.py +++ /dev/null @@ -1,21 +0,0 @@ -import json, urllib, os - -def results(parsed, original_query): - q = parsed['wa_query'] if 'wa_query' in parsed else parsed['~wa_query'] - url = "http://m.wolframalpha.com/input/?i={0}".format(urllib.quote_plus(q)) - html = """ - - """ % (json.dumps(url)) - return { - "title": "Ask Wolfram|Alpha '{0}'".format(q), - "html": html, - "run_args": [q] - } - -def run(query): - url = "http://wolframalpha.com/input/?i={0}".format(urllib.quote_plus(query)) - os.system("open {0}".format(json.dumps(url)))