You are not logged in.
I am trying to search this forum directly by the url (this is to allow the functionality in my browser, qutebroswer, with a shortcut).
For other websites I perform a search and then get the required url with a space where the query is placed, e.g., for Duck Duck Go
where {} is the space which will contain the search query.
If I search on this forum though, I get a string like
https://bbs.archlinux.org/search.php?se … 1231232444
trying to replace the search id with another number, or a query, leads to invalid links.
Other websites, like wikipedia, have a syntax like
https://en.wikipedia.org/w/index.php?search={}
but trying to replace search_id with search or other similar terms yield no results.
Is there a way to do this? Is there a sensible meaning to the search ID (e.g. so that I can peraphs script something to get me the required search_id number to pass in the url?)
Last edited by navi_se (2016-01-03 14:23:33)
Offline
You need to use https://bbs.archlinux.org/search.php?ke … ion=search
(shamelessly taken from the arch-firefox-search package)
Edit: In /usr/lib/firefox/distribution/searchplugins/common/arch-forum-c.xml there are some other parameters you might be interested in:
<Url type="text/html" method="GET" template="https://bbs.archlinux.org/search.php">
<Param name="keywords" value="{searchTerms}"/>
<Param name="search_in" value="0"/>
<Param name="sort_by" value="0"/>
<Param name="sort_dir" value="DESC"/>
<Param name="show_as" value="posts"/>
<Param name="action" value="search"/>
</Url>Last edited by lahwaacz (2016-01-03 13:48:24)
Offline
Ah, yes! That works!
I was just experimenting with
https://bbs.archlinux.org/search.php?ac … eywords={}
which is what you get if you perform an empty search. Curiously, if you swap {} with a term right after performing the empty search, it will work, but if you then attempt the same thing from a random page you only obtain another empty search.
Your ordering works instead, and so I can use:
https://bbs.archlinux.org/search.php?ke … ion=search
Also thanks for the other parameters, one can also use the search function of the forum with different parameters to see them in use and customize to one's liking.
![]()
Offline