Skip to content

et2010/html2zim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

html2zim

html到zim wiki语法格式转换工具, 使zim能像evernote一样用于网页剪辑.

  • 图片引用链接将会显式输出
  • 由于从剪贴板读取, 相对路径内容将不会被解析

建议配合klipper等剪贴板工具使用, 对剪贴板内容命令使用:

clipcli text/html | html2zim -k path-to-where-you-store-zim-images

参数

html2zim [-k/-w pathToStore] [html_file]

不指定html_file则从stdin读入
-k使用kio下载图片, -w使用wget下载图片, 不指定则用alt属性的文本表示

html2zim

Convert html to Zim wiki syntax, you can now use zim as a web clipper.

  • href in <img> or <a><img></img> will be explicit given as screenshot
  • Resources in relative paths will not be converted

It is recommend to use klipper or other clipboard utilities for auto conversion with commandline:

clipcli text/html | html2zim -k path-to-where-you-store-zim-images

Parameters

html2zim [-k/-w pathToStore] [html_file]

Read from stdin if no html_file given.
-k to download with kio, -w with wget, otherwise to extract text from attribute 'alt'

Screenshot (page from http://www.wikiwand.com/en/Ball_tree (Edited))

Screenshot

About

like html2markdown, but for zim wiki

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%