diff --git a/controllers/static.php b/controllers/static.php index e2006af..9822d6b 100644 --- a/controllers/static.php +++ b/controllers/static.php @@ -5,8 +5,9 @@ function doc_pages($page=null) { 'signing-in' => 'Signing In', 'creating-posts' => 'Creating Posts', 'editor' => 'Rich Editor', - 'note' => 'Note Interface', - 'bookmark' => 'Bookmark Interface', + 'note' => 'Creating a Note', + 'bookmark' => 'Creating a Bookmark', + 'favorite' => 'Favoriting a Post', 'syndication' => 'Syndication', 'post-status' => 'Post Status', ]; diff --git a/public/images/favorite-interface.jpg b/public/images/favorite-interface.jpg new file mode 100644 index 0000000..a9b4840 Binary files /dev/null and b/public/images/favorite-interface.jpg differ diff --git a/views/docs/creating-posts.php b/views/docs/creating-posts.php index e1775bd..6c5cb16 100644 --- a/views/docs/creating-posts.php +++ b/views/docs/creating-posts.php @@ -10,6 +10,7 @@
  • Rich Editor
  • Note
  • Bookmark
  • +
  • Favorite
  • ... more documentation soon!
  • diff --git a/views/docs/favorite.php b/views/docs/favorite.php new file mode 100644 index 0000000..c962fa5 --- /dev/null +++ b/views/docs/favorite.php @@ -0,0 +1,30 @@ +
    + + +

    Favorite

    + + + +

    The favorite interface is for creating favorite posts.

    + +

    Bookmarklet

    + +

    On the favorite interface, you can drag a bookmarklet to your bookmarks toolbar. This will let you favorite pages that you're viewing with a single click.

    + +

    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

    + +