Page 1 of 1
email to blog function
Posted: Fri Nov 25, 2005 12:30 pm
by jensen
hi all,
is there/will there be an option to send an email to the blog so that the post will be in the blog (like blogger.com offers)? would improve mobility, just send an email with your cellphone to the blog?!
cheers,
jens
Re: email to blog function
Posted: Fri Nov 25, 2005 12:40 pm
by garvinhicking
We have the popfetcher plugin and the mail2s9y.sh shellscript for moblogging.
You can create a cronjob on your server (or use a free cronjob service for wget a URL) to make the popfetcher automatically poll your fresh mails.
Regards,
Garvin
Posted: Fri Nov 25, 2005 4:20 pm
by jensen
could you give me an example of how the cronjob would look like?
cheers,
jens
Posted: Fri Nov 25, 2005 4:47 pm
by jensen
got it, thanks.
but does the cronjob effect a counter? e.g. if i call that cronjob every 10 min. will there be a count? (i quess i have to exclude the server IP from counting, right?)
cheers,
jens
Posted: Fri Nov 25, 2005 6:13 pm
by garvinhicking
Counter? What do you mean with that?
Regards,
Garvin
Posted: Wed Nov 30, 2005 6:04 pm
by jensen
does the cronjob need any special rights/setting on the server? i tried with user nobody, but does not work?
cheers,
jensen
Posted: Wed Nov 30, 2005 9:55 pm
by zoran
what part does not work? did you try the cron command you are giving on the command line? did you set the plugin type to 'external' in the config?
i use:
Code: Select all
wget -q -O /dev/null http://hostname.tld/index.php?/plugin/<<insert External Launch Name defined in plugin here>>
good luck!
zz.
Posted: Thu Dec 01, 2005 2:28 pm
by jensen
do i need to set a special usertype for the cronjob? e.g. nobody oder www-user (i use nobody, but doesn't work?!)
cheers,
jens
Posted: Thu Dec 01, 2005 2:33 pm
by zoran
I use my own useraccount. Try su-ing to the desiderd account and execute the command. If all else fails, try it as root.
What is the error? If you remove the -q you'll get a verbose output from wget.