Source files for our blog
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

66 lines
2.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.1" xmlns:xsl="" xmlns:atom="" xmlns:dc="">
<xsl:output method="html" doctype-system="about:legacy-compat" version="1.0" encoding="UTF-8" indent="yes" />
<xsl:template match="/">
<html xmlns="" lang="en_US" xml:lang="en_US">
<xsl:value-of select="/rss/channel/title" />
<meta name="description">
<xsl:attribute name="content">
<xsl:value-of select="/rss/channel/description" />
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,shrink-to-fit=no" />
<link rel="stylesheet" href="../../style.css" />
header {
border-bottom: 1px solid lightgrey;
margin-bottom: 0;
padding-bottom: 0.5em;
header h1 {
margin: 0;
header p {
margin: 0 0 0.5em;
.date {
display: block;
font-family: monospace;
margin-top: 1em;
overflow: hidden;
white-space: nowrap;
width: 16ch;
<h1><xsl:value-of select="/rss/channel/title" /></h1>
<i><xsl:value-of select="/rss/channel/description" /></i>
<xsl:for-each select="/rss/channel/item">
<xsl:sort select="category" order="descending" />
<span class="date">
<xsl:value-of select="pubDate" />
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="link" />
<xsl:value-of select="title" />