ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > N.A.N.Y. 2010

NANY 2010 Final Release: FarrWebMetaSearch

(1/14) > >>

phitsc:
NANY 2010 Entry Information
Application Name FarrWebMetaSearch Version 0.9.1 Short Description A FARR plugin used to query results from a web page and display them in list form. Supported OSes MS Windows Web Page http://farrwms.objecttechnology.com Download Link download System Requirements
* FindAndRunRobot (FARR)Version History
* 0.9.1 - preliminary - use FARR's launching functionality to open URLs
* 0.9.0 - preliminary - first releaseAuthor phitsc Credits Thanks to hamradio for designing the plugin icon!Screencast http://donationcoder.com/nany2010/sc/webmetasearch/webmetasearch.html
YouTube: http://www.youtube.com/watch?v=pxKcvQ-uHjQ

Description
FarrWebMetaSearch is another generic web retrieval FARR plugin. Unlike ewemoas Webgrab this plugin will show results in list mode. It is therefore targeted at web sites delivering list-like results.

Configuration and usage of the plugin will be as follows:

* searches are configured via a text configuration file, one for each 'search'. the file will specify search url and a regular expression to capture the result.
* search terms will be specified through the FARR input box
See implementation notes further down for further clarification.

Features
It just does what it says in the description.

Planned Features

* Fix icon copyright problem
* Fix launching problem
* Add proper help file
* Add a way for users to contribute / get searches
* Add logging/notification in case a configuration files is invalid
* Improve usage for news feeds
* Make original search string available as a variable
* Add many more searches :D
* Either make plugin asynchronious or implement some way to delay searching
* Add a description for each search to xml files and FARR searches list
* Implement filtering of searches
* Implement auto-completion of searches with Enter key (well, maybe)
* Add a way to specify search options (for web sites that support it)
* Make parsing of searches files more robust
Screencast


Screenshots

FarrWebMetaSearch Web Site MSDNNANY 2010 Final Release: FarrWebMetaSearchNANY 2010 Final Release: FarrWebMetaSearchCDDBNANY 2010 Final Release: FarrWebMetaSearchNANY 2010 Final Release: FarrWebMetaSearch
and a teaser screencast.

Implementation Notes

FarrWebMetaSearch reads all configuration files in its searches subdirectory when it's being loaded. When the plugin alias (currently wms) is entered, it will list all configured searches. To use a search one would then enter, e.g.:

wms msdn PathAppend

to find MSDN entries for the PathAppend API function.

Search files currently look like this (this is the cddb.conf file):

description=Microsoft Developer Network
searchUrl=http://social.msdn.microsoft.com/Search/en-GB?query=
resultPattern=<a onmousedown=\".*\" href=\".*\">(.*)</a>\r\n<br/>\r\n<div class=\"ResultDescription\">(.*)</div>\r\n<div class=\"ResultUrl\">(.*)</div>
farrCaption=$1
farrGroup=$2
farrPath=$3

The regex sub-expressions can (should, actually) be used to form the results.

mouser:
Sounds wonderful!
Reminds me of this FARR plugin as well which deserves more attention and users:
https://www.donationcoder.com/forum/index.php?topic=16006.0

phitsc:
I've added some screen shots.

mouser:
whoa now this is looking good.

phitsc:
updated implementation notes and added a todo list

Navigation

[0] Message Index

[#] Next page

Go to full version