The Pebble 2.3 release is available to download from SourceForge and includes quite a few small new features and fixes, some of which I've written about before. Here's the full list.
If you have any feedback, please use the pebble-user mailing list. Have fun!
Hmmm, it's been a little quiet over here recently. This is mainly because I've been blogging a lot over at Coding the Architecture, although I've also been doing a little Pebble work here and there. So, to kill two birds with one stone, here's a brief look at some of the new features that will be in the next version of Pebble.
Pebble works well as a nice little multi-contributor blog, but it never really gave much visibility that there were different content authors. Pebble 2.2 introduced a feature whereby an author's profile could be displayed in the sidebar on a permalinked blog entry page, but Pebble 2.3 takes this a step further by introducing an author specific page.
As the above screenshot shows; you get the author's profile, a summary of their three most recent blog entries and a link to an author specific RSS feed.
In Pebble 2.3, the overall blog in multi-blog mode can now use the same themes as the regular blogs and this is done in the normal way - by choosing the theme from a dropdown on the Pebble properties page. The benefit of this is that you no longer have to manually edit the _pebble theme to customize the multi-blog pages.
In addition to this, some of the common pages (e.g. login and error pages) have been stripped back for simplicity and security. For example, in the current version of Pebble you can define a blog to be secure, but it's still possible that the theme you use for your login page could expose your list of recent blog entries, etc.
Pebble 2.3 includes some enhanced statistics features, including :
Also, as shown in the above screenshot, you can easily navigate through statistics pages using the previous/next day/month links.
Although Pebble is primarily a blogging solution, a few users (myself included) find it a neat little tool for hosting static websites that additionally have a blog component (e.g. for site news). Pebble 2.3 allows you to do this very easily by giving you the ability to use a static page as a custom home page. In other words, rather than seeing a list of blog entries, people visiting the home page can see a static page instead. To do this, you just select the static page that you'd like to use from a dropdown list on the blog properties page.
The screenshot above shows a website that I've just launched for the local pre-school. The theme has been stripped back of most of the blog-like navigation, instead being replaced with a collection of links to static pages. Additionally, a static page is being used as the home page. The result looks like a static site, but it has all the benefits of an interactive blog with the ability to modify content by logging in from anywhere and using the WYSIWYG editor (FCKeditor). It's like a mini content management system. :-)
There are also some additional changes such as a GZIP filter and better caching to improve overall performance, some HTML clean-up, the ability to subscribe via e-mail, etc.
I must admit that I've had quite a lot fun putting these changes in, particularly because they are features that I've wanted myself. I do have some other things that I'd like to implement, but I'll probably try to get a release out in the next couple of weeks because it's been a long time since the last one. I've switched on my nightly build server, so you can always grab the latest version if you want to.
I've been putting a few new features into Pebble recently, one of which is the ability to subscribe to blog entry updates via e-mail. With web-based newsreaders such as Bloglines and Google Reader, I thought that the use of RSS/Atom feeds was more or less ubiquitous for subscribing to blogs, etc. However, a few people have recently mentioned that they still don't use a newsreader and that they do actually subscribe to some sites via e-mail. In response to this, I've added the ability to subscribe to Pebble powered blogs by e-mail.
You can subscribe here and I'd be really interested to hear from anybody that prefers this mechanism over newsfeeds.
Pebble 2.2 has been released and you can download it from SourceForge here. Changes include the following.
Support for the Atom Publishing Protocol didn't make it in this release but it will be coming.
Pebble 2.1 is now available to download from SourceForge, containing a couple of minor bug fixes and some small feature additions over the RC1 release.
userThemesEnabled property in the pebble.properties file to indicate whether user themes are enabled. Setting this value to false ensures all blogs in a multi-blog installation use the default theme and look consistent.Support for the Atom Publishing Protocol is now the most requested feature so this will form the basis for the Pebble 2.2 release. Until then ... I hope enjoy using the new release.
Pebble 2.1 is now available to download from SourceForge, containing a couple of minor bug fixes and some small feature additions over the RC1 release.
userThemesEnabled property in the pebble.properties file to indicate whether user themes are enabled. Setting this value to false ensures all blogs in a multi-blog installation use the default theme and look consistent.Support for the Atom Publishing Protocol is now the most requested feature so this will form the basis for the Pebble 2.2 release. Until then ... I hope enjoy using the new release.
It's taken a little longer than I wanted, but Pebble 2.1-RC1 is available to download from SourceForge. The major changes are the Ajax comment previews, user configurable private blogs and the new theme templates. Here's a summary of everything.
Most things are straightforward enough and covered in the online help. There are a couple of things to be aware of though.
/WEB-INF/pebble.properties file instead of /WEB-INF/applicationContext-pebble.xml file.As always, please use the pebble-user mailing list for support and send over your feedback if you have any.
I've had many conversations with Pebble users about the complexities of themes and the common problems that crop up time and time again are as follows.
The real power of Pebble themes comes from the fact that they use JSP as the implementation technology. The downside of this is that Pebble themes are seen as complex and fragile. In an attempt to rectify this, I've changed the way that themes work. I know, I can hear the groans now from those of you that have recently upgraded to Pebble 2.0, but wait.
The current themes are structured as follows.
- screen.css - images - jsp - template.jsp - sidebar.jsp
And in Pebble 2.1 this is simplified a little.
- screen.css - images - template.jsp
Okay, so the jsp subdirectory has gone and sidebar.jsp has been inlined into template.jsp, which now appears at the top level. It's a start, but the real changes appear in the template.jsp file. Here's what it looks like for the default theme.
<%--
The main template into which all other content is placed. The following
objects are available for use in templates.
... snip ...
--%>
<template:page>
<div id="body">
<%-- the RSS/Atom links --%>
<div id="feeds">
<template:feeds/>
</div>
<%-- the header, containing blog name and description --%>
<div id="header">
<div id="blogName"><span>${blog.name}</span></div>
<div id="blogDescription"><span>${blog.description}</span></div>
</div>
<%-- the linear navigation links (e.g. < Previous | Home | Next >) --%>
<div id="linearNavigation">
<template:linearNavigation/>
</div>
<%-- the sidebar that includes the calendar, recent blog entries, links, etc. --%>
<div id="sidebar">
<sidebar:about/>
<sidebar:loginForm/>
<sidebar:adminPanel/>
<sidebar:navigation/>
<sidebar:archivesByMonth/>
<sidebar:categories/>
<sidebar:tagCloud/>
<sidebar:recentBlogEntries/>
<sidebar:recentResponses/>
</div>
<%-- the main area into which content gets rendered --%>
<div id="content">
<template:content/>
</div>
<%-- the footer, containing the "powered by" link --%>
<div id="footer">
<template:poweredByPebble/>
</div>
</div>
</template:page>
I think you'll agree, this is much simpler than it ever was before. There are no messy JSP includes, the divs are cleanly separated and the sidebar items have been turned into proper components. It's still a JSP, but the power of JSP 2.x tag files has really cleaned things up.
If you're an existing Pebble user, I would really like your feedback on this. I'll be putting some decent online help together to document theme customization but if you have some use cases that you don't think will fit into this new model, please let me know. People think JSP is a bit rubbish. I disagree.
Pebble 1.x and 2.0 have always been able to provide a truely private blog, but required some messing with the web.xml or applicationContext-acegi-security.xml files respectively to manually secure those URLs that fall underneath the blog you want to make private. Also, this was only really possible in multi-blog mode where you wanted to make one or more blogs private. In Pebble 2.1, things are changing.
ExcerptDecorator plugin has been added, which creates a simple excerpt for a blog entry if one doesn't exist already. Use this in combination with a private blog that *is* included in the multi-blog aggregation and you have a really easy way to push out newsfeeds that contain excerpts but require users to be registered to view the full content.Just for completeness, here's a screenshot of the blog security settings.
So that's it - private blogs are easy to setup in the next Pebble release, which I'm looking to get out this month. If you want to try this out, please download the nightly build and give it a go. Feedback is welcomed and please use the pebble-user mailing list for support.