yacy / yacy_search_server

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
http://yacy.net
Other
3.42k stars 428 forks source link

Integrate with XBEL bookmarks database #452

Open GreenLunar opened 2 years ago

GreenLunar commented 2 years ago

e: thread starts here

~buku is a powerful bookmark manager and a personal textual mini-web.~

~I want to share my bookmarks privately, using access token, with co-workers and friends. It would be nice to add support to retrieve results from a buku bookmarks.db database file.~

Related: https://github.com/jarun/buku/issues/549

reger24 commented 2 years ago

don't see how that could be realized in yacy_search_server. buku depends on python and yacy_search_server is pure java - and adding a dependency to python seems not desirable for all the different systems (specially not on Win)

GreenLunar commented 2 years ago

It's just the bookmarks.db database which is sqlite3. Python is not required.

On February 4, 2022 5:30:11 AM UTC, Burkhard @.***> wrote:

don't see how that could be realized in yacy_search_server. buku depends on python and yacy_search_server is pure java - and adding a dependency to python seems not desirable for all the different systems (specially not on Win)

Dalethium commented 2 years ago

I think, if this were to be integrated, it may be more fruitful to use a more widely adopted external bookmark system such as XBEL -- that way more widely supported systems such as Flocus could be used along with many others.

I think that using something like XBEL is smarter since it's a format standard, and not a specific project that Yacy would have to then integrate and work with. That way, if other projects wanted to integrate with Yacy's bookmark system, they could follow a standard format and not depend on this project or any other project for integration practices.

reger24 commented 2 years ago

fyi: bookmarks can already be exported as xbel see http://localhost:8090/api/bookmarks/xbel/xbel.xml

GreenLunar commented 2 years ago

Is it possible to make them appear in in search results too? I'm asking because I'm not familiar with YaCy.

reger24 commented 2 years ago

Every search result (which was not already bookmarked by user) has a bookmark icon image

and can be viewed etc. on a separate page image

YaCy also creates automatic bookmarks for crawl start pages (this can be made public and shared with other peers)

P.S. currently not all parts of the bookmark feature is activated (@Orbiter : maybe it's time to decide if we want to further support the bookmark feature - after the ymark stuff is removed - -> if not, we should delete all bmk source, or activate the remains).

@Orbiter detail information on boorkmark topic

GreenLunar commented 2 years ago

Is there a dicumentation about this?

On February 8, 2022 8:57:15 PM UTC, Burkhard @.***> wrote:

Every search result (which was not already bookmarked by user) has a bookmark icon image

and can be viewed etc. on a separate page image

YaCy also creates automatic bookmarks for crawl start pages (this can be made public and shared with other peers)

P.S. currently not all parts of the bookmark feature is activated @.*** : maybe it's time to decide if we want to further support the bookmark feature - after the ymark stuff is removed - -> if not, we should delete all bmk source, or activate the remains).

reger24 commented 2 years ago

no, I don't think a documentation exists (only the user interface hints),

(I know only the documentation in the old Wiki )