<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Posting to WordPress via BlackBerry</title>
	<atom:link href="http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/feed/" rel="self" type="application/rss+xml" />
	<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/</link>
	<description>web technology is a way of life</description>
	<pubDate>Sat, 19 May 2012 20:29:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Helene</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-171</link>
		<dc:creator>Helene</dc:creator>
		<pubDate>Mon, 31 Aug 2009 03:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-171</guid>
		<description>I like this blog, the more I read the more I like it.</description>
		<content:encoded><![CDATA[<p>I like this blog, the more I read the more I like it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monokeeloX</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-93</link>
		<dc:creator>monokeeloX</dc:creator>
		<pubDate>Wed, 22 Apr 2009 00:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-93</guid>
		<description>Just saying hi to you!</description>
		<content:encoded><![CDATA[<p>Just saying hi to you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Nagy</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-71</link>
		<dc:creator>Joel Nagy</dc:creator>
		<pubDate>Sat, 04 Apr 2009 04:21:35 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-71</guid>
		<description>This is a bit tricky, since knowing what your email provider is sending a long to your blog is the issue.  You should modify your wp-mail.php file to print out the complete email.  Then access the wp-mail file directly (not through the iframe) so you can see what is printed.  Then you;'ll be able to see where the encoding takes place.  Try it with both large and small emails to see what is different.</description>
		<content:encoded><![CDATA[<p>This is a bit tricky, since knowing what your email provider is sending a long to your blog is the issue.  You should modify your wp-mail.php file to print out the complete email.  Then access the wp-mail file directly (not through the iframe) so you can see what is printed.  Then you;&#8217;ll be able to see where the encoding takes place.  Try it with both large and small emails to see what is different.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melinda</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-67</link>
		<dc:creator>Melinda</dc:creator>
		<pubDate>Wed, 01 Apr 2009 03:49:27 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-67</guid>
		<description>Joel- have you had a chance to look at this?
I'm highly frustrated by this issue.  Right now I have a so-so solution but it's not where I want it to be yet.  You can see the wp-mail file I'm using at http://melindamusil.com/wp-mail/wp-mailpostmaster.txt.  With that file, I can successfully email and post photos and small amounts of text (one or two sentences, basically a caption for the photo).  I'm glad to have that much, but I would really like to be able to successfully email and post larger amounts of text.  If you get a chance, please please please let me know your ideas!
Thanks!</description>
		<content:encoded><![CDATA[<p>Joel- have you had a chance to look at this?<br />
I&#8217;m highly frustrated by this issue.  Right now I have a so-so solution but it&#8217;s not where I want it to be yet.  You can see the wp-mail file I&#8217;m using at <a href="http://melindamusil.com/wp-mail/wp-mailpostmaster.txt" rel="nofollow">http://melindamusil.com/wp-mail/wp-mailpostmaster.txt</a>.  With that file, I can successfully email and post photos and small amounts of text (one or two sentences, basically a caption for the photo).  I&#8217;m glad to have that much, but I would really like to be able to successfully email and post larger amounts of text.  If you get a chance, please please please let me know your ideas!<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Nagy</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-52</link>
		<dc:creator>Joel Nagy</dc:creator>
		<pubDate>Wed, 18 Mar 2009 15:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-52</guid>
		<description>Most likely it should =)

You'll need to find the base64 encoded part, generally marked by "Content-Transfer-Encoding: base64" and then you can decode that chunk.</description>
		<content:encoded><![CDATA[<p>Most likely it should =)</p>
<p>You&#8217;ll need to find the base64 encoded part, generally marked by &#8220;Content-Transfer-Encoding: base64&#8243; and then you can decode that chunk.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melinda</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-50</link>
		<dc:creator>Melinda</dc:creator>
		<pubDate>Wed, 18 Mar 2009 03:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-50</guid>
		<description>speaking as a coding novice...

Would it help to add a base64_decode () function to the wp-mail.php file?</description>
		<content:encoded><![CDATA[<p>speaking as a coding novice&#8230;</p>
<p>Would it help to add a base64_decode () function to the wp-mail.php file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melinda</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-49</link>
		<dc:creator>Melinda</dc:creator>
		<pubDate>Tue, 17 Mar 2009 01:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-49</guid>
		<description>Thank you, Joel- I really appreciate your help! I'm a coding novice so I tend to be quite dangerous with the code. :)

I've been trying to sort out my wp-mail file so that I can post from my blackberry as well as upload files. I created a file on my website (http://melindamusil.com/wp-mail/) with my "collection" of wp-mail.php files.  They're all saved as .txts so that you can see them and make recommendations as you see fit.

wp-mailorig is the "original" wp-mail file that you get when you download wordpress.
wp-mailpostmaster is the slightly adjusted file that came with the Postmaster plugin. PM allows for uploading of files (pics, vid) via email.  However it does not decode base64 in emails sent through my blackberry.
Trials 1, 2, and 3 are various wp-mail files that I have created with the goal of a file that can upload files as well as interpret text from my blackberry. None of them were successful, but perhaps they will give you some ideas.

If you have any questions, ideas, or solutions, please email me at melinda@melindamusil.com!</description>
		<content:encoded><![CDATA[<p>Thank you, Joel- I really appreciate your help! I&#8217;m a coding novice so I tend to be quite dangerous with the code. :)</p>
<p>I&#8217;ve been trying to sort out my wp-mail file so that I can post from my blackberry as well as upload files. I created a file on my website (http://melindamusil.com/wp-mail/) with my &#8220;collection&#8221; of wp-mail.php files.  They&#8217;re all saved as .txts so that you can see them and make recommendations as you see fit.</p>
<p>wp-mailorig is the &#8220;original&#8221; wp-mail file that you get when you download wordpress.<br />
wp-mailpostmaster is the slightly adjusted file that came with the Postmaster plugin. PM allows for uploading of files (pics, vid) via email.  However it does not decode base64 in emails sent through my blackberry.<br />
Trials 1, 2, and 3 are various wp-mail files that I have created with the goal of a file that can upload files as well as interpret text from my blackberry. None of them were successful, but perhaps they will give you some ideas.</p>
<p>If you have any questions, ideas, or solutions, please email me at <a href="mailto:melinda@melindamusil.com">melinda@melindamusil.com</a>!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joel Nagy</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-47</link>
		<dc:creator>Joel Nagy</dc:creator>
		<pubDate>Mon, 16 Mar 2009 03:21:56 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-47</guid>
		<description>Melinda,

  You should be able to fix the base64 issue with &lt;strong&gt;base64_decode()&lt;/strong&gt;.  I needed to add this code to grab base64 encoding:

		&lt;pre&gt;&lt;code class="php"&gt;// split by: quoted-printable or base64 (even with improper transfer encoding header)
if (strpos($content, "Content-transfer-encoding: quoted-printable") !== false)
	$content = explode('Content-transfer-encoding: quoted-printable', $content);
else if (strpos($content, "Content-Transfer-Encoding: quoted-printable") !== false)
	$content = explode('Content-Transfer-Encoding: quoted-printable', $content);
else if (strpos($content, "Content-transfer-encoding: base64") !== false) {
	$content = explode('Content-transfer-encoding: base64', $content);
	$base64 = true;
} else if (strpos($content, "Content-Transfer-Encoding: base64") !== false) {
	$content = explode('Content-Transfer-Encoding: base64', $content);
	$base64 = true;
}

// BlackBerry Conversion Code
$content = $content[1];
if ($base64) $content = base64_decode($content);&lt;/code&gt;&lt;/pre&gt;

  I updated my &lt;a href="http://joelnagy.com/download/wp-mail.php.zip" rel="nofollow"&gt;wp-mail.php&lt;/a&gt; download with this code along with my twitter updater code I blogged about &lt;a href="http://joelnagy.com/blog/2009/03/posting-to-wordpress-and-updating-twitter-from-blackberry/" rel="nofollow"&gt;recently&lt;/a&gt;.

  Without knowing exactly what you have on lines 161-162 I can only assume that you have a mismatched bracket pair and are missing the ending bracket &lt;strong&gt;'}'&lt;/strong&gt;.  If you want post the code on those lines or send me the wp-mail.php file via the "&lt;a href="http://joelnagy.com/blog/contact/" rel="nofollow"&gt;Contact Joel&lt;/a&gt;" link above.</description>
		<content:encoded><![CDATA[<p>Melinda,</p>
<p>  You should be able to fix the base64 issue with <strong>base64_decode()</strong>.  I needed to add this code to grab base64 encoding:</p>
<pre><code class="php">// split by: quoted-printable or base64 (even with improper transfer encoding header)
if (strpos($content, "Content-transfer-encoding: quoted-printable") !== false)
	$content = explode('Content-transfer-encoding: quoted-printable', $content);
else if (strpos($content, "Content-Transfer-Encoding: quoted-printable") !== false)
	$content = explode('Content-Transfer-Encoding: quoted-printable', $content);
else if (strpos($content, "Content-transfer-encoding: base64") !== false) {
	$content = explode('Content-transfer-encoding: base64', $content);
	$base64 = true;
} else if (strpos($content, "Content-Transfer-Encoding: base64") !== false) {
	$content = explode('Content-Transfer-Encoding: base64', $content);
	$base64 = true;
}

// BlackBerry Conversion Code
$content = $content[1];
if ($base64) $content = base64_decode($content);</code></pre>
<p>  I updated my <a href="http://joelnagy.com/download/wp-mail.php.zip" rel="nofollow">wp-mail.php</a> download with this code along with my twitter updater code I blogged about <a href="http://joelnagy.com/blog/2009/03/posting-to-wordpress-and-updating-twitter-from-blackberry/" rel="nofollow">recently</a>.</p>
<p>  Without knowing exactly what you have on lines 161-162 I can only assume that you have a mismatched bracket pair and are missing the ending bracket <strong>&#8216;}&#8217;</strong>.  If you want post the code on those lines or send me the wp-mail.php file via the &#8220;<a href="http://joelnagy.com/blog/contact/" rel="nofollow">Contact Joel</a>&#8221; link above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Melinda</title>
		<link>http://joelnagy.com/blog/2009/02/posting-to-wordpress-via-blackberry/comment-page-1/#comment-46</link>
		<dc:creator>Melinda</dc:creator>
		<pubDate>Sun, 15 Mar 2009 21:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://joelnagy.com/blog/?p=66#comment-46</guid>
		<description>I have been attempting to set up the post by email features to work with my Blackberry as well.  What I really am hoping for would be the ability to post by email AND to upload/post photos and/or videos.  So I have actually been trying to work with the Postmaster plugin (http://wordpress.org/extend/plugins/postmaster/) which allows for file uploads.

With the postmaster plugin installed, I can email posts to my site and they are uploaded successfully BUT they appear in Base64 code, so it's a jumbled mess of letters and words, and I have to fix it later.

I made the changes you mentioned (after installing postmaster) but that only created an error within wordpress when it "checks its email account" (Parse error: syntax error, unexpected '}' in ***mysite***/wp-mail.php on line 162).

Do you have any thoughts on how to fix this, and how to make it possible to email from the blackberry (without it appearing in Base64 code) and to upload files via email?

Thanks!</description>
		<content:encoded><![CDATA[<p>I have been attempting to set up the post by email features to work with my Blackberry as well.  What I really am hoping for would be the ability to post by email AND to upload/post photos and/or videos.  So I have actually been trying to work with the Postmaster plugin (http://wordpress.org/extend/plugins/postmaster/) which allows for file uploads.</p>
<p>With the postmaster plugin installed, I can email posts to my site and they are uploaded successfully BUT they appear in Base64 code, so it&#8217;s a jumbled mess of letters and words, and I have to fix it later.</p>
<p>I made the changes you mentioned (after installing postmaster) but that only created an error within wordpress when it &#8220;checks its email account&#8221; (Parse error: syntax error, unexpected &#8216;}&#8217; in ***mysite***/wp-mail.php on line 162).</p>
<p>Do you have any thoughts on how to fix this, and how to make it possible to email from the blackberry (without it appearing in Base64 code) and to upload files via email?</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

