Blog with your mobile phone in Wordpress[en] [sv]

Tuesday, January 15, 2008 | 8 comments »
Läs det här inlägget på svenska.

I received a question from Nina in a comment here on the blog, asking what I’ve done to be able to send blog posts with my mobile phone. I decided to publish my answer here as well, to make it easier for someone else having the same question to get an answer! For the record, I got my starting help from Markus Hängsel, and of course he also have deserved a link! :)

Step-by-step guide:

1. First go ahead and download the plugin Postie and install it.

2. Create a new e-mail address, in my case I created a new one on my own domain.

3. Next step is to configure Postie to fetch e-mails from the e-mail address you just created and publish them on the blog. I also configured Postie to only allow e-mails sent from my mobile phone to be published, this way we prevent eventual spam e-mails from appearing on the blog.

4. Next you have to make sure that Postie at regular intervals checks the e-mail account for new e-mails by, if you have the possibility, setting up a Cron job on your server, or by using the plugin Cronless Postie, that came along when you installed Postie.
My host doesn’t allow me to use Cron jobs, so in my case I’m using Cronless Postie. You can also use a service called Easy Monitor, which is an external service that you can read more about in the Postie FAQ.

5. To use Cronless Postie, if you choose this solution, you start by activating the plugin. Then, to make Cronless Postie check your e-mail at regular intervals, we have to tell it to do so. This is easily done by, in the three wordpress feed-files wp-atom, wp-rss och wp-rss2, adding the following code just before the last ?>-tag:
do_action(’check_postie’);

6. Then you sign up for an account at, for example, www.bloglines.com, and add your page to your subscriptions. Bloglines will then check your rss-feed about one time every hour, and at the same time tell Cronless Postie to check your e-mail. Magic!

Everyone can’t send e-mails with their mobile phone, I’m one of them, but what I can do is send mms:es to e-mail addresses, and this works just as well. I’m not saying this is the best solution, It’s the solution I came up with after googling around over this topic. If anyone has a better solution or ideas to improve this one, please tell me!

I hope this helps you get everything to work, but before you go, please let me give you a warning: Be careful with moblogging combined with beer, this could get very expensive! :)

(Here’s a link to intressant.se, hopefully this will help people finding this post easier.)

8 comments so far - go ahead and write a comment!

Krezz - July 23rd, 2008

Hallå!

Vilken version av Postie använder du? Jag har provat postie-1.1.1 men det går inte så bra :-(

MVH Krezz


Jens - July 23rd, 2008

Hej Krezz!
Jag kör också 1.1.1 och det funkar fint för mig. Tror det är den sista versionen upphovsmannen har släppt, tror inte han jobbar på det pluginet längre. Vad är det du har problem med?
// Jens.


Krezz - July 24th, 2008

Hallå! Jag har fått det att funka MEN jag får inte svenska tecken i rubriken när jag postar via mobilen via mail går dock bra. Nån idé? MVH Krezz


Krezz - July 24th, 2008

Hallå! Precis efter mitt förra inlägg hittade jag lösningen. MVH Krezz


Jens - July 24th, 2008

Och jag som precis satt och funderade på vad det kan vara! Nu blir jag nyfiken! Jag antar att det hade nåt med teckenkodning att göra eller? Inte UTF-8 i rubrikerna eller nåt sånt?


Krezz - July 24th, 2008

Hallå! En kille vid namn Håkan Carlström hade postat detta bland kommentarerna på “Postie” hemsidan:

“WordPress 2.0.3/Postie 0.9.9.3.2

I had a problem with HTML in subject. (For example the Swedish Å (Å), Ä (Ä), Ö (%Ouml;) )
I changed the following ‘if’ in function GetSubject(&$mimeDecodedEmail,&$content) in file postie-functions-php:
if (!$config["ALLOW_HTML_IN_SUBJECT"]) {
to:
if ($config["ALLOW_HTML_IN_SUBJECT"]) {”

Och sen funkade det :-)

MVH Krezz


Jens - July 24th, 2008

Gött att det löste sig! Det var där jag försökte leta efter ett svar också, men jag missade den kommentaren. Ha det gott!


Sites that link to this post:

  1. FASHIONINA » Powerwalkshopping
    Pingback on January 17, 2008

Leave a comment:

*

* (will not be published)