Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Blog Module

Discuss the Blog Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Blogging via e-mail


Go to End
Reply

9 Posts   1274 Views

Avatar
funfried

16 July 2010 at 3:44am Community Member, 22 Posts

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

Avatar
Martijn

16 July 2010 at 8:05am Community Member, 271 Posts

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 ;)

Avatar
funfried

16 July 2010 at 7:09pm (Last edited: 16 July 2010 7:10pm), Community Member, 22 Posts

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

Avatar
biapar

16 July 2010 at 11:09pm Forum Moderator, 435 Posts

If you want, we can help you with hosting.

Avatar
funfried

17 July 2010 at 12:29am Community Member, 22 Posts

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 ;)

Avatar
banal

17 July 2010 at 3:00am (Last edited: 17 July 2010 3:01am), Community Member, 901 Posts

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.

Avatar
funfried

17 July 2010 at 3:07am Community Member, 22 Posts

Cool, thanks for this tip!

Avatar
banal

17 July 2010 at 3:12am Community Member, 901 Posts

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.

Go to Top