Project

bookmarks

0.0
No commit activity in last 3 years
No release in over 3 years
Bookmarks is a library to parse or build a file of bookmarks, currently only files in netscape format, like the ones exported by Delicious or Firefox.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.7.1
~> 3.0
~> 0.9.11
 Project Readme

Bookmarks Gem Version

Description

Parse or build a file of bookmarks, in the Netscape Bookmark File Format.

Install

In Gemfile:

gem 'bookmarks'

Usage

require 'bookmarks'

document = Document.new
document.parse 'bookmarks_file.html'

document.total # => Number of bookmarks.

document.bookmarks.each do |b|
  puts b.url
  puts b.title
  puts b.tags
  puts b.date
  puts b.description
end

Dependencies

  • ruby >= 2.5.0 (should work with earlier versions)

License

MIT

Questions and/or Comments

Feel free to email Xavier Nayrac with any questions, or contact me on twitter.