Book Image

Apache Roller 4.0 - Beginner's Guide

Book Image

Apache Roller 4.0 - Beginner's Guide

Overview of this book

Apache Roller enables you to build a fully-featured, multi-user blog server apt for all kinds of blogging sites. It is an ideal tool to create your own blogging network with unlimited users and blogs, forums, photo galleries, and more! While it is exciting to have a list of interesting features it can offer you, it might be a little difficult to get started with it by your self. This book will teach you how to get started with Apache Roller and make the most of all its features using step-by-step, detailed instructions. You will learn how to establish your internet presence with an Apache Roller blog and use the latest web tools to enhance your posts and attract visitors. You will also learn how to promote your blog on popular social bookmarking services and customize it to suit your need. This hands-on and practical book introduces you to Apache Roller. Starting off with the configuration and installation of your own blog, you'll then quickly learn how to add interesting content to your blog with the help of plenty of examples. You'll also learn how to change your blog's visual appearance with the help of Roller themes and templates and how to create a community of blogs for you and your colleagues or friends in your Apache Roller blog server. The book also looks at ways you can manage your community, and keep your site safe and secure, ensuring that it is a spam-free, enjoyable community for your users.
Table of Contents (16 chapters)
Apache Roller 4.0
About the Author
About the Reviewers
Pop Quiz Answers

Chapter 7. Working with Templates

In the previous chapter, you learned to use Roller themes and made some tiny modifications to the weblog template, and added a Digg It button and a Twitter widget to your weblog. In this chapter, you'll see all the basics about the Velocity Template Language, and how you can use it in your Apache Roller templates to enhance your theme, or even build one from scratch!

Basically, in this chapter you shall:

  • Learn how to create and edit your first template

  • Learn about the Velocity Template Language and how you can use it in your Roller templates

  • Work with Roller's model and data objects to access your weblog's data from custom templates

  • Create a Roller theme from scratch!

If you liked the exercises in Chapter 6, this chapter's exercises will take you to the next level regarding Roller themes and templates!