oliviern
Forum Replies Created
-
Forum: Plugins
In reply to: [Postie] Feature request : keyword to set the post datevery quickly done… I’ve add
if (preg_match("/date: ?([0-9]{2})\/([0-9]{2})\/([0-9]{4})/i", $content, $matches) ) if (checkdate($matches[2], $matches[1], $matches[3])) { $message_date=$matches[3]."-".$matches[2]."-".$matches[1]; EchoInfo("new date: ".$message_date); }
in postie-functions.php in the PostEmail function, just before (line 186 on 1.4.16) the
list($post_date, $post_date_gmt, $delay) = DeterminePostDate($content, $message_date, $time_offset);
This can of course be improved, but it fits what I need…
I will may try to see if there is a way to get attachement’s date to improve this, and allow to set the date according the post’s one.
Forum: Plugins
In reply to: [Postie] several pictures inserted as textI am not sur if it is the same bug, but I think images are not included into the post, when the ‘Automatically insert image gallery’ is checked. I use the very same email, which works in 1.4.16, but the post has no picture if this option is checked.
Do you notice the same issue ?
Forum: Plugins
In reply to: [Postie] Feature request : keyword to set the post dateNot exactly. I’d rather have this feature included in Postie, with just a keyword added into the email, setting the date. (even if the easiest should be to have an option in postie to ask it to set the date by reading the date of the attached picture).
I’ve tried two plugins to set the date according to the exif data :
https://www.ads-software.com/extend/plugins/exifize-my-dates/
To get the date from the picture exifhttps://wp.orangelab.se/imagemagick-engine/about/
To keep EXIF data, because GD removes them when resizingBut, it doesn’t work : exifize doesn’t see any relevant exif data in post’s pictures… ??
I am still looking for a solution, and think adding a keyword ‘date:’ in the email could be the easiest one. For this, I may have a try to modifiy postie, and am wondering what could be the easiest way to do so.
As I may be the only one to need such a feature, I can help to write it.Thanks.
Forum: Plugins
In reply to: [Postie] accents in subject truncate the titlefixed indeed. thanks !
Forum: Plugins
In reply to: [Postie] several pictures inserted as texteverything works ! Thanks a lot.
Forum: Plugins
In reply to: [Postie] picture rotation ?Solved ! Thanks to the following plugin :
https://www.ads-software.com/extend/plugins/image-rotation-repairIf it may help other users of postie ( Thanks for this truly useful plugin ! )
Forum: Plugins
In reply to: [Postie] picture rotation ?I’ve tried again, setting postie setup to default : images are back. Fine.
But the rotation effect occurs again. They are saved with a 90degrees rotation into the wp-content/uploads directory.If I include the same picture with the worpress media process, it is not rotated.
Opening the email sent (on gmail), the picture is not rotated either…It is quite surprising…
If you want, I can send to you the email which makes this occur.
Forum: Plugins
In reply to: [Postie] picture rotation ?Thanks for your answer. I have no other active plugin… I don’t understand.
I’ve made a test right now, but now, the picture is not included. I even wonder if postie sees there is a picture in the email…
Here is the debug log I’ve got, if it may help :
Checking for mail manually Starting mail fetch Time: 2013-01-03 00:45:36 GMT Connecting to imap.gmail.com:993 (imap-ssl) There are 1 messages to process memory at start of e-mail processing:43275560 ------------------------------------ posting as user 1 Message Id is :<[email protected]> 1 parts new post id is 108 primary= multipart, secondary = alternative 1 parts primary= text, secondary = plain ctype_primary: text charset: iso-8859-1 encoding: quoted-printable before HandleMessageEncoding charset: iso-8859-1 encoding: quoted-printable quoted-printable detected after HandleMessageEncoding plain text ---- Predecoded subject: 2013 : Cendrillon Subject encoding: 7bit before HandleMessageEncoding charset: default encoding: 7bit after HandleMessageEncoding before HandleMessageEncoding charset: encoding: after HandleMessageEncoding Found tags: opera,cendrillon Post Author: 1 Date: 2013-01-03 01:39:44 Category: 8 Ping Status: open Comment Status: open Subject: Cendrillon Postname: cendrillon Post Id: 108 Post Type: post Done memory at end of e-mail processing:43618864