pinboard-elinks

Check-in [7a09c1b2d3]
Login

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

Overview
Comment:Remove done item from todo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256: 7a09c1b2d349c01ad1229150d8eb2cc272abe33dccf8a2e3cf96cc51d220f391
User & Date: atomicules@lavabit.com 2012-12-20 00:09:54
Context
2012-12-20
12:14
Add some notes about edit/delete functionality, etc check-in: 9e80d1ff8a user: atomicules@lavabit.com tags: master, trunk
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

Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.markdown.

19
20
21
22
23
24
25
26
27
Rather than use Lua to hijack the goto\_url box, just add the following to `~/.elinks/elinks.conf` to search your Pinboard bookmarks using a `p` prefix:

	set protocol.rewrite.smart.p = "https://m.pinboard.in/search/?mine=1&query=%s"

##Todo

- Considered always redirecting to mobile site, but conflicted with saving the actual bookmark, so not doing for now.
- See if there is anyway can enable deleting bookmarks.
- Tab sets would be cool, but don't think there is anyway to get list of open tabs via Lua interface? Perhaps read session snapshot from bookmarks file? Hmmm...







<

19
20
21
22
23
24
25

26
Rather than use Lua to hijack the goto\_url box, just add the following to `~/.elinks/elinks.conf` to search your Pinboard bookmarks using a `p` prefix:

	set protocol.rewrite.smart.p = "https://m.pinboard.in/search/?mine=1&query=%s"

##Todo

- Considered always redirecting to mobile site, but conflicted with saving the actual bookmark, so not doing for now.

- Tab sets would be cool, but don't think there is anyway to get list of open tabs via Lua interface? Perhaps read session snapshot from bookmarks file? Hmmm...