Changeset 24966 for lang/javascript/vimperator-plugins
- Timestamp:
- 11/26/08 20:25:03 (6 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/multi_requester.js
r24676 r24966 82 82 urlEncode: 'UTF-8' 83 83 }, 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 } 84 90 ]; 85 91 … … 166 172 var allSuggestions = siteinfo.map(function(s) [s.name, s.description]); 167 173 context.title = ['Name', 'Descprition']; 168 context. items =174 context.completions = 169 175 context.filter ? allSuggestions.filter(function(s) s[0].indexOf(context.filter) == 0) 170 176 : allSuggestions; … … 539 545 escapedUrl = util.escapeHTML(url); 540 546 xpath = res.request.options.siteinfo.xpath; 547 liberator.log(res.responseText) 541 548 doc = res.getHTMLDocument(xpath); 542 549 if (!doc) throw 'XPath result is undefined or null.: XPath -> ' + xpath;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)