Feed on
Posts
Comments

I just did a little experiment today (prompted by a clever idea from Erik Rose) to see if I could achieve Plone blogging nirvana by mashing together QuillsEnabled and Scrawl.  Not only did it work, it made me cackle with such evil genius glee that I needed to write it up.

OK, so you’re probably thinking: Scrawl and QuillsEnabled are both blogging products for Plone — how could you possibly combine them without creating a rupture in the very fabric of spacetime itself?  And yet…

QuillsEnabled is content-type agnostic.  It just provides some very nice portlets (archive, tag cloud, etc), some smart syndication, and a sweet little blog-style view on a folder.  Just create a folder, hit “enable blog” in Actions  (which applies a marker interface to your folder) and start blogging.

Scrawl is in many ways just the opposite.  It provides a Blog Entry content type (a straight-up copy of a News Item), some default settings on the Blog Entry (comments enabled, and a blog-style view for the Blog Entry).

Either of them alone provides a pretty nice blogging experience in Plone.  But each is missing something.  QuillsEnabled can’t let you have comments automatically enabled on only your blog posts, because it’s just using standard Plone content types, and comments get enabled per-type or per-item, but not per-location.  On the other hand, Scrawl doesn’t have nice blog-style portlets, and setting up a blog in Scrawl involves a bunch more pointing-and-clicking than with QuillsEnabled.

Erik suggested that I could install both Scrawl and QuillsEnabled, then tell QuillsEnabled to use Scrawl’s “Blog Entry” objects as its “blog” type (which is a configurable option in QuillsEnabled).  So I did, and it worked beautifully!  I now have a blog based on Scrawl’s Blog Entry objects, which have a nice blog view and default to having comments enabled, wrapped up in QuillsEnabled’s lovely master blog view and portlets.

If you want to give it a try, here’s how:

  1. Add Products.QuillsEnabled, Products.basesyndication (required by Quills) and Products.Scrawl to your buildout.
  2. Install QuillsEnabled, fatsyndication and Scrawl in your Plone site.
  3. Add a folder; use the actions menu to mark it as a blog.
  4. Click the “configure blog” link in the Weblog Admin portlet on the right side of your screen.  Change the “default type” from Document to Blog Entry.
  5. Add Blog Entries to your blog and publish them.

Voila!  You’re now publishing beautiful Scrawl blog entries in a Quills blog.

Squall!

Warning: I have no idea if this is a good idea or a horrible one.  I certainly wouldn’t advise you to try it in production unless you know how to extract yourself from a sticky situation.

12 Responses to “Squall: Perfect Plone blogging with Scrawl + Quills”

  1. Lee Joramo says:

    John, Thanks for writing this up. I have been playing with QuillsEnabled of late, and I have been wondering about the best way to migrate clients sites form Scrawl to QuillsEnabled. Looks like there maybe no migration needed. Just enable QE on the existing Scrawl Blog. Cool.

  2. Dan says:

    Jon, thanks for the writeup. However, the Scrawls tarball on plone.org won’t download, it’s an empty file. :-( .

    Dan

  3. Jon Stahl says:

    Hmm… how odd, perhaps Plone.org ate our tarball. We’ll check into it ASAP… in the meantime, you can also install via buildout (add Products.Scrawl to your buildout) or check out from SVN if you know how to do that.

  4. Brett says:

    Jon,
    This is probably a stupid question… Do you have an example of this combination? Sounds very cool. My assumption is that this blog is running on wordpress. Just curious to see what squall looks like.

    Brett

  5. Jon Stahl says:

    @Brett-

    This is a wordpress blog, I started it long before I started using Plone, and am too lazy to migrate. :-)

    I’ve not actually deployed “Squall” in production yet, but the blog posts look like Scrawl, with the portlets and master blog container provided by Quills. I’ll try to post a few screenshots back here soon.

  6. Hey Jon,
    Couldn’t wait. So I had our Plone partner, Contextual, go ahead and install Quills and Scrawl on our dev site and now on our production site. It is certainly not as full featured as Wordpress,
    but Squall is working.

    To check it out, go to: http://www.tcag.com/connect/blogs/brettsblog

    Thanks for the inspiration.

    Brett

  7. Jon Stahl says:

    Brett-

    Awesome! Looks great!

  8. Joel Marion says:

    Hi John,

    Looks great! I just gave this a shot on a test instance, and found a few minor quirks that might be helpful to others:
    – you note “Install QuillsEnabled, fatsyndication and Scrawl” – I also had to install “quills.app” in order for Blog Entry to be activated.
    – Blog Entry must also be made “addable” in Folders under portal_types, otherwise the add new entry form results in an error.
    Thanks for your great work on this! I look forward to seeing it in production.

    Joel

  9. Trish says:

    Hi Jon!
    I love this idea. I’ve been testing it out on a site I’m working on, also using qPloneComments, but ran into a problem where something in QuillsEnabled overrides the anonymous comments of qPloneComments. What happens is anonymous comments are allowed, but instead of saving who the comments are from (i.e. the name of the anonymous user), it says ‘Posted by ‘

    Have you seen this problem before or d’you have any ideas on how to start addressing it? Thanks!

    Trish

  10. Jon Stahl says:

    Trish-
    Haven’t seen this, but it sounds like some conflict between QuillsEnabled and qPloneComments — I’d ask on the Quills email list at: http://groups.google.com/group/plone-quills

  11. Ian F. Hood says:

    Trying this today with QE 1.70c3 and scrawl 1.3.1 and having problems with date values (less than 1900) causing portlet errors and/or blog folder won’t render.

    What versions are you using together?

  12. Tom Hoen says:

    I have followed the instructions to have Quills and Scrawl added to the site. Thank you for your excellent write-up.

    I wondered if you might answer a couple quick questions?

    After creating a blog entry by clicking on the Add Entry link above the Manage Comments link on the right side of the page, no items are listed in the recent entries, tag cloud, archive, etc. It does show up on the Contents area (one of the default portlets for the site). The page says “No weblog entries have been posted”

    I had set the Default type to “Blog Entry”. Is this correct?

    Also, for the entry (which I can get to by looking at the folders contents), when I post a comment, I get an error stating “‘NoneType’ object has no attribute ’strftime’”

    I am really excited to begin allowing my users to post blogs, I just need to work out these last kinks.

    Best
    Tom

Leave a Reply

Subscribe without commenting