Jump to:

1835 Posts in 1139 Topics by 554 members

Blog Module

SilverStripe Forums » Blog Module » Blogging via e-mail

Discuss the Blog Module.

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

Page: 1 2
Go to End
Author Topic: 1143 Views
  • funfried
    Avatar
    Community Member
    22 Posts

    Blogging via e-mail Link to this post

    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

  • Martijn
    Avatar
    Community Member
    271 Posts

    Re: Blogging via e-mail Link to this post

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

  • funfried
    Avatar
    Community Member
    22 Posts

    Re: Blogging via e-mail Link to this post

    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

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Blogging via e-mail Link to this post

    If you want, we can help you with hosting.

  • funfried
    Avatar
    Community Member
    22 Posts

    Re: Blogging via e-mail Link to this post

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

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Blogging via e-mail Link to this post

    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.

  • funfried
    Avatar
    Community Member
    22 Posts

    Re: Blogging via e-mail Link to this post

    Cool, thanks for this tip!

  • banal
    Avatar
    Community Member
    901 Posts

    Re: Blogging via e-mail Link to this post

    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.

    1143 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.