![]() |
Type in a command, or "ls dictionary" to search all commands for "dictionary", etc.
|
NAME mozup - Searches Mozilla Update (Update.Mozilla.org) for [SEARCH TERM]. SYNOPSIS mozup [SEARCH TERM] -cat [CATEGORY] -type [TYPE] -app [APPLICATION] EXAMPLES mozup yubnub -app firefox {Search Mozilla Update for "yubnub" in Firefox.) mozup mouse gestures -type E -app thunderbird {Search Mozilla Update for "mouse gestures" in extensions for Thunderbird.) mozup mac -type T -app thunderbird {Search Mozilla Update for "mac" in themes for Thunderbird.) DESCRIPTION This command gives control over searching Mozilla Update which is the official repository for extensions or themes created for Thunderbird or Firefox. You can locate a Firefox or Thunderbird extension or theme and also refine the search to a category (not supported). While searching various categories, applications and types of add-ons is available it's not required. Simply supply a search term after the command to run a vague search on Mozilla Update. I tried to make it as easy as possible to search using these terms without requiring special knowledge of the form values used on Mozilla Update's search form. Types: There are two types which can be used (extension and theme) and they are passed to the form as one uppercase value equal to the first letter of the type. In MozUp you can type the first character for type or the entire name, in any case it will be converted to one upper-case character for the form. To search within all types omit the type parameter, by default all types will be returned by Mozilla Update. Applications: There are three applications which can be used (Firefox, Thunderbird, and Mozilla) and they are passed to the form as the whole app name in lower-case. In MozUp you must type in the whole application name, but regardless of case it will be converted to lower-case for the form. Like type, to search within all of the applications, omit the parameter. Categories: You're on your own here for the time being, unfortunately Mozilla Update's form uses a numerical index for categories. If you're up to checking out the list and memorizing the numbers more power to you. I figured I would leave the option here just in case something comes along to solve this problem, that is assuming people want to filter their searches using categories... NOTES I tried using the mu command but had no luck, it seems to me that it links to an old form no longer in use (or which has changed names). I decided that rather than just fixing and sort of duplicating mu to add these parameters, I hope they are useful and functional. Please be sure to contact me with any suggestions or bugs which you may find. AUTHOR David Monaghan (monaghan.david [at] gmail [dot] com) This command makes use of these commands (thanks to); strLeft (Allen Ormond) lcase (Jonathan Aquino) ucase (Jonathan Aquino)