PLUGIN: search
A plugin for P1tr which generates links similar to this:
foo: *search -google something
P1tr: http://
Also other searches (e.g. Wikipedia, Forums etc.)
Maybe searches in a separete File, for easy adding.
Maybe different use(e.g. "*google something" or even with a specific username: "*google someFoo something" --> "someFoo: http//:
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Medium
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- Oswald Reichel
- Definition:
- Approved
- Series goal:
- Accepted for 0.1
- Implementation:
- Beta Available
- Milestone target:
- beta
- Started by
- Oswald Reichel
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
IMHO putting all searches in seperate files is exagerated. The code necessary for a single search query is pretty small, the request itself looks the same for all search engines, and afterwards we just need a few individual lines per search engine for parsing the results.
-- c-ortner
Currently the search plugins only allows to use one search engine. E.g "*search -google foo". It would be a since feature to allow a search with multiple search engines and all engines. E.g: "'search -google -wiki-de foo" and "search * foo".
-- sebner
How would you order the results then?
-- m-otteneder
Solution: "*search -wiki_de -google foo" ---> result (first choosed engine gives the first link back)
wikipedia.de .......
google.de .......
if we choose the search with all engines the results should come in same order as the search engines are mentioned:
*search
With which search engine should I search after what? Use: '+search -engine searchterm '. Engine can be: , -wiki_de, -yahoo, -wikia, -wiki_en, -google
So first result will be wiki_de and google the last.
-- sebner
Another approach: Provide different keywords for different search engines and parse the results page to get direct links to the top three results of a search.
c-ortner