diff --git a/controllers/static.php b/controllers/static.php index 6b64df7..e2006af 100644 --- a/controllers/static.php +++ b/controllers/static.php @@ -6,6 +6,7 @@ function doc_pages($page=null) { 'creating-posts' => 'Creating Posts', 'editor' => 'Rich Editor', 'note' => 'Note Interface', + 'bookmark' => 'Bookmark Interface', 'syndication' => 'Syndication', 'post-status' => 'Post Status', ]; diff --git a/public/images/bookmark-interface.png b/public/images/bookmark-interface.png new file mode 100644 index 0000000..ae2fb3e Binary files /dev/null and b/public/images/bookmark-interface.png differ diff --git a/views/docs/bookmark.php b/views/docs/bookmark.php new file mode 100644 index 0000000..7900dfe --- /dev/null +++ b/views/docs/bookmark.php @@ -0,0 +1,34 @@ +
+ + +

Bookmark

+ + + +

The bookmark interface is for creating bookmark posts.

+ +

Bookmarklet

+ +

On the bookmark interface, you can drag a bookmarklet to your bookmarks toolbar. This will let you bookmark pages that you're viewing with a single click. You can select text in the page to include the selected text in the "content" of your bookmark post. The title of the page will be prefilled as the name of the bookmark post.

+ +

Post Properties

+ +

The following properties will be sent in the Micropub request. This request will be sent as a form-encoded request.

+ +

The access token is sent in the Authorization HTTP header:

+
Authorization: Bearer XXXXXXXXX
+ + + +
+ +

Back to Creating Posts

+ +
diff --git a/views/docs/creating-posts.php b/views/docs/creating-posts.php index ca19f48..e1775bd 100644 --- a/views/docs/creating-posts.php +++ b/views/docs/creating-posts.php @@ -9,6 +9,7 @@