You are previewing Apache Roller 4.0.
O'Reilly logo
Apache Roller 4.0

Book Description

A comprehensive, step-by-step guide on how to set up, customize, and market your blog using Apache Roller

  • Create, optimize, and maintain your own blog server using Apache Roller

  • Incorporate multimedia content from popular web tools like YouTube, Google Maps, Twitter. and SlideShare in your posts

  • Customize the appearance of your blog with visually appealing, powerful themes and templates

  • Increase your blog's search engine ranking and keep track of visitors using Google Webmaster Tools

In Detail

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.

A complete guide for running an Apache Roller blog from your own PC.

Table of Contents

  1. Apache Roller 4.0
    1. Apache Roller 4.0
    2. Credits
    3. Foreword
    4. About the Author
    5. About the Reviewers
    6. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Time for action - heading
        1. What just happened?
        2. Pop quiz - heading
        3. Have a go hero - heading
      6. Reader feedback
      7. Customer support
        1. Errata
        2. Piracy
        3. Questions
    7. 1. An Introduction to Weblogs
      1. Basic concepts about weblogs
      2. What can you do with a weblog?
        1. Express your feelings to the world
      3. Time for action - a little visit to Technorati
        1. What just happened?
        2. Get in touch with other people
      4. Time for action - leaving comments on other people's weblogs
        1. What just happened?
        2. Promote your business or professional activities
      5. Time for action - Microsoft employee blogs
        1. What just happened?
        2. Share experiences with other users
      6. Who's using Apache Roller
        1. Rollerweblogger.org
        2. Blogs.sun.com
        3. Blog.usa.gov
        4. IBM developerWorks blogs
        5. JRoller community
      7. Weblogs versus Content Management Systems
        1. A blog is not a CMS
      8. Blogs and newsfeeds - the world is your audience
        1. What is a newsfeed
        2. How can a newsfeed help to promote your blog
      9. Time for action - subscribing to a newsfeed
        1. What just happened?
        2. Using newsfeed readers
      10. Time for action - using Bloglines
        1. What just happened?
        2. Pop quiz - weblogs and newsfeeds
        3. Have a go hero - doing more with the thing
      11. Summary
    8. 2. Installing Roller on Windows
      1. Checking your environment
      2. Installing Apache, Java, Tomcat, and MySQL
        1. Apache web server
      3. Time for action - installing the Apache web server
        1. What just happened?
        2. The Java SE Development Kit
      4. Time for action - installing a JDK
        1. What just happened?
        2. Tomcat servlet engine
      5. Time for action installing Tomcat
        1. What just happened?
        2. MySQL database server
      6. Time for action installing MySQL
        1. What just happened?
      7. Downloading and installing Apache Roller
      8. Files required for Apache Roller
        1. The JavaMail API
      9. Time for action downloading the JavaMail API
        1. What just happened?
        2. The JavaBeans Activation Framework API
      10. Time for action - downloading the JAF API
        1. What just happened?
        2. The MySQL JDBC driver
      11. Time for action installing MySQL connector/J 5.1
        1. What just happened?
      12. Deploying Roller files to Tomcat
      13. Time for action - downloading and deploying Roller
        1. What just happened?
      14. Creating the Roller database
      15. Time for action - creating a MySQL database for Roller
        1. What just happened?
      16. Roller properties and context files
        1. The roller-custom.properties file
      17. Time for action - creating roller-custom.properties
        1. What just happened?
        2. The Context.xml file
      18. Time for action - creating Context.xml
        1. What just happened?
        2. Changing keys in security.xml
      19. Time for action - changing key values in security.xml
        1. What just happened?
      20. Testing your Roller installation
      21. Time for action - testing Roller
        1. What just happened?
      22. The mod_jk connector for Apache and Tomcat
      23. Time for action - installing the mod_jk connector
        1. What just happened?
        2. Pop quiz - installing Roller on Windows
        3. Have a go hero - doing more with the thing
      24. Summary
    9. 3. Installing Roller on Linux
      1. Checking your environment
      2. Installing Apache, Java, Tomcat, and MySQL
        1. Apache web server
      3. Time for action - installing the Apache web server
        1. What just happened?
        2. The Java SE Development Kit
      4. Time for action - installing a JDK
        1. What just happened?
        2. Tomcat servlet engine
      5. Time for action - installing Tomcat
        1. What just happened?
        2. MySQL database server
      6. Time for action - installing MySQL
        1. What just happened?
      7. Downloading and installing Apache Roller
      8. Files required for Apache Roller
        1. The JavaMail API
      9. Time for action - downloading the JavaMail API
        1. What just happened?
        2. The JavaBeans Activation Framework API
      10. Time for action - downloading the JAF API
        1. What just happened?
        2. The MySQL JDBC driver
      11. Time for action - downloading and installing MySQL connector/J 5.1
        1. What just happened?
      12. Deploying Roller files to Tomcat
      13. Time for action - downloading and deploying Roller
        1. What just happened?
      14. Creating the Roller database
      15. Time for action - creating a MySQL database for Roller
        1. What just happened?
      16. Roller properties and context files
        1. The roller-custom.properties file
      17. Time for action - creating roller-custom.properties
        1. What just happened?
        2. The Context.xml file
      18. Time for action - creating Context.xml
        1. What just happened?
        2. Changing keys in security.xml
      19. Time for action - changing key values in security.xml
        1. What just happened?
      20. Testing your Roller installation
      21. Time for action - testing Roller
        1. What just happened?
      22. The mod_jk connector for Apache and Tomcat
      23. Time for action - installing the mod_jk connector
        1. What just happened?
        2. Pop quiz - installing Roller on Linux
        3. Have a go hero - doing more with the thing
      24. Summary
    10. 4. How to Start Working with Roller
      1. Your first steps with Roller
        1. Creating your first user and weblog
      2. Time for action - creating your first user and weblog
        1. What just happened?
        2. Adjusting basic server settings
      3. Time for action - basic server settings
        1. What just happened?
        2. Creating/editing your first entry
      4. Time for action - creating/editing entries
        1. What just happened?
        2. Defining weblog categories
      5. Time for action - define a category for your blog
        1. What just happened?
      6. Enhancing your weblog
        1. Adjusting basic weblog settings
      7. Time for action - basic weblog settings
        1. What just happened?
        2. Creating/editing bookmarks (blogroll)
      8. Time for action - managing bookmarks in Roller
        1. What just happened?
        2. Using a Rich Text Editor
      9. Time for action - using Roller's Rich Text Editor
        1. What just happened?
        2. The Summary field
      10. Time for action - using the Summary field
        1. What just happened?
        2. Pop quiz - working with Roller
        3. Have a go hero - doing more with the thing
      11. Summary
    11. 5. Spicing Up Your Blog
      1. Before the action begins
      2. Uploading files to your weblog
        1. Using images on your posts
      3. Time for action - uploading images into Roller
        1. What just happened?
      4. Changing file upload size limit
        1. File upload settings
      5. Time for action - changing Roller's file upload settings
        1. What just happened?
        2. The struts.properties file
      6. Time for action - modifying the struts.multipart.maxSize property
        1. What just happened?
        2. Using videos in your posts
      7. Time for action - uploading and inserting videos on your posts
        1. What just happened?
        2. Using sound files in your posts
      8. Time for action - uploading and inserting sound files in your posts
        1. What just happened?
      9. Google Maps, YouTube, and SlideShare
        1. Including Google Maps in your posts
      10. Time for action - using Google Maps
        1. What just happened?
        2. Have a go hero - explore Google Maps
        3. Including YouTube videos in your posts
      11. Time for action - including a YouTube video
        1. What just happened?
        2. Have a go hero - explore YouTube
        3. Including SlideShare presentations in your posts
      12. Time for action - including a SlideShare presentation
        1. What just happened?
        2. Have a go hero - explore SlideShare
        3. Pop quiz - images, sounds, and videos
      13. Summary
    12. 6. Roller Themes and Blog Promotion
      1. Before the action begins
      2. Choosing a weblog theme
      3. Time for action - choosing a Roller theme
        1. What just happened?
        2. Exploring the differences between themes
      4. Time for action - differences between the Brushed Metal and Basic themes
        1. What just happened?
      5. Downloading and installing additional themes
      6. Time for action - getting additional themes for your weblog
        1. What just happened?
      7. Editing themes
        1. Using a custom theme
      8. Time for action - editing a custom theme
        1. What just happened?
        2. Adding a Twitter widget to your custom theme
      9. Time for action - adding a Twitter box
        1. What just happened?
        2. Have a go hero - explore Twitter widgets and custom themes
        3. Promoting your blog on Technorati, Digg, StumbleUpon, and Delicious
          1. Get a free dynamic DNS service account
      10. Time for action - open a No-IP.com account
        1. What just happened?
        2. Have a go hero - install the No-IP Dynamic Update Client
        3. Open up your web port (80) to the world
      11. Time for action - forwarding port 80
        1. What just happened?
        2. Adding a Digg It button to your weblog
      12. Time for action - adding a Digg It button
        1. What just happened?
        2. Have a go hero - adding Technorati, StumbleUpon, and Delicious buttons
        3. Pop quiz - editing themes and promoting your weblog
      13. Summary
    13. 7. Working with Templates
      1. Your first template
        1. Creating and editing templates
      2. Time for action - creating your first template
        1. What just happened?
        2. The Velocity template language
          1. Using Velocity macros in your Roller weblog
      3. Time for action - showing your weblog's blogroll and most recent entries
        1. What just happened?
        2. Velocity model and data objects in Apache Roller
            1. The $config object
      4. Time for action - properties of the $config model object
        1. What just happened?
            1. The $model, $category, and $entry objects
      5. Time for action - properties and methods of the $model model object
        1. What just happened?
            1. The $url and $utils objects
      6. Time for action - properties and methods of the $url and $utils objects
        1. What just happened?
      7. Creating a Roller theme from scratch
        1. Creating a directory for your theme
      8. Time for action - creating a directory for your theme
        1. What just happened?
        2. The stylesheet override file
      9. Time for action - editing the stylesheet override file
        1. What just happened?
        2. The weblog template: Your weblog's main page
      10. Time for action - editing the weblog template
        1. What just happened?
        2. Have a go hero - finishing your Roller theme
        3. Pop quiz - Roller themes
      11. Summary
    14. 8. Comments and Trackbacks
      1. Managing comments
        1. Enabling comments in your Roller weblog
      2. Time for action - enabling comments
        1. What just happened?
        2. How to leave a comment in your weblog
      3. Time for action - leaving comments in your weblog
        1. What just happened?
        2. Deleting unwanted comments in your weblog
      4. Time for action - deleting a comment in your weblog
        1. What just happened?
      5. Moderating comments
        1. Enabling comment moderation in your weblog
      6. Time for action - enabling moderation in your weblog
        1. What just happened?
        2. Approving comments
      7. Time for action - how to approve and disapprove comments
        1. What just happened?
      8. Avoiding spam in your weblog
        1. Marking comments as spam
      9. Time for action - marking comments as spam
        1. What just happened?
        2. Have a go hero - using Roller's blacklist effectively
        3. Using Roller's comment validators
      10. Time for action - Roller's comment validators
        1. What just happened?
      11. Trackbacks
        1. Enabling comment notification via e-mail
      12. Time for action - enabling e-mail comment notification in Roller
        1. What just happened?
        2. Sending a trackback from your weblog
      13. Time for action - sending trackbacks
        1. What just happened?
        2. Pop quiz - comments and trackbacks
        3. Have a go hero - blog and social media blending
      14. Summary
    15. 9. Advanced Topics
      1. Managing group blogs
      2. Time for action - creating another user
        1. What just happened?
        2. Have a go hero - inviting members to write in your weblog
        3. Enabling a front page blog
      3. Time for action - enabling a front page blog
        1. What just happened?
      4. Aggregators and weblog pings
        1. Registering with an aggregator
      5. Time for action - registering with Technorati
        1. What just happened?
        2. Enabling weblog pings
      6. Time for action - enabling automatic pings in your weblog
        1. What just happened?
        2. Have a go hero - configure more ping targets
      7. Google webmaster tools
      8. Time for action - enabling Google webmaster tools
        1. What just happened?
        2. Have a go hero - try out Google Analytics
      9. Using podcasts
      10. Time for action - uploading a podcast in Roller
        1. What just happened?
      11. Weblog clients
      12. Time for action - using Google docs as your weblog client
        1. What just happened?
        2. Have a go hero - try out other weblog clients
      13. Planet Roller
      14. Time for action - using Planet Roller
        1. What just happened?
        2. Have a go hero - spice up your Planet Roller
        3. Pop quiz - pings, aggregators, and more
      15. Summary
    16. A. Pop Quiz Answers