From 34afa1f5f220af14c055e5eb5e0844be0b5120aa Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 18 Mar 2017 17:26:12 +0000 Subject: add docs for favorites --- controllers/static.php | 5 +++-- public/images/favorite-interface.jpg | Bin 0 -> 33523 bytes views/docs/creating-posts.php | 1 + views/docs/favorite.php | 30 ++++++++++++++++++++++++++++++ 4 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 public/images/favorite-interface.jpg create mode 100644 views/docs/favorite.php 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

    + +
    -- cgit v1.2.3