Every Day Free – But Never Cheap!
Exclusively for RapidWeaver users • only free and low-cost stuff

Another RapidWeaver blog

Yes, it's true: one more blog about our favorite web site building application for MacOSX. But this one is a little different. It started back in 2011 as a blog focusing solely on free and low-cost stuff for (producing a web site with) RapidWeaver: themes, tools, tips, tricks, anything, as long as it was free – or low-cost.
    Over time, the Stacks plugin became more popular, and coding yourself was no longer an option for many people, so I started to develop my own stacks in the spirit of the blog: free (well, actually pay-what-you-want) and low-cost.
    This blog evolved with it, and is now primarily about those new stacks, although from time to time I will post about other free and low-cost stuff for RapidWeaver.

ShareThis | follow me on twitterFollow me on Twitter

Do you know something free (or low-cost) & useful related to RapidWeaver not mentioned here? Have a suggestion for a subject to write about here or for a new stack?
Tips, questions and remarks are always welcomed.
Just and help to expand this little blog!

Last published snippet

In the past, RapidWeaver used to support %last_published% to show the last published date on a page. To my surprise, this is no longer supported (but stlll works). A big disadvantage however is that you cannot adjust the date formate. Never mind, here's a simple solution.

Using the code above, RapidWeaver will show the date as MM/DD/YY. That's it. But what is you prefer something like December 21, 2011 at 13:34? JavaScript to the rescue! Just past the following code where you want the date to appear:
<script type="text/javascript">
var lastModif=document.lastModified;
var dateModif = new Date(lastModif);
var day = dateModif.getDate();
var month=dateModif.getMonth();
var year=dateModif.getFullYear();
var hours=dateModif.getHours();
var minutes=dateModif.getMinutes();

var d=new Date();
var month=new Array(12);

document.write("last published on ");
document.write(month[d.getMonth()]+ " " + day + ", " + year + " at "+ hours +":"+ minutes);


Localize the names of the months and change or delete pieces you don't need on the two lines starting with document.write and you have a last published date formatted the way you want it. Oh, don't forget to apply Format > Ignore Formatting to this code when you use it in a styled text area.

This code is also available as a snippet. Download.

See older posts...