Disclaimer : This document is a work in progress and should not be considered official yet.

Announcement Guide

Joshua Nichols  Author

Updated March 1, 2008

1.  Creating announcements

Initial setup

To start, you'll need to go through all the setup you would need to do other documentation. This is already well documented here.

Announcements live in xml/htdocs/news/, relative to the root of the 'gentoo' CVS module. To create a new announcement, just create a new XML file in this directory. Typically, this is of the form YYYYmmdd-some-title-here.xml.

The order of announcements is determined by the contents of /dyn/news-index.xml. This file gets generated by a cron job, which does something like ls -r. This means that something like ZZ.xml would always show up first.

If you want to publish several items on the same day with a specific order, add an extra letter to the data, like 20080211a-foo.xml and 20080211b-bar.xml (the latter will appear above the former).

File format

Announcements are of a variation of your typical GuideXML.

Best to teach by example, so here's a basic one:

Code Listing 1.1: Announcement example

<?xml version='1.0'?>
<!DOCTYPE news SYSTEM "/dtd/guide.dtd">
<news gentoo="yes" category="linux">
  <poster>your_nick_here</poster>
  <date>YYYY-mm-dd</date>
  <title>First post!</title>
  <body>
    <p>
      Here there be content!
    </p>
  </body>
</news>

Here's what's really important:

Discussion link

The announcement should contain a link to discuss it on the forums. Regretfully, this not automated so you will need to create a thread before posting the announcement.

You'd add a snippet like so:

Code Listing 1.2: Discussion link

<p>
  <uri link="http://forums.gentoo.org/viewtopic-t-657125.html">Discuss this!</uri>
</p>

2.  Writing effective announcements

Now that you have the basics of creating an announcement, we can focus on writing effective announcements.

Certainly, at the most basic level we want to inform our audience of something. We also want to make it easy to understand what we're trying to say. We want to explain things in a way that they see why they should care about the announcement. And lastly, we want to engage the audience. Community has always been an important part of Gentoo, and we hope that well-written, timely announcements can help maintain and improve our sense of community.

Tips

Appropriate topics for announcements

This is by no means an exhaustive list, but intended to give you some ideas what could be announcement material.

References