Closed Bug 459888 Opened 16 years ago Closed 16 years ago

[lv] Search engine setup for Firefox 3 for Latvian.

Categories

(Mozilla Localizations :: lv / Latvian, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stas, Unassigned)

References

Details

(Keywords: fixed1.9.0.4, verified1.9.0.4)

Attachments

(2 files, 1 obsolete file)

We want to ship Firefox 3 a good list of search engines for Latvian. We're going to work towards this in three phases. First, the localization team and Stas (Stas Malolepszy) will look at the market for the language and come up with a good set of search providers. Raivis, we'll need your input on this, the guidelines for making recommendations are on http://wiki.mozilla.org/Firefox_web_services_guidelines. For en-US, we currently use this set, to which we can fall back in the case of lacking localized alternatives: Google, Yahoo, Amazon, Answers, CC, eBay, Wikipedia After we decided on a particular search engine, Stas will contact the owner and ask for permission, and for specifics like proper search flags. undefined, we'll likely need your help to at least get the contact information. Once we have a specification on what the searchengines for Latvian should look like, the localization team and Axel will work on an implementation on that. This should happen by the localization team creating and attaching patches for the desired changes, and requesting review from Axel. After a successful review, the localization team will land them. Please don't commit any modifications in l10n/lv/browser/searchplugins to the cvs repository without a patch reviewed by Axel, Stas or someone else appointed by Stas or SethB. The data here is sensitive to users and our search partners, thus the extra care here.
Google, Yahoo and Wikipedia are ok for Latvia, al Amazon, CC and eBay are not that popular in Latvia. For e-commerce I can suggest the following: - http://www.salidzini.lv/ - http://kurpirkt.lv/index.php those both are sites that aggregate info about all the internet shops in Latvia. So far we have committed changes from FF2 to l10n/lv/browser/searchplugins
Ok, so I think we should go with: General search plugins: Google, Yahoo, Wikipedia (lv). e-Commerce: http://salidzini.lv ( salidzini(at)salidzini.lv ) specific Latvian search: http://dict.lv/ (dictionary. dictdot(at)gmail.com) I have some free time and could contact the owners of these sites, to speed up the process. Do we need anything else to decide on the choice of searchplugins?
Raivis, these are really good suggestions. To summarize: general search: * google -> google * yahoo -> yahoo e-commerce: * Amazon -> salidzini.lv * eBay -> ? (are there any popular auction sites that you would recommend?) specific interest search: * wikipedia -> wikipedia (lv) * CC -> dict.lv * Answers -> (remove) Can you thin of an good auction sites that we could include in e-commerce category? We normally try to ship with one retail and one auction plug-in. Please contact salidzini.lv and dict.lv if you can. (I can write to them as well, so please let me know what you prefer.) We'll need to ask for their permission and verify what search parameters they expect. We can also suggest adding a special parameter (e.g. from=mozilla) to let the search providers identify the traffic driven by the plug-ins.
One more thing: for dict.lv it would be cool to ask them if we can pass the parameters in a URL and then get a results on a new page. Right now the search is based on AJAX and the page doesn't reload.
Attached patch Latvian search plugin update (obsolete) — Splinter Review
I have permission to use salidzini.lv (also sent in english to Stas) and a permission to use dict.lv (owner is yet to confirm permission in english to Stas) ss.lv is still thinking weather to give permission. We should go with 5 search plugins for now and add SS.lv later if/when they give their permission.
Attachment #344274 - Flags: review?(stas)
Comment on attachment 344274 [details] [diff] [review] Latvian search plugin update Thanks Raivis. This looks good in general, but please see a couple of my comments below. r- for now, but we're on a good track :) >Index: dict-lven.xml >=================================================================== >+<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"> We should use MozSearch format for the shipped plugins: <SearchPlugin xmlns="http://www.mozilla.org/2006/browser/search/"> >+ <ShortName>Dict.lv Lv-En</ShortName> I don't know why, but I acually thought we were going to include "en-lv" search. Wouldn't that be more useful for the users? >+ <Description>Latviešu - angļu vārdnīca</Description> >+ <Image height="16" width="16" type="image/x-icon">http://dict.lv/favicon.ico</Image> We should use http://software.hixie.ch/utilities/cgi/data/data to generate a data: URI from the icon. Please select base64 on this page, put "http://dict.lv/favicon.ico" in HTTP URI field and hit "Generate". >+ <adultcontent>false</adultcontent> This is not needed. Adding <InputEncoding>UTF-8</InputEncoding> <SearchForm>http://dict.lv</SearchForm> somewhere in this file might also be a good idea. >Index: list.txt >=================================================================== >RCS file: /l10n/l10n/lv/browser/searchplugins/list.txt,v >retrieving revision 1.10 >diff -u -8 -p -r1.10 list.txt >--- list.txt 9 Oct 2008 11:25:34 -0000 1.10 >+++ list.txt 22 Oct 2008 12:10:03 -0000 >@@ -1,7 +1,5 @@ >-amazondotcom >-answers >-creativecommons >-eBay > google >-wikipedia > yahoo >+salidzinilv >+wikipedia-lv We also need to modify and add to the searchplugins/ directory the wikipedia-lv.xml file. >+dict-lven >Index: salidzinilv.xml >=================================================================== Let's add <SearchForm>http://salidzini.lv</SearchForm> to this file as well. The <SearchForm/> element is the URL that will open if a user hits Enter (or clicks the magnifying glass icon) when the search bar is empty.
Attachment #344274 - Flags: review?(stas) → review-
Patch with your commnets included.
Attachment #344274 - Attachment is obsolete: true
Attachment #344307 - Flags: review?(stas)
Comment on attachment 344307 [details] [diff] [review] Latvian search plugin update v.2 r=me. Please land this patch on CVS referencing this bug and my review. A couple of minor formatting comments follow. Please address them before landing. >Index: dict-enlv.xml >=================================================================== >+ <ShortName>Dict.lv En-Lv</ShortName> >+ <Description>Angļu - latviešu vārdnīca</Description> >+ <Image height="16" width="16" type="image/x-icon">(...)</Image> >+ <Url type="text/html" method="get" template="http://dict.lv/en-lv/{searchTerms}"/> >+ <InputEncoding>UTF-8</InputEncoding> >+ <SearchForm>http://dict.lv</SearchForm> Could you remove the indentation here, please? >Index: salidzinilv.xml >=================================================================== >+<Url type="text/html" method="GET" template="http://www.salidzini.lv/search.php"> >+ <Param name="q" value="{searchTerms}"/> >+ <Param name="from" value="firefox-plugin"/> >+</Url> >+<Url type="application/x-suggestions+json" method="GET" template="http://www.salidzini.lv/suggested_search.php"> >+ <Param name="q" value="{searchTerms}"/> >+ <Param name="from" value="firefox-plugin"/> >+</Url> Please use two-space indentation for <Params/>. Also, do the suggestions work for you? It doesn't seem to work for me. If I put the suggestion URL in the location bar, I get a response from the server, but it take quite long to get through.
Attachment #344307 - Flags: review?(stas) → review+
Fixed indents and landed in CVS. Closing this bug for now. If SS.lv will respond or we come to some other new search engine will reopen :)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Mind filing a follow up bug on SS.lv? Then we can track that option independent of this bug.
I'll fille a bug when we have something to talk about / review like when SS.lv give their answer or we think of a new site / search engine. So far I would interpret no answer as "no".
Thanks Raivis. Can you add verify1.9.0.4 keyword to this bug once you verify that the search engines are OK in a nightly build, please?
Keywords: fixed1.9.0.4
Reopening to deal with the SS.lv plugin.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
I have a werbal permission to use SS.lv as a search plugin and a promise that manager will email in english confirming the permission. Adding SS.lv plugin patch for review
Attachment #344455 - Flags: review?(stas)
Attachment #344455 - Flags: review?(stas) → review+
Comment on attachment 344455 [details] [diff] [review] SS.lv search plugin added to the Latvian search plugins Great. Raivis forwarded me all permissions, so we're good. r=me. Same procedure as above, please :) Thanks for all the hard work on contacting the providers. We really made some good progress this week on this bug.
A final summary of what we did here: general search: * google -> google * yahoo -> yahoo e-commerce: * Amazon -> salidzini.lv * eBay -> ss.lv specific interest search: * wikipedia -> wikipedia (lv) * CC -> dict.lv * Answers -> (remove)
landed patch in CVS. Closing bug again. Will add verify1.9.0.4 keyword once I verify search plugins in a nightly build
Status: REOPENED → RESOLVED
Closed: 16 years ago16 years ago
Resolution: --- → FIXED
Keywords: verified1.9.0.4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: