1778 Posts in 499 Topics by 534 members
Blog Module
SilverStripe Forums » Blog Module » Blogging via e-mail
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 965 Views |
-
Blogging via e-mail

16 July 2010 at 3:44am
Hi,
I wonder if there is a way to blog via e-mail with the sivlerstripe blog module?
Or if someone can tell me what type of blog the blog module is, because in flickr for example you can setup a blog so that you can blog via e-mail but you have to specify the type of the blog, e. g. Blogger Blog, Typepad Blog, Movable Type-Blog, ...
Thanks in advance
Fabi
-
Re: Blogging via e-mail

16 July 2010 at 8:05am
You could create a controller that reads out an emailbox thru a cronjob like secretnamewithalotofnumbers@domain.com and when it finds an email with a subject like : BlogCategoryName: BlogTitle it creates a new blog page.
A while ago I created such system to post to an online chatbox like application (non SS system). Is easily to create with PHP. You could maybe even add images in the attachment to the blogpost with something like {replaceThisTagWiththeAttachedImage} or a has_one relation for the image.
Hope this get you started. En please post your results ;)
-
Re: Blogging via e-mail

16 July 2010 at 7:09pm Last edited: 16 July 2010 7:10pm
Thanks for your anwser, I didn't want to start implementing I thought there is maybe already something like that, or at least SS uses a common blog system or type of blog so that I could use flickr or an iPhone App for that ;)
But in this case, maybe I'll try to implement something.
But before I start implementing that, the first problem already occured: I have only a simple web hosting package without ssh access or at least cronjobs, I have to find another solution for that.
Fabi
-
Re: Blogging via e-mail

17 July 2010 at 12:29am
Thanks, but I'm really happy with my web hoster, if I would pay more, I could have these features, but it's my own small private website therefore I don't think it's worth it ;)
-
Re: Blogging via e-mail

17 July 2010 at 3:00am Last edited: 17 July 2010 3:01am
Usually, even most basic webhosters allow for custom cronjobs. Not the ones you add to the crontab via console, but some that "execute" an URL of your site. In a lot of cases you can edit them via your website "Control-Panel"... no need for SSH.
If your webhoster doesn't support cronjobs at all, maybe use a free service like this one: http://www.setcronjob.com/
There you can setup a cronjob that will execute an URL of your Site regularly. The URL can be a SilverStripe page or any PHP script that executes the task you need to perform. -
Re: Blogging via e-mail

17 July 2010 at 3:12am
You're welcome.
Oh, and since you're from germany, you might also want to consider:
https://www.cronjob.de/, http://www.cron-server.de/ or http://my-cronjob.de/All of them offer a free cronjob service.
| 965 Views | ||
| Go to Top | Next > |



