Remote Posting with wp-gallery-mail
Published by chiieddy June 5th, 2005 in Remote Post, Tech, WordPress.Ian Tomey has created a drop-in replacement for the wp-mail.php file which processes e-mail posts.
The plug-in is supposed to allow you to add attachments to your mail posts, including pictures which would upload directly to Gallery. It also should allow me to specify which category I want this post to end up under.
Unfortunately, when I tried to upload a photo from my Palm, it didn’t transfer to the mail message. This is a problem with the VersaMail conduit hack I’m using. I could live with that, however, when I emailed (manually) in this image it instead showed this image and added the link tag to that already existing one. I think this is because I have my Random image gallery set up to put the new photos at the beginning and not the end and the code assumes the end. This could potentially be fixed by the developer, so I’m going to let him know.
The other problem I encountered was the accompanying text with the image, much of which is repeated here, was not picked up by the new PHP code at all. It only grabbed the photo. I’m submitting this without the attachment to see what happens next.
The final problem is, unlike the original wp-mail.php file, it parses my HTML code within the post so this link would look like this:
<a href="http://www.iantomey.com/?p=5">this link</a>
Not pretty. I’ve now gone in and edited all links in this post by hand.
I think, for now, I’ll switch back to using the straight wp-mail.php plug in. I might write my own ‘hack’ for the email security and the category posting which seems to work as designed. Maybe I’ll work out how to allow for posting in multiple categories as well.

0 Responses to “Remote Posting with wp-gallery-mail”
Please Wait
Leave a Reply