Author Topic: Search Wikipedia  (Read 3957 times)

0 Members and 1 Guest are viewing this topic.

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Search Wikipedia
« on: May 27, 2013, 09:47:48 AM »
This is a simple command for searching Wikipedia using Dictation.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="279" name="open wikipedia" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch.OpenURL</cmdType>
    <cmdString>http://en.wikipedia.org/wiki/{1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>search wikipedia for</phrase>
  <payloadDictation>payloadDictation: Regular</payloadDictation>
</command>
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Search Wikipedia
« Reply #1 on: May 27, 2013, 09:52:05 AM »
This is a simple command for searching Wikipedia using Dictation.
Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="279" name="open wikipedia" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>Launch.OpenURL</cmdType>
    <cmdString>http://en.wikipedia.org/wiki/{1}</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>search wikipedia for</phrase>
  <payloadDictation>payloadDictation: Regular</payloadDictation>
</command>
It looks like you get more fun with VC  ;)
« Last Edit: September 20, 2013, 07:24:56 AM by Kalle »
***********  get excited and make things  **********

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Search Wikipedia
« Reply #2 on: May 27, 2013, 10:50:10 AM »
It looks like you get more fun with VC  ;)

It's true, I was nothing before I discovered VC. When James finally handed me my own keys to VoxCommando, I became a LOT more fun ...
http://youtu.be/5nZniMYCZp4
« Last Edit: September 20, 2013, 07:45:08 AM by Kalle »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2319
  • Karma: 47
    • View Profile
Re: Search Wikipedia
« Reply #3 on: May 27, 2013, 11:08:54 AM »
It's true, I was nothing before I discovered VC. When James finally handed me my own keys to VoxCommando, I became a LOT more fun ...
http://youtu.be/5nZniMYCZp4
:biglaugh
***********  get excited and make things  **********

Dominique

  • Jr. Member
  • **
  • Posts: 41
  • Karma: -1
    • View Profile
Re: Search Wikipedia
« Reply #4 on: July 08, 2014, 03:31:32 AM »
Well this is cool.  However it is only to launch Wiki.  How can we get it to actually search Wiki?

Using a database like Wiki for information in regards to questions would be extremely useful.


Judging from James tutorial, I hear using Google and Wiki search is possible.  Can someone share code to get that set up??
« Last Edit: July 08, 2014, 06:11:19 AM by Dominique »

nime5ter

  • Administrator
  • Hero Member
  • *****
  • Posts: 2012
  • Karma: 61
    • View Profile
    • Getting Started with VoxCommando
Re: Search Wikipedia
« Reply #5 on: July 08, 2014, 09:40:09 AM »
The xml here does exactly that. It shows how you can search for Wikipedia results (or you could do a Google lucky search).

But I think maybe you are asking how to have search results read aloud to you? That's a different objective.

There are several threads on the forum for commands like that. The Wolfram Alpha option is the most versatile. Users need to go to the Wolfram site to get their own API key first. http://voxcommando.com/forum/index.php?topic=1463.msg12773#msg12773

There's also one that reads aloud the first paragraph of a wikipedia article: http://voxcommando.com/forum/index.php?topic=1549.msg13484#msg13484
« Last Edit: July 08, 2014, 10:09:37 AM by nime5ter »
TIPS: POST VC VERSION #. Explain what you want VC to do. Say what you've tried & what happened, or post a video demo. Attach VC log. Link to instructions followed.  Post your command (xml)