Posting WordPress via Email dengan tambahan Opsi Kategori Special shortcodes


Post by Email is a way of publishing posts on your blog by email. Any email client can be used to send the email, allowing you to publish quickly and easily from devices such as cell phones.

Generating a Post by Email Address

Before you can publish by email, you must generate a special email address. This address is unique to you and must be kept secret.

1) First go to Dashboard > My Blogs.

2) Locate the blog that you wish to post to and click Enable.

generate-email

You now have a special email address. If you want to add the address to your address book, you can download it as a vCard:

vcard

Sending Emails

Once you have your Post by Email address, sending an email is simple:

email

The email subject is used as your post’s title. The body is the post’s contents. A few minutes after receiving your email, you should receive a notification email informing you of the published post’s details.

Please remember to send the email to your secret email address, not to the example given in the image above.

Mail Formatting

Your email can be plain text or formatted. As much formatting as possible will be retained, although the Post by Email system will strip unnecessary HTML tags so that your email is displayed correctly. Note that you will need to use an email client that supports rich text or HTML formatting in order to make use of this feature. Most website based clients (Hotmail, Gmail) do support this, as do most desktop clients (Outlook, Mail). You may need to switch your client into rich text or formatted mode.

Attachments

Image attachments will be included in your published post as follows:

  • Single images will be displayed inline (a single image is defined as an image without an image immediately following it).
  • Multiple images will be displayed as a gallery.

Multiple galleries and single images are allowed in the same post. Note that using the shortcode will disable all galleries.

If you have purchased the Space Upgrade, then the following additional attachment types will be supported:

  • Supported audio files (mp3) will be displayed using the WordPress Audio player.
  • All other files (doc, PDF, etc) will be displayed as links to the attachment.

Additionally, if you’ve purchased the VideoPress Upgrade, you’ll be able to send mp4, mov, wmv, avi, mpg, and m4v files as attachments, which will then be displayed using the WordPress video player.

Note that you can send your attachments to:

media+YOUR_SECRET_EMAIL

Your attachments will just be stored in your account without creating a new post – the attachments will appear alongside your other media.

Shortcodes

Special shortcodes can be embedded in your email to configure various aspects of the published post:

Shortcodes can be included anywhere in the body of your email and must be in lowercase.

Specifying the Category

The category shortcode will match the start of category titles, as well as category IDs. For example:

Will match “Holiday” and “Food.” Note that categories must already exist on your blog and spaces between the commas are not important.

Specifying Tags

Any number of tags can be added to your post, each separated by a comma:

This will add four tags: “one p o t a t o”, “two p o t a t o”, “three p o t a t o”, and “more”. Note that your tags do not need to exist elsewhere in your blog and new tags will be created automatically.

Changing your Publicize settings

WordPress Publicize lets you notify other web services about your posts. With the shortcode you can control this from emails.

Note that your Publicize settings must have been previously configured.

Inserting a Polldaddy poll

You must first have created or imported a Polldaddy account into WordPress.com before using this shortcode. Once setup you can insert a poll in an email as follows:

Note how the poll question is added after the .

You can configure your poll by adding extra details to the shortcode:

For example, to create a poll with the wide ‘manga’ style and allow up to three responses (including an ‘other’ response):

Delaying Your Post

The delay shortcode will accept any time allowed by PHP’s strtotime. For example, you can:

Providing a post title

The title of your published post is usually taken from the subject line of your email. In some instances, such as when sending an email from some cell phones or via a MMS-Email gateway, you may not be able to provide a subject. In this instance, you can set your post title directly inside the email:

Changing your post status

Sometimes you may want your post to be private, or to be reviewed by yourself or someone else at a later date before being published. To do this, you can use the [   status  ] shortcode to set the post status.

Geo tagging

If your email includes an image that contains appropriate GPS information (for example, as sent from iPhone), then this will be used to geo tag your post. Information will only be shown to the public if you configure your blog to do so. You can override this on a per-email basis using the

.

Emails sent from a SPOT GPS device will be automatically geo tagged.

Signatures

Post by email will automatically remove any email signatures that match the standard signature blockpattern:

--

(that is dash dash space)

It will also remove anything after a <hr/> HTML tag and attempts to clean up cellphone network signatures.

If your email system attaches a signature that does not match any of these patterns then you can manually tell Post by Email to stop including text by adding the special

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: