Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 350b79a59d
Fetching contributors…

Cannot retrieve contributors at this time

executable file 49 lines (47 sloc) 2.304 kb
{% set datefmt = '%a, %d %b %Y %H:%M:%S GMT' %}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="{{ site.base_url }}{{ page.url }}" rel="self" type="application/rss+xml" />
<title>{{ page.title }}</title>
<link>{{ site.base_url }}{{ page.url }}</link>
<language>en-us</language>
<pubDate>{{ site.datetime.strftime(datefmt) }}</pubDate>
<docs>http://blogs.law.harvard.edu/tech/rss</docs>
{% for item in site.categories['blog']|sort(attribute='datetime')|reverse %}
{% if loop.index0 < 20 %}
<item>
<title>{{item.title|e}}</title>
<link>{{ site.base_url }}{{ item.url }}</link>
<pubDate>{{ item.datetime.strftime(datefmt) }}</pubDate>
<description>
{% if item.title_img_src %}
{{ '<a href="'|e }}{{ site.base_url|e }}{{ item.url|e }}{{ '">'|e }}{{ '<img src="'|e }}{{ item.title_img_src|replace('{img_width}', '225')|e }}{{'" class="title_img" title="'|e }}{{ item.title|e }}{{'" /></a>'|e }}
{% endif %}
{{ item.snippet|e }}
</description>
<guid>
{{site.base_url}}{{ item.url }}
</guid>
</item>
{% endif %}
{% endfor %}
{% for item in site.categories['portfolio']|sort(attribute='datetime')|reverse %}
{% if loop.index0 < 20 %}
<item>
<title>{{item.title|e}}</title>
<link>{{ site.base_url }}{{ item.url }}</link>
<pubDate>{{ item.datetime.strftime(datefmt) }}</pubDate>
<description>
{% if item.title_img_src %}
{{ '<img src="'|e }}{{ item.title_img_src|replace('{img_width}', '225')|e }}{{'" class="title_img" title="'|e }}{{ item.title|e }}{{'" />'|e }}
{% endif %}
{{ item.snippet|e }}
</description>
<guid>
{{site.base_url}}{{ item.url }}
</guid>
</item>
{% endif %}
{% endfor %}
</channel>
</rss>
Jump to Line
Something went wrong with that request. Please try again.