Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 296 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 296 Bytes

FB2 Parser

A swift implementation for simple parsing FB2 format, extracting thumbnail if coverpage exists and convert file to HTML

let imageData = try FB2Book.getCoverpage(url: URL())
let fb2Book: FB2XMLFictionBook = try FB2Book.openBook(url: URL())
let html = fb2Book.getHTML()