Closed Bug 346863 Opened 18 years ago Closed 18 years ago

Approval: adjust yahoo suggest URL

Categories

(Mozilla Localizations :: ko / Korean, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: channy)

References

Details

Attachments

(1 file, 2 obsolete files)

We got a request to adjust the suggestions URL to

<Url type="application/x-suggestions+json" method="GET"
     template="http://kr.ff.search.yahoo.com/?output=fxjson&amp;command={searchTerms}" />

The other plugins are in bad need for an update, too. I don't think that you need the google-kr plugin at all, just reference the 'google' one in list.txt, that will be picked up from en-US.
Status: NEW → ASSIGNED
Is your url from yahoo suggestion url? So Is it replace not <Url> but <SuggestionUrl> entity? I know Url is web page url to search keyword.

I changed the search url from google.com to google.co.kr in google.xml. So I changed it to google-kr.xml. Can I need to google-kr to google if it does?
(In reply to comment #1)
> I changed the search url from google.com to google.co.kr in google.xml. So I
> changed it to google-kr.xml. Can I need to google-kr to google if it does?

No.

Remove google-kr.xml, then change "google-kr" to "google" in list.txt

The search plugin will be picked up from en-US, and the language detection will be done server-side.
(In reply to comment #1)
> Is your url from yahoo suggestion url? So Is it replace not <Url> but
> <SuggestionUrl> entity? I know Url is web page url to search keyword.

SuggestionUrl is not used anymore, it was an intermediate design step, and a bad one apparently. Regular search queries only differ in the type attribute from suggest queries. Your yahoo plugin should have two Url elements, one for regular search, one for suggest, the second should be as depicted in the initial comment.
Attachment #232883 - Flags: approval-l10n?
Attached file add google.xml and del google-kr.xml (obsolete) —
Attachment #232884 - Flags: approval-l10n?
Comment on attachment 232884 [details]
add google.xml and del google-kr.xml

This one should be a patch to list.txt, and there is no need to actually add google.xml, as that is going to be picked up from the en-US source directory.
Attachment #232884 - Flags: approval-l10n? → approval-l10n-
Comment on attachment 232883 [details] [diff] [review]
yahoo-kr.xml patch

This fix looks right.

For future reference, we're much more familiar with cvs diff -u, which makes reviewing easier.
Attachment #232883 - Flags: approval-l10n? → approval-l10n+
I committed yahoo-kr.xml.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Attachment #232884 - Attachment is obsolete: true
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch list.txt patch (obsolete) — Splinter Review
I changed google-kr to google in list.txt Please check out!
Attachment #233035 - Flags: approval-l10n?
Comment on attachment 233035 [details] [diff] [review]
list.txt patch

To understand this patch, you're reverting back to the order and list of the 1.8.0-branch version, not adding eBay and answers to list.txt in comparison to Firefox 1.5.0.x?
Attachment #233035 - Attachment is obsolete: true
Attachment #233035 - Flags: approval-l10n?
I will follow up issues of search plugin in Bug 348101. 
Status: REOPENED → RESOLVED
Closed: 18 years ago18 years ago
Resolution: --- → FIXED
Blocks: 348101
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: