Hacks > RDF/ATOM S2 Style

This style is written in S2 and is intended to be used with LiveJournal or LJ-derived sites. It must, at the very least, support the core layer. It renders any view as an ATOM feed. The ATOM core is augmented with a variety of schemas to supply more info (like moods and comments). It uses the following namespaces:

The following information is included:

You can download the source or view a highlighted version. To use it on LiveJournal:

  1. You must have a paid account
  2. (This and the next two steps are optional if you're using LiveJournal)
    Go to your layers and create a new top-level layer of type layout
  3. Click on edit
  4. Replace the default stuff with the source.
  5. Go to your styles
  6. Create a new style. The name and language don't matter.
  7. Select the layer you just created from the Layout dropdown and click Change.
    OR, if you didn't create your own layer (skipped the last three steps) select Other ... and enter the layer id 3770393.
  8. Ignore the Language, Theme, and User dropdowns. Just click Save Changes
  9. You can now view any journal page in this style by appending s2id=xxxxxxx to the query string (replace the x's with the number of the style you just created). For example:
    http://www.livejournal.com/users/atrustheotaku/?s2id=5922201
    or
    http://www.livejournal.com/users/atrustheotaku/?auth=digest&s2id=5922201

If you find a bug or would like to make a suggestion, please e-mail me.

This style is licensed under the LGPL.

Created with the help of LiveJournal editing tools.