Jump to content

likufanele

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by likufanele

  1. I've poked and prodded at this script without success so far. The API is still returning valid results in my browser when I build the request URL as is done in translate.php, but the somewhere along the line I'm receiving errors such as:

     

     

    Starting debug for 'WordReference'

     

    [ERROR: alfred.workflow.input.scriptfilter] XML Parse Error 'The operation couldn’t be completed. (NSXMLParserErrorDomain error 4.)'. Row 1, Col 1: 'Document is empty' in XML:

    array(3) {

      [19913]=>

      bool(true)

      [10002]=>

      string(54) "http://api.wordreference.com/0.8/MY_API_KEY/json/enfr/hello"

      [74]=>

      bool(true)

    }

     

     

    I'll update here when I get deeper into this. Might just rebuild with Ruby or Javascript.

×
×
  • Create New...