From c3fb722ad4bade9c4027c04de9b8dee511ab5756 Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sat, 25 Jul 2015 05:44:10 -0700 Subject: add post-by-email support to quill --- views/email.php | 29 +++++++++++++++++++++++++++++ views/layout.php | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 views/email.php (limited to 'views') diff --git a/views/email.php b/views/email.php new file mode 100644 index 0000000..1f97905 --- /dev/null +++ b/views/email.php @@ -0,0 +1,29 @@ +
+ + +
+

+ Send email or MMS to
+ user->email_username . '@' . Config::$hostname ?> +

+
+ +
+

Email Subject

+

If you add a subject line to your email, it will be sent as the "name" property which indicates to your Micropub endpoint that this is a blog post.

+ +

Email and MMS body

+

The text of your email or MMS will be send as the "content" property, which is the main contents of your post. Plaintext only for now.

+ +

Photo

+

If you attach a photo to your email or MMS, it will be sent to your Micropub endpoint. (Only one photo is currently supported.)

+
+ +
+ test_response): ?> +

Last response from your Micropub endpoint

+
test_response) ?>
+ +
+ +
\ No newline at end of file diff --git a/views/layout.php b/views/layout.php index 7c2dab9..7bbba4a 100644 --- a/views/layout.php +++ b/views/layout.php @@ -63,10 +63,11 @@ if(property_exists($this, 'include_facebook')) {
  • Editor
  • -
  • New Note
  • +
  • Note
  • Bookmark
  • Favorite
  • Photo
  • +
  • Email
  • Docs
  • -- cgit v1.2.3