Added example to test out that it's working.

master
Neil Edelman 7 years ago
parent c2692aa3aa
commit 6c5dd43af4

@ -0,0 +1,29 @@
<!doctype html public "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Arr! @(pwd){/}</title>
<meta name = "Content-type" http-equiv = "Content-Type" content = "text/html; charset=us-ascii">
<meta name = "Keywords" content = "@(pwd){, }arr">
<meta name = "Author" content = "Neil">
<meta name = "Generator" content = "This pristine code lies unmarred by infantile editors!">
</head>
<body>
<p>
Date: @(now)
</p>
<p>
@(content)</p>
<ul>
@(files){<li>
<img src = "@(fileicon)" alt = "[ @(filealt) ]"> This is the <a href = "@(filehref)">@(filename)</a>;
desciption: @(filedesc)</li>
}</ul>
<p>
From http://something/@(pwd){/} or / is @(root){/}.
</p>
</body>
</html>

@ -0,0 +1,22 @@
<?xml version = "1.0" encoding = "UTF-8" ?>
<!DOCTYPE rss>
<rss version = "2.0"><channel>
<title>Arr</title>
<description>Yaarrr, news from afar.</description>
<language>en</language>
<pubdate>@(now)</pubdate>
<lastbuilddate>@(now)</lastbuilddate>
~
<item>
<title>@(title)</title>
<link>@(pwd){/}@(newsname)</link>
<description>
@(news) </description>
<author>Neil</author>
<pubdate>@(date)</pubdate>
</item>
~
</channel></rss>

@ -0,0 +1,11 @@
<?xml version = "1.0" encoding = "UTF-8" ?>
<!DOCTYPE xml>
<urlset xmlns = "http://www.google.com/schemas/sitemap/0.84">
~
<url>
<loc>http://something/@(pwd){/}</loc>
<lastmod>@(now)</lastmod>
</url>
~
</urlset>

@ -0,0 +1 @@
Qux.

@ -0,0 +1 @@
This is a description of a.

@ -0,0 +1 @@
This is a.txt

@ -0,0 +1 @@
This is a description of a.txt.

@ -0,0 +1 @@
https://w3.org/

@ -0,0 +1 @@
This is an external link.

@ -0,0 +1 @@
OhNozzz!!11

@ -0,0 +1,2 @@
2012-12-21
World Ends

@ -0,0 +1 @@
This is content.d, overwriting index.d. The index.d appears in the links to this page, however.

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

@ -0,0 +1,3 @@
This is a hard-coded file named dir.jpeg that's recognised by @(fileicon)
with a directory. Also, this file has a custom icon dir.jpeg.d.jpeg;
&lt;*.d.jpeg&gt; makes it so.

Binary file not shown.

After

Width:  |  Height:  |  Size: 552 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 B

@ -0,0 +1 @@
This is the hard-coded file icon, file.jpeg.
Loading…
Cancel
Save