ttimsmith/theboldreport.net

View on GitHub
atom.xml

Summary

Maintainability
Test Coverage
---
layout: null
---
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <link rel="hub" href="https://pubsubhubbub.appspot.com"/>
  <title>{{ site.name }}</title>
  <subtitle>By Timothy B. Smith and Friends</subtitle>
  <link href="https://theboldreport.net"/>
  <link type="application/atom+xml" rel="self" href="https://theboldreport.net/atom.xml"/>
  <updated>{{ site.time | date_to_xmlschema }}</updated>
  <rights>Copyright © 2013–{{ site.time | date: "%Y" }} {{ site.author.name }}</rights>
  <id>https://theboldreport.net/</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 %}

  {% for post in site.posts %}
    <entry>
      <id>https://theboldreport.net{{ post.id }}</id>
      {% if post.custom_type == 'link' %}
        <link type="text/html" rel="alternate" href="{{ post.link_url }}"/>
      {% else %}
        <link type="text/html" rel="alternate" href="https://theboldreport.net{{ post.url }}"/>
      {% endif %}
      <title>{% if post.custom_type == 'link' %}{{ post.title | xml_escape }} →{% else %}{{ post.title | xml_escape }}{% 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 }}
          {% if post.custom_type == 'link' %}
            <p><a title="Permalink to ‘{{ post.title }}’" href="{{ site.url | xml_escape }}{{ post.url | xml_escape }}">∞ Read on <em>The Bold Report</em></a></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>