pinboard-elinks

Check-in [68a1601284]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add delete "button" to bookmark page, works via Pinboard API

- Can't use normal delete/destroy since requires posting form data and
as far as I know that can only be done via Javascript. However, the
API works great just as a get request. Therefore make a delete link
that works via an API call
- Since this is immediately destructive only put the delete link on the
individual bookmark page, not when browsing through a list of
bookmarks
- Requires API token to be entered into file
- Also use some file level variables to avoid repetition and
duplication.
- Clear up naming. Was a mix of camel case and underscores

Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 68a1601284077e7b6296032c74be781f7b98d3851d6ea6805757a689afa42837
User & Date: atomicules@lavabit.com 2012-12-20 00:04:29.000
Context
2012-12-20
00:09
Remove done item from todo check-in: 7a09c1b2d3 user: atomicules@lavabit.com tags: master, trunk
00:04
Add delete "button" to bookmark page, works via Pinboard API

- Can't use normal delete/destroy since requires posting form data and
as far as I know that can only be done via Javascript. However, the
API works great just as a get request. Therefore make a delete link
that works via an API call
- Since this is immediately destructive only put the delete link on the
individual bookmark page, not when browsing through a list of
bookmarks
- Requires API token to be entered into file
- Also use some file level variables to avoid repetition and
duplication.
- Clear up naming. Was a mix of camel case and underscores check-in: 68a1601284 user: atomicules@lavabit.com tags: master, trunk

2012-12-16
23:11
Bug fix: Redirect back to original page after bookmarking check-in: 54472f67b0 user: atomicules@lavabit.com tags: master, trunk
Changes
Unified Diff Side-by-Side Diff Patch
Changes to pinboard.lua.