Page 1 of 1
POPFetcher + attachment = no post
Posted: Tue Mar 25, 2008 12:26 pm
by Xani
Hi,
I'm having some issues with the (great

) POPFetcher plugin. I truly love the functionallity and it works great when I don't add an attachment. If I add an attachment I'm not seeing any text in the posting nor a picture. The picture however is added to the Media Library.
Second question: my hosting server has no Cron installed, is there another way of automating this task?
Thanks
Xani
Re: POPFetcher + attachment = no post
Posted: Tue Mar 25, 2008 2:03 pm
by garvinhicking
Hi!
Please tell us how you set the config options of the popfetcher plugin, and which version you are using?
Second question: my hosting server has no Cron installed, is there another way of automating this task?
Yes, you can either use the s9y cronjob plugin or you can simply create a cronjob on some other server (or even your client) that periodically calls the popfetcher URL; it doesn'T need to be the same server!
Regards,
Garvin
Posted: Tue Mar 25, 2008 8:36 pm
by Xani
Hi Garvin,
thank you so much for your swift reply
Well, about POPFetcher config, I hope I did something wrong in there but I have been playing with it but no luck so far...

without attachment it works prefect
About the CronJob, according to the owners of the webserver there is no Cron installed so I don't see how the s9y Cronjob can help but I installed it and this is the settings page:
[Edit]: execution is set to internal now
"This plugin periodically executes plugins that provide/require periodic tasks. See the configuration of this plugin for details." ==> This is what the CronJob plugin says in the overview but is the above the configration or is there something I'm missing, if it would work independent from Cron on it's own server?
I don't have a client which is running 24/7
Thanks a lot for your help again,
Xani
Posted: Tue Mar 25, 2008 9:02 pm
by judebert
When you installed the Cronjob Scheduler plugin, popfetcher should have noticed and updated its configuration options. Go look; it should now have an option for how often to update.
The Cronjob Scheduler works by checking whether a cron job needs to be executed every time your page is displayed. If some predetermined time has passed, the Cronjob Scheduler triggers all the plugins who are waiting. The popfetcher is one such plugin.
Note that this means your jobs don't run as often as you might think. If you schedule something to run hourly, but you only get one visitor on some day, then that job will only be run once that day. (The visit wakes up the Cronjob Scheduler, who triggers all the waiting plugins; then he goes back to sleep until someone visits again.)
Posted: Wed Mar 26, 2008 10:54 am
by garvinhicking
Hi!
Can you try to enable the options
"Use plaintext attachments as entry body"
and
"First text attachment is entry body"
?
Attachments are only added to your body, if either of those is enalbed, but I don't know which one. So enabling both might help.
HTH,
Garvin
Posted: Wed Mar 26, 2008 11:17 am
by Xani
Hi,
thanks for the suggestions... but no luck

only the topic is set right, no text is inserted and the picture is moved to the media lib.
Thanks
Xani
Posted: Wed Mar 26, 2008 11:20 am
by garvinhicking
Hi!
Can you please send a mail like you send to your popfetcher to my mail address, blog (at) garv (point) in?
Regards,
Garvin
Posted: Wed Mar 26, 2008 12:11 pm
by Xani
Done
tnx already

Xani
Posted: Wed Mar 26, 2008 1:16 pm
by garvinhicking
Hi!
Hm, it works for me here. When I use your mail as a base with these settings:
[img=http://img265.imageshack.us/img265/4682/serendipityverwaltungsoex6.th.png]
I then get a blog entry with this body:
Code: Select all
<a target="_blank" href="/cvs/serendipity/recent/uploads/IMAGE_005.jpg" class="popfetcherimage"><img alt="Hier klicken für Vollbild-Anzeige" src="/cvs/serendipity/recent/uploads/IMAGE_005.serendipityThumb.jpg" /></a>
I am using popfetcher v. 1.22
Regards,
Garvin
Posted: Wed Mar 26, 2008 5:20 pm
by Xani
Hi,
thanks for your post. When I take exactly the same settings as you I got this result:
"/uploads/IMAGE_005.jpg" target="_blank">" with a "non resolvable picture", you know the thing with the red cross that it can't show the picture.
I played a bit more and apparently when I put no limitations (please check my previous post: start capturing test after "Blog" end at the word "toeter" than it shows my picture but NO text at all, even if there is text in the mail.
When I use a text attachment together with the picture than it works perfectly... but sending that from my phone is quite difficult
THanks
Xani
Posted: Thu Mar 27, 2008 10:23 am
by garvinhicking
Hi!
Ah, I see. The "text restrictions" you make should be responsible for it. It does not handle attachments well, you must then sadly not use those restrictions and always post your full emails. Or add manual links to the attachments you upload...?
The whole text decoding logic is quite hard to do, and there are several side-cases where either options might not apply, because attachments are all seperate parts of a mail and are influenced by the "cutting"...
Regards,
Garvin