metamuffin's personal website


About 1708775936633 milliseconds have passed since midnight of the january the first in 1970.
------------------------------------------------------
            <name>metamuffin</name>
            <email>metamuffin@disroot.org</email>
        </author>
    </entry>"#
                )
            },
        )
        .collect::<Vec<_>>();

    let feed_url = uri!(r_blog_atom());
    let index_url = uri!(r_blog_index());
    let now = chrono::Utc::now().to_rfc3339();

    Ok(format!(
        r#"<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title>metamuffin's blog</title>
	<subtitle>where they post pointless stuff</subtitle>
	<link href="{feed_url}" rel="self" />
	<link href="{index_url}" />
	<id>urn:uuid:3cf2b704-3d94-4f1f-b194-42798ab5b47c</id>
	<updated>{now}</updated>
    <author>
        <name>metamuffin</name>
        <email>metamuffin@disroot.org</email>
    </author>
    {}
</feed>
    "#,
        entries.join("\n")