[pLog-svn] RE: moblog plugin
Mark Wu
markplace at gmail.com
Sun Jun 5 04:38:42 GMT 2005
Ah..... I found the "I have no idea" encoding ... It is mine encoding ...
So, it seems I can use
http://php.nctu.edu.tw/manual/en/function.iconv-mime-decode.php to decode it
back ...
Great ...
Mark
> -----Original Message-----
> From: Mark Wu [mailto:markplace at gmail.com]
> Sent: Sunday, June 05, 2005 12:29 PM
> To: 'Mark Wu'; 'plog-svn at devel.plogworld.net'
> Subject: RE: moblog plugin
>
> Now, I am studing the encoding issues in moblog plugin...
> there are 2 place need to decode:
>
> 1. Subject : It encoded by "I have no idea" encoding method,
> but it will attached encoding information in front of subject
> like "=?big5?Bkkkjskdf" ... I think I can use it convert to
> binary string and convert it to blog charset (for example:
> UTF-8) through iconv()
>
> ** does any one know what is the "I have no idea" encoding method??
>
> 2. Body: It encode by "quoted-printable , 7bit or UUEncode,
> this value can be found after Content-Transfer-Encoding , and
> I need to user it to convert the body back to binary string
> (it the encoding is 7bit, seems I can ingnore it) Then, I
> still need to convert the binary string to blog charset
> according to mail charset,...
>
> Wow .. So complex ...
>
> This is what I found through outlook 2003 test.
>
> Mark
>
> From: Mark Wu [mailto:markplace at gmail.com]
> Sent: Sunday, June 05, 2005 12:01 PM
> To: 'plog-svn at devel.plogworld.net'
> Subject: RE: moblog plugin
>
>
>
> Hi Oscar:
>
> BTW, How do I enable the logger, I found the
> "MOBLOG_DEBUG" is true, but still not log any thing?
>
> Mark
>
>
> ________________________________
>
> From: Mark Wu [mailto:markplace at gmail.com]
> Sent: Sunday, June 05, 2005 11:06 AM
> To: 'plog-svn at devel.plogworld.net'
> Subject: moblog plugin
>
>
> Hi Oscar:
>
> I already write a moblogbatch.php, it will wrap
> moblog.php and change it from push model to pull model.
>
> I will add some new config parameter to moblog
> configuration panel:
>
> 0. push/pull method (this config only available
> for Site owner)
> 1. moblog e-mail server
> 2. moblog e-mail account
> 3. moblog e-mail password
> 4. enable pseudo cron
> 5. pseudo cron setting
>
> How do you think
>
> 1. If I need to add this patch to original
> plugin? (it will support both method)
> 2. Or I need to make a new plugin, for example
> pullmoblog to includes this features.
>
> Attachement is the code example.. It need more
> further modification.
>
> Mark
>
>
More information about the pLog-svn
mailing list