<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
<document>
  <header>
    <title>Welcome to the org.apache.forrest.plugin.input.Blog Plugin</title>
  </header>
  <body>
    <section id="overview">
      <title>Apache Forrest - org.apache.forrest.plugin.input.Blog Plugin</title>
      <p>
        Use Forrest to publish a weblog - One use-case for metadata driven
        indices.
      </p>
    </section>
    <section id="samples">
      <title>Samples</title>
      <p>
        In the menu on the left side of the page is a link to "Web Blog". Under
        there you will find a couple sample blog categories. Click on one of
        them and an index comes up with all articles listed for that category.
      </p>
      <p>
        Try it out by opening a blog entry (e.g. /blog/entry1.xml) and adding or
        changing the category from or to "News" or "Sports".
      </p>
    </section>
    <section id="why">
      <title>Why is this interesting?</title>
      <p>
        Ok, so this isn't the most powerful blogging software out there but it's
        interesting because it demonstrates using an XPathDirectory generator to
        publish indices of articles. If you want an article listed on multiple
        pages, just add the appropriate "meta" entry for it with the appropriate
        category.
      </p>
      <p>
        In that sense, a Blog becomes just another use-case for metadata driven
        indices. Several other use-cases that might follow a similar approach
        once fleshed out:
      </p>
      <ul>
        <li>Product catalogs where each product might belong to more than one category.</li>
        <li>Product documentation where each document may apply to more than one version of the product.</li>
        <li>News site where each article might fall under more than one category.</li>
      </ul>
    </section>
  </body>
</document>
