Source: site.view [edit]
Function name: blogItem
Arguments: blogName,id
Description: Displays a single blog entry, selected by BlogName and ID.
Page type: webl
Render function:   blogRender
Module: site

Page source:

// get results from blog 'blogName'
var blog = WubCall(blogName, []);

// look for 'id'
var res = [];
every entry in blog.entries do
   if (ToString(entry.id) == id) then
      res = res + [entry]
   end
end;
[. title = blog.title, entries=res .];