Book Image

Apache Roller 4.0 - Beginner's Guide

By : Alfonso V. Romero, Brian Fitzpatrick, Alfonso Vidal Romero
Book Image

Apache Roller 4.0 - Beginner's Guide

By: Alfonso V. Romero, Brian Fitzpatrick, Alfonso Vidal Romero

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
Credits
Foreword
About the Author
About the Reviewers
Preface
Pop Quiz Answers
Index

Time for action — creating your first template


In this exercise, you'll learn to create and edit your first custom template via Roller's admin interface:

  1. Open your web browser, log into Roller, and go to the Templates page, under the Design tab:

  2. On the Add a new template panel, type mytemplate in the Name field, leave the default custom value in the Action field, and click on the Add button:

  3. The mytemplate template you've just created will show up in the templates list:

  4. Now click on the mytemplate link under the Name field, to open the mytemplate file for editing:

  5. Leave the mytemplate value for the Name field, type mytemplate in the Link field, and type My First Template in Apache Roller! in the Description field:

  6. Then replace the <html><body></body></html> line with the following HTML code:

    <html> <body>
    Welcome to my blog, <b>$model.weblog.name</b> </br>
    This is my first template </br>
    My weblog's absolute URL is: <b>$url.absoluteSite...