Closed Bug 219825 Opened 21 years ago Closed 21 years ago

Remove search-db.rdf and use the index and contents to search instead.

Categories

(SeaMonkey :: Help Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: rjkeller, Assigned: rjkeller)

References

Details

Attachments

(1 file, 1 obsolete file)

search-db.rdf, according to oeschger, was used only to modify the search results
of the Help menu search. Mainly used for marketing. This file is not needed,
since any entries in this file should also be in the help index.

So, we should remove search-db.rdf, and add searching of the help index. Any
entries that should be searched for should be added to the index.
Depends on: 219120
Blocks: 190169
Attached patch Patch (obsolete) — Splinter Review
Note that this patch includes removing search-db.rdf. Not sure how to say this
in a diff ;).
Comment on attachment 132267 [details] [diff] [review]
Patch

Neil, I'm not sure if you can review this, but it contains JS code related to
searching RDF. I assume you could review it, but not 100% sure. No actual RDF
in the patch.
Attachment #132267 - Flags: superreview?(jag)
Attachment #132267 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 132267 [details] [diff] [review]
Patch

I think we shouldn't just remove the code for additional datasources, you
should just remove the reference to search-db.rdf from mozillahelp.rdf (?)
Attachment #132267 - Flags: review?(neil.parkwaycc.co.uk) → review-
That's true. I'll make the change back.
Attachment #132267 - Attachment is obsolete: true
Attachment #132267 - Flags: superreview?(jag)
Attachment #132279 - Flags: review?(neil.parkwaycc.co.uk)
QA Contact: tpreston → stolenclover
Blocks: 220510
Comment on attachment 132279 [details] [diff] [review]
Patch with Neils comments

>-                    nc:datasources="search-db.rdf"
>+                    nc:datasources=""
I've got too many of your patches installed so I can't try this yet, but I
think it should work if you just remove this line without replacing it.
> I've got too many of your patches installed so I can't try this yet, but I
> think it should work if you just remove this line without replacing it.

Yes, I was thinking of removing this line, but the Search worked fine (with no
JS errors) with this link being blank, and I was hoping that people could use
Mozilla Help as a reference for the help viewer.

There is no reference (at least to my knowledge) about how the help viewer
works, so I want Mozilla Help to demonstrate all of the options that a content
pack can use. This is there just so 3rd parties can know that it's there. If you
think that it's a waste, then I'll remove it.
Hmm... what about changing that line to use the index, rather than coding it?
> Hmm... what about changing that line to use the index, rather than coding it?

That would work, but I would think that the index should be up by default and
not give a choice to anyone who wishes to use the Help viewer. I consider
searching the index equivalent to searching the TOC or Glossary, which is coded
into help.
Comment on attachment 132279 [details] [diff] [review]
Patch with Neils comments

>-                    nc:datasources="search-db.rdf"
>+                    nc:datasources=""
OK, but I think this should be changed to rdf:null instead.
Attachment #132279 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #132279 - Flags: superreview?(alecf)
Comment on attachment 132279 [details] [diff] [review]
Patch with Neils comments

sr=alecf
Attachment #132279 - Flags: superreview?(alecf) → superreview+
Fix checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
v

several regressions:
"what" returns "what is"
"related" returns "finding related"
neither link makes any sense. We need to clean our Index and Contents db.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: