Page 1 of 1
Two POPFetcher questions
Posted: Fri Nov 11, 2005 6:00 pm
by davidcrickett
1. How come I have to open the POPFetcher in the admin sidebar before the post sent from my mobile - it is there, yes - gets posted? I have set the options right.
2. Which plugin shall I use in combination with POPFetcher to get a side menu mini moblog, if you know what I mean?
Re: Two POPFetcher questions
Posted: Fri Nov 11, 2005 6:12 pm
by garvinhicking
I don't know if I understand you right -- you must click on the popfetcher icon so that your Server can fetch the emails! E-Mails is a Pull medium, so your server needs to actively query the mailserver. You can only get surround that by using a cronjob facility.
And about your second option, no, I don't know what a side menu mini moblog is?
Regards,
Garvin
Posted: Fri Nov 11, 2005 6:21 pm
by davidcrickett
Oh, a cronjob?

I have to actually click on the name POPFetcher in the left sidebar menu in the admin section of Serendipity - when I have opened that page, with the received mobile mail, then and first then it gets posted.
Why can't I just post it straight away? A lot of old mail turned up when I first used the plugin.
Okay, here
http://blog.verture.net/ is a Flickr moblog.

I would like to post my mobile mms to a little mini blog in the sidebar.
Posted: Fri Nov 11, 2005 6:28 pm
by garvinhicking
Hi David!
Yes, that is by tha law of web applications. They cannot run without your interaction. Thus you need to make a periodic call to a special URL so that popfetcher fetches your messages.
Think it through, how else would an application on your webserver be able to know that new emails are called and it needs to fetch?
You shouldn't use your usual email address for popfetcher polling, you should create your own account which is only fetched by popfetcher!
The plugin on your sidebar could be done by just fetching the latest postings in a special category. You could post all your moblog entries to a category "moblog" and then show them with a mini PHP script on the right side...?
Regards,
Garvin
Posted: Fri Nov 11, 2005 6:51 pm
by davidcrickett
Okay

I did make a special account afterwards. I found out - duh! - by pointing to the Flickr example, that I have the 23 service, which I can moblog to - and then, if I want to write something, I can just do that. It would be nice though, if there was I way to post directly with POPFetcher.
Serendipity rules!
Posted: Fri Nov 11, 2005 6:55 pm
by garvinhicking
Sadly, the only way to post to popfetcher is with a cronjob on any machine, where you just need to schedule a HTTP GET call (wget) easily.
BTW, the plugin to show entries like in the moblog example:
http://nopaste.php-q.net/171574
(I'll put it in CVS once CVS is online again)
Regards,
Garvin
Posted: Fri Nov 11, 2005 7:39 pm
by davidcrickett
Thanks
Posted: Fri Nov 11, 2005 7:54 pm
by davidcrickett
But... how come I can mobile post straight away to my Opera blog?
http://my.opera.com/davidcrickett/blog/
Posted: Fri Nov 11, 2005 8:00 pm
by garvinhicking
That's a completely different matter, I think. You must ask the people of the Opera blog about that!
Popfetcher and Serendipity is completely unrelated to your Opera blog, you would need to find something like the popfetcher plugin for Opera, if you want to post moblogs there!
Best regards,
garvin
Posted: Fri Nov 11, 2005 8:09 pm
by davidcrickett
He he, I just meant that there must be a way to show messages from mobile phones immediately if Opera blog can do that. But I'll maybe ask them how they do it.

Posted: Sat Nov 12, 2005 12:04 pm
by garvinhicking
Your Opera blog has a permanent cronjob running which pulls it from the Opera servers every scheduled minutes. So they do that cronjob thing which I advised
Regards,
Garvin
Posted: Sat Nov 12, 2005 12:13 pm
by davidcrickett
Ah, thanks! But you've got to have your own server, or... hm, maybe there's an option for a cronjob on my host's control board...
Posted: Sat Nov 12, 2005 12:18 pm
by garvinhicking
You could also schedule a cronjob on any server that is permanently on the internet. I have heard that services exist which give you free cronjobs on other servers, which can call your Popfetcher URL! You might want to look out for those?
If you use that, you must use the "External Popfetcher" method, so that you have a single URL to call and must not access it via the sidebar.
Regards,
Garvin