initial commits

master
Charles Iliya Krempeaux 2023-12-14 21:46:17 -08:00
parent 732dd0809c
commit 0b7645958c
1 changed files with 13 additions and 3 deletions

View File

@ -11,8 +11,13 @@
<style> <style>
.tweet-text { .tweet-text {
border-left: 0.3rem solid; border-left: 0.3rem solid;
padding: 0.3rem 0.6rem; padding: 0.1545rem 0.618rem;
font-size: 200%; font-size: 162%;
white-space: pre-wrap;
}
.tweet-attachments img {
max-width: 23rem;
max-height: 23rem;
} }
</style> </style>
</head> </head>
@ -20,6 +25,11 @@
<main> <main>
<h1>tweet by @<xsl:value-of select="author/username" /></h1> <h1>tweet by @<xsl:value-of select="author/username" /></h1>
<p class="tweet-text"><xsl:value-of select="text" /></p> <p class="tweet-text"><xsl:value-of select="text" /></p>
<div class="tweet-attachments">
<xsl:for-each select="attachments/media">
<a rel="enclosure" href="{text()}"><img src="{text()}" /></a>
</xsl:for-each>
</div>
<address>by @<xsl:value-of select="author/username" /> (<xsl:value-of select="author/name" />)</address> <address>by @<xsl:value-of select="author/username" /> (<xsl:value-of select="author/name" />)</address>
<p>at <time><xsl:value-of select="created_at" /></time></p> <p>at <time><xsl:value-of select="created_at" /></time></p>
</main> </main>
@ -27,7 +37,7 @@
<p> <p>
Original URL: Original URL:
<br /> <br />
https://twitter.com/reiver/status/<xsl:value-of select="id" /> https://twitter.com/<xsl:value-of select="author/username" />/status/<xsl:value-of select="id" />
</p> </p>
</footer> </footer>
</body> </body>