Name | Date | Size | ||
---|---|---|---|---|
.. | 09-Feb-2023 | 26 | ||
attr2c | H A D | 09-Feb-2023 | 282 | |
attrs.c | H A D | 09-Feb-2023 | 37.4 KiB | |
attrs.h | H A D | 09-Feb-2023 | 4.8 KiB | |
attrs.txt | H A D | 09-Feb-2023 | 3.8 KiB | |
bin/ | H | 09-Feb-2023 | 4 | |
bookmark.mime | H A D | 09-Feb-2023 | 3.3 KiB | |
config/ | H | 09-Feb-2023 | 3 | |
duckduckgo_request.cpp | H A D | 09-Feb-2023 | 3.9 KiB | |
duckduckgo_request.h | H A D | 09-Feb-2023 | 1.6 KiB | |
Jamfile | H A D | 09-Feb-2023 | 597 | |
ksocket.h | H A D | 09-Feb-2023 | 2.8 KiB | |
lists.c | H A D | 09-Feb-2023 | 1.6 KiB | |
lists.h | H A D | 09-Feb-2023 | 1.1 KiB | |
lists2.c | H A D | 09-Feb-2023 | 2.1 KiB | |
lists2.h | H A D | 09-Feb-2023 | 1.8 KiB | |
lock.h | H A D | 09-Feb-2023 | 1 KiB | |
makezip.sh | H A D | 09-Feb-2023 | 420 | |
parse_duckduckgo_html.c | H A D | 09-Feb-2023 | 6.5 KiB | |
query.c | H A D | 09-Feb-2023 | 3 KiB | |
query.h | H A D | 09-Feb-2023 | 1,023 | |
README.websearchfs.txt | H A D | 09-Feb-2023 | 1.1 KiB | |
ringbuff.c | H A D | 09-Feb-2023 | 2.6 KiB | |
ringbuff.h | H A D | 09-Feb-2023 | 628 | |
settings.c | H A D | 09-Feb-2023 | 1.3 KiB | |
settings.h | H A D | 09-Feb-2023 | 391 | |
string_utils.c | H A D | 09-Feb-2023 | 3.2 KiB | |
string_utils.h | H A D | 09-Feb-2023 | 619 | |
vnidpool.c | H A D | 09-Feb-2023 | 2.4 KiB | |
vnidpool.h | H A D | 09-Feb-2023 | 536 | |
websearchfs.c | H A D | 09-Feb-2023 | 46.4 KiB | |
websearchfs.h | H A D | 01-Mar-2023 | 3.1 KiB | |
websearchfs_res.rdef | H A D | 09-Feb-2023 | 4.4 KiB |
README.websearchfs.txt
1Welcome to the Web Search FileSystem for BeOS���, Zeta��� and Haiku��. 2Copyright�� 2004, 2005, Fran��ois Revol. 3 4DuckDuckGo is a trademark of DuckDuckGo. 5BeOS is a trademark of PalmSource. 6Zeta is a trademark of yellowTAB GmbH. 7Haiku is a trademark of Haiku, Inc. 8 9REQUIRES USERLANDFS 10 11mkdir /Web; mount -t userlandfs -p websearchfs /Web 12 13Use "Search the Web" query template in this folder to search anything on the web. 14The search results are kindly provided by DuckDuckGo (https://duckduckgo.com). 15 16or from the commande line: 17 18 query -v /Web '((name=="*QUESTION*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))' 19 20where QUESTION is what you want to search. (websearchfs currently filters queries to only answer those). 21You will want to pipe that to catattr to get the URLs: 22 23 query -v /Web '((name=="*site:haiku-os.org userlandfs*")&&(BEOS:TYPE=="application/x-vnd.Be-bookmark"))' | xargs catattr META:url 24 25(note that won't work with sync_unlink true in the settings) 26 27Included are 2 scripts, search and imlucky that runs such a query using the arguments given on the command line. 28 29Enjoy. 30