From cf8ecf1fc9942dc00f0a5a11b313f8babbc9c3cd Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 7 Sep 2014 11:48:52 -0700 Subject: adds bookmark posting interface with bookmarklet. now any URL can auto-login given a login token. --- views/new-post.php | 219 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 219 insertions(+) create mode 100644 views/new-post.php (limited to 'views/new-post.php') diff --git a/views/new-post.php b/views/new-post.php new file mode 100644 index 0000000..5221dc8 --- /dev/null +++ b/views/new-post.php @@ -0,0 +1,219 @@ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ +
+ syndication_targets) { + echo '
    '; + foreach($this->syndication_targets as $syn) { + echo '
  • '; + } + echo '
'; + } else { + ?>
No syndication targets were found on your site. + You can provide a list of supported syndication targets that will appear as checkboxes here.
+
+
+ +
+ + + + + + + + + +
+ + +
+ + + + + + + + test_response): ?> +

Last response from your Micropub endpoint (response_date) ?>)

+ +
test_response) ?>
+ + +
+

Clicking "Post" will post this note to your Micropub endpoint. Below is some information about the request that will be made.

+ + + + + + + + + + + + + + + + + + +
me (should be your URL)
scopemicropub_scope ?> (should be a space-separated list of permissions including "post")
micropub endpointmicropub_endpoint ?> (should be a URL)
access tokenString of length micropub_access_token) ?>micropub_access_token) > 0) ? (', ending in ' . substr($this->micropub_access_token, -7) . '') : '' ?> (should be greater than length 0)
+
+ +
+ + + + -- cgit v1.2.3