Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export/Import and Store in XBEL #569

Closed
GreenLunar opened this issue Feb 7, 2022 · 6 comments
Closed

Export/Import and Store in XBEL #569

GreenLunar opened this issue Feb 7, 2022 · 6 comments

Comments

@GreenLunar
Copy link

GreenLunar commented Feb 7, 2022

Following comment by @Dalethium.

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.

image https://floccus.org/assets/img/screen_select_sync_method.png

Also relevant #494 (once applied, there are already apps that can handle XBEL bookmarks for us)

@GreenLunar GreenLunar changed the title Export/Import/Utilize XML Bookmark Exchange Language (XBEL) Export/Import/Utilize XBEL Feb 7, 2022
@GreenLunar GreenLunar changed the title Export/Import/Utilize XBEL Export/Import and Store in XBEL Feb 7, 2022
@GreenLunar
Copy link
Author

Added Store to title, which would be beneficial to @OtterBrowser users
Otter Browser stores bookmarks at `.config/otter/bookmarks.xbel'

@GreenLunar
Copy link
Author

GreenLunar commented Feb 7, 2022

The attached XSL script converts XBEL into HTML.

  1. Rename FILENAME.xbel into FILENAME.xml
  2. Open XML file for edit
  3. Below first line <?xml version="1.0" encoding="UTF-8"?>
  4. Add <?xml-stylesheet type="text/xsl" href="xbel-1.0.xsl"?>
  5. Open XML file
  6. Save page as HTML

Done

Attachment: xbel-1.0.xsl.zip
From: twistedmatrix.com

@jarun
Copy link
Owner

jarun commented Feb 26, 2022

Please share the step by step instructions to add to the Wiki.

@GreenLunar
Copy link
Author

I don't think it's an orderly way to do so. I've just posted it for the sake of information.
Would you like me to send a PR (in python) to import and export in XBEL format?

@jarun
Copy link
Owner

jarun commented Feb 27, 2022

Would you like me to send a PR (in python) to import and export in XBEL format?

That would be great.

@jarun
Copy link
Owner

jarun commented Mar 23, 2022

Closing as we expect a PR for this.

@jarun jarun closed this as completed Mar 23, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants