smithtimmytim/brightlycolored.org

View on GitHub
atom.articles.xml

Summary

Maintainability
Test Coverage
---
layout: 
---

<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <link rel="hub" href="https://pubsubhubbub.appspot.com"/>
  <title>{{ site.name }} - Articles</title>
  <subtitle>By Timothy B. Smith and Friends</subtitle>
  <link href="https://brightlycolored.org"/>
  <link type="application/atom+xml" rel="self" href="https://brightlycolored.org/feed.article.xml"/>
  <updated>{{ site.time | date_to_xmlschema }}</updated>
  <rights>Copyright © 2013–{{ site.time | date: "%Y" }} {{ site.author.name }}</rights>
  <id>https://brightlycolored.org</id>
  {% for author in site.data.authors %}
    <author>
      <name>{{ author[1].display_name }}</name>
      <uri>{{ author[1].web }}</uri>
      <email>{{ author[1].email }}</email>
    </author>
  {% endfor %}
  {% assign posts = site.posts | where:"custom_type","post" %}
  {% for post in posts limit:20 %}
  <entry>
    <id>https://brightlycolored.org{{ post.id }}</id>
    <link type="text/html" rel="alternate" href="http://brightlycolored.org{{ post.url }}"/>
    <title>{{ post.title | xml_escape }}{% if post.review.type %}{% include head-rating.html%}{% endif %}</title>
    <published>{{ post.date | date_to_xmlschema }}</published>
    <updated>{{ post.date | date_to_xmlschema }}</updated>
    <author>
      <name>{{ site.data.authors[post.author].display_name }}</name>
      <uri>{{ site.data.authors[post.author].web }}</uri>
    </author>
    <content type="html">
      <![CDATA[
        {% if post.subtitle %}
          <h2>{{ post.subtitle }}</h2>
        {% endif %}
        {{ post.content | strip_toc }}
        {% if post.author != 'timsmith' %}
          {% assign author = site.data.authors[post.author] %}
          <p>
            <a 
              href="/authors/{{ author.author_path}}/"
              title="{{ author.display_name }}">
              {{ author.display_name }}
            </a>
            <em>is a {{ author.title | downcase }} for Brightly Colored.</em>
          </p>
        {% endif %}
        {% if post.is_rss_only %}
        <hr>
        <p><em>This article is top secret! <a href="https://brightlycolored.org/2018/01/rss-club/">Learn more about RSS Club.</a></em></p>
        {% endif %}
        {% if post.custom_type == 'artdirect' %}
        <hr>
        <p>This is an art-directed post. <a href="{{ site.url | xml_escape }}{{ post.url | xml_escape }}">Check it out in the browser</a>.</p>
        {% endif %}
      ]]>
    </content>
  </entry>
  {% endfor %}
</feed>