[pLog-svn] r1971 - plugins/trunk/moblog/class/moblog

Oscar Renalias oscar at renalias.net
Sun May 8 22:47:09 GMT 2005


Seems like blogging via email works fine, finally :) I will post  
intructions about how to configure and use this soon but it still has  
the same requirements as it ever had (curl+email alias) If you don't  
have access to these requirements we can always add an extra address  
in devel.plogworld.net (at least, I will do it for my own usage) and  
at the same time, you'll help testing :)))

It seems to work fine with Tiger's Mail.app, Gmail and Nokia's email  
client (see http://devel.plogworld.net/blog/plog_development_snapshot  
for a few sample posts) but we'll need to test other clients such as  
Outlook, MSN, SonyEricsson's client, etc.

Oscar

On 9 May 2005, at 01:30, oscar at devel.plogworld.net wrote:

> Author: oscar
> Date: 2005-05-08 22:30:21 +0000 (Sun, 08 May 2005)
> New Revision: 1971
>
> Modified:
>    plugins/trunk/moblog/class/moblog/moblogrequest.class.php
> Log:
> fixed a littie issue with email attachments
>
>
> Modified: plugins/trunk/moblog/class/moblog/moblogrequest.class.php
> ===================================================================
> --- plugins/trunk/moblog/class/moblog/moblogrequest.class.php     
> 2005-05-08 21:42:00 UTC (rev 1970)
> +++ plugins/trunk/moblog/class/moblog/moblogrequest.class.php     
> 2005-05-08 22:30:21 UTC (rev 1971)
> @@ -160,6 +160,8 @@
>                      File::createDir( $tmpFolderName );
>                      MoblogLogger::log( "Creating temp folder =  
> $tmpFolderName" );
>                      $fileName = stripslashes($part- 
> >ctype_parameters["name"]);
> +            if( $fileName == "" )
> +                $fileName = stripslashes($part->d_parameters 
> ["filename"]);
>                      $fileName = str_replace( "\"", "", $fileName );
>                      $fileName = str_replace( "'", "", $fileName );
>                      $f = new File( $tmpFolderName."/".$fileName );
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
>




More information about the pLog-svn mailing list