• This repository has been archived on 24/Feb/2021
  • Stars
    star
    372
  • Rank 114,858 (Top 3 %)
  • Language
    JavaScript
  • Created over 11 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An enhanced pinboard bookmarklet for the persnickety

particular pinboard

A modification of the pinboard bookmarklet with enhancements that appeal to my fiddly nature.

  • Title is cleaned of extraneous "SEO-junk" through heuristics based on page structure
  • Description field is populated with the selected text, or pulled from description tags in page header
  • Tags are added according to keyword rules setup by the user.

This bookmarklet is based on an existing modification to the pinboard bookmarklet by Ben Ward. The build file makes variants for "Read Later" and for users of Pinswift on iOS.

Bookmarklets

Building

Run build.sh to compile the source file into bookmarklet form. You must have UglifyJS and node installed. To install node I recommend homebrew:

brew install node

To install UglifyJS:

npm install uglify-js

Please note the dash between "uglify" and "js". It is possible to install an older version without using the dash that does include the command line tool.

Customization

You can enable or disable various features by modifying the constants at the top of the source file. These should be well documented in source. Of particular interest for users are keyword rules which determine the tags based on the text of the document.

License

This code is public domain. Fork it as the basis for your own particular pinboard and let me know what you discover.