This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
dokuwiki_bookmarklet [2020/07/14 02:50] admin created |
dokuwiki_bookmarklet [2020/07/14 03:11] neil |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Dokuwiki Bookmarklet ====== | ====== Dokuwiki Bookmarklet ====== | ||
**Goal:** I want to be able to add bookmarks/links easily from my web browser to the [[Read it later]] page on this wiki. | **Goal:** I want to be able to add bookmarks/links easily from my web browser to the [[Read it later]] page on this wiki. | ||
+ | |||
+ | See it in action: | ||
+ | {{ :dokuwiki-bookmarklet.mp4 |A video of the bookmarklet in action}} | ||
Line 57: | Line 60: | ||
</head> | </head> | ||
<body><?php | <body><?php | ||
- | $auth_token = "PUT_A_PASSWORD_HERE"; | + | $auth_token = "PUT_THE_TOKEN_HERE"; // this should be the one you specify in the bookmarklet above |
if(!empty($_REQUEST['save_bookmark'])) { | if(!empty($_REQUEST['save_bookmark'])) { |