diff options
author | metamuffin <metamuffin@disroot.org> | 2024-04-28 19:18:13 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-04-28 19:18:13 +0200 |
commit | 3aec3a19d6a589418209f3d3ac7c06ffb6fc0a11 (patch) | |
tree | a3b9a4733b10223a2ba281a4b910456377af6caf /src | |
parent | 26632e3474fd4c7aba1b5c180cf8e6b72c7dde6a (diff) | |
download | meta-adservices-3aec3a19d6a589418209f3d3ac7c06ffb6fc0a11.tar meta-adservices-3aec3a19d6a589418209f3d3ac7c06ffb6fc0a11.tar.bz2 meta-adservices-3aec3a19d6a589418209f3d3ac7c06ffb6fc0a11.tar.zst |
more info
Diffstat (limited to 'src')
-rw-r--r-- | src/info.rs | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/src/info.rs b/src/info.rs index 433bb13..b0e9038 100644 --- a/src/info.rs +++ b/src/info.rs @@ -17,10 +17,30 @@ pub fn r_index<'a>() -> Template<DynRender<'a>> { h1 { "meta adservices" } p { "meta adservices is the leading provider of useless images within iframes. " + "meta adservices is inspired by " a[href="https://john.citrons.xyz/"]{"johnvertisement"} } - h2 { "sample ad" } iframe[src="/v1/embed?s=adservices.metamuffin.org", style="border:none;width:728px;height:90px;"] {} + h2 { "use meta ads" } + p { "Use meta ads by inserting the following iframe:" } + code { pre { "<iframe src=\"https://adservices.metamuffin.org/v1/embed?s=example.org\", style=\"border:none;width:728px;height:90px;\"></iframe>" } } + p { "You SHOULD replace " code {"example.org"} " with your domain." } + h2 { "create meta ads" } + p { + "Send mail to " a[href="mailto:metamuffin@disroot.org"]{"metamuffin@disroot.org"} "." br; + "The mail MUST contain a ad name, ad image, URL to direct those who click it and optionally ad author name. " br; + "Some ads will be rejected for any or no reason at all. " + "To create good ads, consider the following statements in the context of your ad: " + ol { + li { "It is funny, amusing or enigmatic in some way." } + li { "It doesn't break any laws." } + li { "The image is compressed losslessly." } + li { "The image has a resolution of exactly 728x90." } + li { "The image uses the sRGB color space." } + li { "The image contains no nonfree assets." } + li { "The image, URL or names should be free of malware" } + } + } h2 { "privacy" } p { "data used by meta adservices: " } ul { @@ -30,7 +50,7 @@ pub fn r_index<'a>() -> Template<DynRender<'a>> { p { "data stored by meta adservices: " } ul { li { "Your IP address is used within a bloom filter in volatile memory." } - li { "Your requests increment a persistent public counter per ad site (according to a weighting function)." } + li { "Your requests increments a persistent public counter per ad site (according to a weighting function)." } } } } |