| Edit | Rename | Changes | History | Upload | Download | Back to Top |
James Robertson is the primary author, but there's been plenty of help from other people - Steve Kelly in particular.
Last Updated: November 9, 2010
If you want to try the system out, here's what you do:
You can change the css references in View.ssp to use any of the CSS templates that come down with the installation; you could derive a new one based on them as well, using the same API that View.ssp uses. Alternatively, you can set things up any way you want using the API in class BlogSaver. For example:
blog := BlogSaver named: 'blog'. "get all recent posts" recentPosts := blog fetchAllRecentPosts. "get all recent posts for a category" recentInCategory := blog fetchBlogsbySearchCategory: someCategory "get the most recent N posts in a category" recentInCategory := blog fetchBlogs: howMany bySearchCategory: someCategory "get a specific post by entry ID" blogPost := blog entryFor: entryID "get most recent post" lastPost := blog blog fetchAllRecentPosts first.
To learn more about the API, look at class BlogSaver, specifically, the api categories
The server also manages "static" pages; you can create one using the administration pages. It will land in a directory named 'blog/content', where 'blog' is the name you used when you set the site up. If you edit the resulting file by hand, you'll need to tell the server that it's been changed (if you edit with the tools, it'll get handled for you). To reset by hand:
blog (Blog.BlogSaver named: 'blog') cache clearHTMLCaches.
Finally, if you want WYSIWYG online editing, you need to install TinyMCE. Download that here, and install it on your server. Edit the file editor.inc to reflect the proper location.
Click here to view a translation of this site in Finland web hosting Hub Blog.
| Edit | Rename | Changes | History | Upload | Download | Back to Top |