Show
Ignore:
Timestamp:
11/26/08 20:25:03 (6 weeks ago)
Author:
anekos
Message:

Follow CVS Head

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/multi_requester.js

    r24676 r24966  
    8282        urlEncode:   'UTF-8' 
    8383     }, 
     84     { 
     85       name: 'metalarchive-band', 
     86       url: 'http://www.metal-archives.com/search.php?string=%s&type=band', 
     87       description: 'Metal Archive (band)', 
     88       xpath: '//table', 
     89     } 
    8490]; 
    8591 
     
    166172                    var allSuggestions = siteinfo.map(function(s) [s.name, s.description]); 
    167173                    context.title = ['Name', 'Descprition']; 
    168                     context.items = 
     174                    context.completions = 
    169175                        context.filter ? allSuggestions.filter(function(s) s[0].indexOf(context.filter) == 0) 
    170176                                       : allSuggestions; 
     
    539545            escapedUrl = util.escapeHTML(url); 
    540546            xpath = res.request.options.siteinfo.xpath; 
     547            liberator.log(res.responseText) 
    541548            doc = res.getHTMLDocument(xpath); 
    542549            if (!doc) throw 'XPath result is undefined or null.: XPath -> ' + xpath;