Bug #9900: Improve Website search
Have an option to include mailing-lists to website search
Add forms to search our public mailing lists on about/contact (refs: #9904).
Since more than 3 years, #9904 has been handled as part of #9900 ("Improve
Website search"). I don't believe this approach is going anywhere because under
the current assumption that our website must not use an external search engine,
this would require ikiwiki to index the archive of our mailing lists. I don't
think that's realistic (no progress on any of the ikiwiki-related subtasks
of #9900 for years) and even if it were, I don't think it's a good use of our
In the specific case of our public mailing lists, I believe we can skip the
discussion about using an external search engine: our mailing lists are already
hosted by a third party (Autistici/Inventati) and we already provide forms to
subscribe to them, which POST to that third party. So adding another set of
forms that POST to A/I's mailing list archive search engine does not make any
difference in this respect.
To improve UX, I'm using a placeholder that should help visitors of these web
pages understand what the query string should look like (before they type
required query prefix once the visitor has selected the search field.
This requires disabling the htmlscrubber ikiwiki plugin on the affected pages.
Finally, I'm wrapping these forms with <p>…</p>, otherwise the rendered layout
is much too packed.
#7 Updated by intrigeri almost 2 years ago
I meant that we would not be able to say: search for $word on this website AND the mailinglists at once.
This seems to work fine: https://duckduckgo.com/?q=Tails+3.0+site%3Atails.boum.org+OR+site%3Ablog.torproject.org&t=h_&dbexp=a&ia=web :)
#8 Updated by intrigeri about 1 month ago
FWIW, the new place where our public mailing lists are archived is indexed at least by DuckDuckGo. For example, https://duckduckgo.com/?q=tails+monthly+report+site%3Atails.boum.org+OR+site%3Alists.autistici.org&t=h_&ia=web returns https://lists.autistici.org/message/20190401.000001.0cceab68.en.html as the 4th result.
- Assignee changed from sajolida to intrigeri
I'm happy. I think it's better to move the search on the mailing lists closer to the description of the mailing lists, like you did, instead of merging it with the search on the website somehow, like proposed initially.
I added 85e12f0cc4 on top of your branch to improve the layout.