JB's Blog

/au/SysAdmin

Teh Awesome

with 52 comments

Started using WordPress two days ago, and have decided that it’s a
pretty clean system.

I like it so much that I decided to dust off my PHP monkey hat and try
my hand at enhancing the email posting feature. What I have been able
to come up with is in my opinion pretty funky.

Greg Schandl 1.tiff
As my mate Greg demonstrates above, I’ve been able to code a mime
supported wp-mail.php that happily accepts inline photos attachments
and wacks them on the blog. Just what the doctor order for lazy people
like myself who hate CMS’s.

Whilst I was at it I also added a little regex that allows you to mail
what category you want the article to post to, instead of just always
defaulting to ‘general’.

That’s not all, I’m planning on a few more features to this little
script that will check my GPG signature to see if who is sent the
article is actually that person. Not that I’m really parinoid but I
suppose most Americans would get a kick out of that.

At the moment it only does image attachments (pretty much anything you
can send as an image in your email client, it will handle) – so later
I’ll add other attachments like PDF and so on.

Written by JB Hewitt

June 10th, 2004 at 2:46 pm

Posted in General

  • http://getdonkey.com/index.php/archives/2004/09/15/technology-rocks/ get donkey! » Technology rocks

    [...] one to the blog. Basically the plug-in takes advantage of a WordPress feature/hack called wp-mail.php that allows you to post to your blog via email. Brint’s plug-in removes all the “crapâ [...]

  • http://B4mad.Net/datenbrei/index.php?p=15 C\:datenbrei » Endlich!! mobile blogging

    [...] Filed under: general blogging mobile by [GNU] () at 17:26

    Heute habe ich den wp-mail hack von John Blade installiert… funktioniert super!! [...]

  • http://www.sy-net.net/blog/wordpress/index.php?p=10 my blog » =?Big5?B?tW+lrLT6uNUhIQ==?=

    [...] various new features including the ability to email image attachments. Grab it from here: href=”http://blade.lansmash.com/index.php?cat=5″ class=”namedurl”> style=”white-space: nowrap;”> src=”cid:part4.06020505.03070009@sy-net.net” [...]

  • http://thejerseypouliots.com/index.php?p=5 thejerseypouliots.com » How To Blog By Email With Word Press 1.2

    [...] ich has various new features including the ability to email image attachments. Grab it from here: http://blade.lansmash.com/index.php?cat=5 Troubleshoooting If you get the error “Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant se [...]

  • http://dev.huyckers.com/wordpress/archives/2004/08/06/posting-via-e-mail/ Huyckers » Posting via e-mail

    [...] had several problems so I looked around for a solution. The support wiki had this link to John Blade’s hack of wp-mail.php, so I tried it out and got better results. Things are still not [...]

  • http://dev.huyckers.com/wordpress/archives/2004/08/07/e-mail-posting-is-partially-working/ Huyckers » e-mail posting is partially working

    [...] ion and had some problems so I took some time to investigate other options. I came across John Blade’s enhancements to wp-mail.php in the WordPress support wiki and installed it to see if [...]

  • http://hg.hultman-puke.com/blog/index.php?p=10

    [...] ör WordPress hur man loggar på detta Hämta ett modifierat wp-mail skript från http://blade.lansmash.com/index.php?cat=5 Sätt upp en crontab entry för att kolla posten med jämna mellanrum. That’s it. D&arin [...]

  • http://hg.hultman-puke.com/blog/index.php?p=11

    [...] ör WordPress hur man loggar på detta Hämta ett modifierat wp-mail skript från http://blade.lansmash.com/index.php?cat=5 Sätt upp en crontab entry för att kolla posten med jämna mellanrum. That’s it. D&arin [...]

  • http://te.os42.com/index.php?p=90 WordPress Reference Centre » WP Mail Mod [plugin]

    [...] 4

    WP Mail Mod [plugin]
    Filed under: Plugins — Shadow @ 9:04 am

    WP Mail mod – This hack is a ‘drop in’ replacement for the current wp-mail.php. It uses pear as a m [...]

  • http://holosite.servepics.com/baby/index.php?p=56 Goo Goo Blog Ga – An Arnold Baby Blog » Updates via Phone.

    [...] a little girl, and I want this place to have the latest info. So I’ve been tweeking John Blade’s Word Press Email hack. to get it to work with my cellphone. Like I said poor kid, ha [...]

  • http://www.bring4th.org/wordpress/index.php?p=19 B r i n g 4 t h » [Fwd: test 2]

    [...] rious new features including the ability to email image attachments. Grab it from here: http://blade.lansmash.com/index.php?cat=5 Troubleshoooting If you get the error R [...]

  • http://www.bring4th.org/wordpress/index.php?p=19 B r i n g 4 t h » [Fwd: test 2]

    [...] rious new features including the ability to email image attachments. Grab it from here: http://blade.lansmash.com/index.php?cat=5 Troubleshoooting If you get the error R [...]

  • http://www.bring4th.org/wordpress/index.php?p=26 B r i n g 4 t h » text only version… this is being sent thru e-mail

    [...] which has various new features including the ability to email image attachments. Grab it from here: http://blade.lansmash.com/index.php?cat=5 Troubleshoooting If you get the error "Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant server [...]

  • http://www.bring4th.org/wordpress/index.php?p=27 B r i n g 4 t h » sending this thru e-mail

    [...] which has various new features including the ability to email image attachments. Grab it from here: http://blade.lansmash.com/index.php?cat=5 Troubleshoooting If you get the error "Ooops POP3: premature NOOP OK, NOT an RFC 1939 Compliant server [...]

  • http://www.tchansen.org/archives/2004/09/130/ … something to write home about. » Another email post test, with picture

    [...] sen @ 6:29 am Here is another email post text. I changed to using John Blade’s hack (http://blade.lansmash.com/index.php?cat=5) which should allow email image attachments. So, here is one photo: And another is attached to the message [...]

  • http://www.epersonae.com/ew/2004/09/08// emergency weblog » 2004 » September » 08

    [...] written on September 8, 2004 Comments (0) I found "a different version of wp-mail":http://blade.lansmash.com/index.php?cat=5 that looks like it might be more to my needs. it includes support for file uploads (which is critical for th [...]

  • http://www.epersonae.com/snapping/index.php/archives/2004/09/08/stuff-to-try-with-wordpress/ snapping links » stuff to try with wordpress

    [...] tten on Sep 8, 2004 Filed under: meta-blog php projects to try random post wp-mail mod how to blog by email –> Comments » The URI to TrackBack t [...]

  • http://tinylens.com/index.php?p=55 tinylens » my hacked wp-mail.php

    [...] Uploading my hacked wp-mail.php file. This is for use with the hacked wp-mail.php setup from: http://blade.lansmash.com/index.php?cat=5 My file is a direct replacement for the wp-mail.php included in that download. wp-mail.zip [...]

  • http://tinylens.com/index.php?p=56 tinylens » hacked wp-mail.php – coordinates added

    [...] to the wp-mail.php file. Modifications to John B. Hewitt’s hacked wp-mail.php version 2.0 – http://blade.lansmash.com/index.php?cat=5 Adds coordinate parsing, which according to the wiki was working at some point. I borrowed the coordinate pa [...]

  • http://www.stylehack.com/wordpress/index.php?p=60 Stylehack » Wordpress Hack :: WP-Mail 0.2

    [...] o say it won’t be, but I’m addressing the “now” and available solutions.] Overview Enter WP-MAIL 0.2… and it’s a HACK! Oh be still my beating heart! “-) The first thing you need to keep c [...]

  • http://www.stylehack.com/wordpress/index.php?p=60 Stylehack » Wordpress Hack :: WP-Mail 0.2

    [...] o say it won’t be, but I’m addressing the “now” and available solutions.] Overview Enter WP-MAIL 0.2… and it’s a HACK! Oh be still my beating heart! “-) The first thing you need to keep c [...]

  • http://www.heroindreams.net/archives/2004/11/01/tests-abgeschlossen/ heroindreams.net » Tests abgeschlossen

    [...] unch time)

    Damit sind meine Tests rund um die Moblogfunktion abgeschlossen. Das Skript von John Blade funktioniert einwandfrei, nachdem ich Zeile 93 $post_date = date(‘Y-m-d [...]

  • http://yfai.com/blog/index.php?p=17 Impressive Instances » In Absentia

    [...] company couldn’t display the posting via email. Until I discovered this article and John Blade’s hack which works beautifully. I can’t wait to set my mobile settings and start [...]

  • http://www.enter.nu/wp/index.php?p=5 my weblog » met foto

    [...] — site admin @ 0:09 Een probeerseltje met het aangepaste script van John Blade (http://blade.lansmash.com/index.php?cat=5) Comments » The URI to TrackBack this [...]

  • http://www.enter.nu/wp/index.php?p=6 my weblog » Post met foto

    [...] — site admin @ 0:12 Een probeerseltje met het aangepaste script van John Blade (http://blade.lansmash.com/index.php?cat=5) Comments » The URI to TrackBack this [...]

  • http://www.enter.nu/wp/index.php?p=7 my weblog » Post met foto 2

    [...] — site admin @ 0:32 Een probeerseltje met het aangepaste script van John Blade http://blade.lansmash.com/index.php?cat=5 Comments » The URI to TrackBack this [...]

  • http://www.irata.ch/ecgblog/index.php?p=36 Blogs: nouveaux médias d’information » Blog Archive » Retours

    [...] ons plausible est certainement la hâte avec laquelle j’ai dû installer les plugins nécessaires pour le moblogging dans wordpress. Je n’ai donc pas pu faire autant d [...]

  • http://www.partypokeronline.org texas holdem

    Society is indeed a contract…it becomes a partnership not only between those who are living, but between those who are living, those who are dead, and those who are to be born.

  • http://www.1-poker-games.us free poker online

    Women are systematically degraded by receiving the trivial attentions which men think it manly to pay to the sex, when, in fact, men are insultingly supporting their own superiority.

  • http://www.1-poker-games.us free texas holdem

    Every great advance in science has issued from a new audacity of imagination.

  • http://www.texas-holdem-0.com online texas holdem

    The sole end for which mankind are warranted, individually or collectively, in interfering with the liberty of action of any of their number is self-protection.

  • http://video-poker.ownsthis.com Video Poker
  • http://www.texas-holdem-p.com texas holdem

    I think there is nothing to be commnented
    texas holdem
    here :)  right free 
    online texas holdem
    here. But right away here
    http://www.texas-holdem-p.com you can find the right info for play texas holdem
    now.

  • http://www.online-poker-888.us online poker

    I think there is nothing to be commnented
    online poker
    here :)  right free 
    online poker
    here. But right away here
    http://www.online-poker-888.us you can find the right info for play online poker
    now.

  • http://www.online-poker-888.us online poker

    Here are many reasons I post here , thanks for posts before but I really
    recommen this website online poker . Please refer to our
    friends and play online poker also free
    online poker
    http://www.online-poker-888.us to our best greetings.

  • http://www.online-poker-888.info online poker
  • http://www.texas-holdem-p.com texas holdem
  • http://www.texas-hold-em-a.com texas hold em
  • http://www.texas-holdem-i.com texas holdem
  • http://templates.imess.net/index.html Templates
  • http://templates.imess.net/index.html Templates
  • http://templates.imess.net/index.html Templates
  • http://templates.imess.net/index.html Templates
  • http://www.tigerspice.com texas holdem

    texas holdem
    A slight perusal of the laws by which the measures of vindictive and coercive justice are established will discover so many disproportions between crimes and punishments, such capricious distinctions

  • http://genaholincorporated.com online poker

    online poker

    The most important scientific revolutions all include, as their only common feature, the dethronement of human arrogance from one pedestal after another of previous convictions about our centrality in

  • http://www.dipills.com Online Pharmacy

    LOL
    Your blog is very nice, but all comments are spammed :)

  • http://www.buyzoloft.us Propecia
  • http://www.buycheapcelebrex.biz Celebrex
  • http://www.buycheapzyban.biz Zyban
  • http://www.buycheapzyban.biz Zyban
  • http://gia-diamonds.jal9.com gia diamonds

    gia diamonds

    Very nice site at gia diamonds

  • http://arizona.gotmy.be/sitemap.html Anonymous

    arizona…

    arizona news and reviews…