<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>errantville</title>
    <link>https://err.antville.org/</link>
    <description>errant out-post</description>
    <language>en</language>
    <pubDate>Wed, 09 Sep 2026 06:19:48 GMT</pubDate>
    <dc:date>2026-09-09T06:19:48Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>log in</title>
      <link>https://err.antville.org/stories/253115/</link>
      <description>&lt;form method="post" action="http://err.antville.org/members/login"&gt;Username:&lt;input type="text" size="15" name="name" /&gt;&lt;p&gt;Password:&lt;input type="password" size="15" name="password" /&gt;&lt;/p&gt;&lt;p&gt;&lt;input value="1" type="checkbox" name="remember" /&gt;remember me&lt;/p&gt;&lt;input value="login" type="submit" name="login" /&gt;&lt;p&gt;If you don't have a username, you must &lt;a href="http://err.antville.org/members/register"&gt;register&lt;/a&gt; first.&lt;/p&gt;&lt;p&gt;Forgot &lt;a href="http://err.antville.org/members/sendpwd"&gt;your password&lt;/a&gt;?&lt;/p&gt;&lt;/form&gt;</description>
      <pubDate>Fri, 10 Jan 2003 00:34:42 GMT</pubDate>
      <guid>https://err.antville.org/stories/253115/</guid>
      <dc:creator>nex</dc:creator>
      <dc:date>2003-01-10T00:34:42Z</dc:date>
    </item>
    <item>
      <title>Babel Fish Translation, Auf Deutsch:</title>
      <link>https://err.antville.org/stories/180193/</link>
      <description>&lt;p&gt;Liebe Kollegen, Ich lese jede Auswahl der feines &lt;em&gt;Hopfenverschickenden Liste&lt;/em&gt;, die ich erhalte (ungefähr 4 oder 5 pro Woche, schätze ich) und sie sehr nützlich finde. Jedoch blockiere ich die Entdeckung selbst, die nach den tatsächlichen Informationen zwischen Anführungsstrichen von Anführungsstrichen von Anführungsstrichen und von mehrfachen Fällen von Sig sucht, Hälfte der Zeit. Ich möchte die folgenden &lt;em&gt;Messwerte&lt;/em&gt; zu den &lt;em&gt;Mitplakaten&lt;/em&gt; humbly vorschlagen, die bereit sind, die Lesbarkeit ihrer geschätzten Beiträge zu verbessern: . . . &lt;em&gt;Glückliches Zerhacken&lt;/em&gt;, [nex]&lt;/p&gt;</description>
      <pubDate>Thu, 17 Oct 2002 09:58:18 GMT</pubDate>
      <guid>https://err.antville.org/stories/180193/</guid>
      <dc:creator>nex</dc:creator>
      <dc:date>2002-10-17T09:58:18Z</dc:date>
    </item>
    <item>
      <title>Colour Modification Parameters</title>
      <link>https://err.antville.org/stories/159841/</link>
      <description>&lt;p&gt;Colours. On Antville, you have a background, title, text, small text, link, active link, and visited link colour respectively. If you edit the style sheet, you can invent new classes and make up even more colours. You can have seperate colours for questions, answers, tips, alerts, dreams or stories. You can define your very own colour scheme.&lt;/p&gt;&lt;p&gt;Now what if your visitors could choose from one of several ready-made colour schemes and pick the one that fits their mood best? What if you had an image with a whole rainbow in it and your visitors could click anywhere to make the whole site that colour? Phew, lots of work, you might think, you'd have to define all those colour schemes.&lt;/p&gt;&lt;p&gt;Well, no, you don't have to. You can use colour modification parameters. You can tell your Antville site that links should be the same colour as your text, just a little brighter and a bit more saturated, more tinted. You might figure the background could be the inverse colour of the text, so there's a good contrast, but as it turns out that that doesn't look too good, you specify that it shouldn't be as saturated, but paler, almost grey. And finally you set your titles to be like the text, just a bit darker and with a slightly different hue, a little greener. That's exactly what you did when you set up your *.antville colour scheme? Sure, but if you tell the system about those considerations, you can change your text colour, and everythign else will adapt accordingly. Woo-hoo!&lt;/p&gt;&lt;p&gt;Of course, you don't have to make everything depend on just one colour. But if you do, it could look something like this:&lt;/p&gt;&lt;img alt="four different colour schemes" style="" title="four different colour schemes" loading="lazy" src="https://antville.org/static/sites/err/images/colourmod.jpg" /&gt;The only difference between these images, preferences-wise, is the site.bgcolor parameter.&lt;p&gt;Well, okay, I lied. You can't do that with your vanilla Antville yet. But you can use the macros I made today on your own installation, and maybe the nice Antville developers will merge my code into the codebase and the antville.org site?&lt;/p&gt;&lt;p&gt;So far I just extended the &lt;em&gt;renderColor&lt;/em&gt; function in &lt;strong&gt;renderfunctions.js&lt;/strong&gt; a little. It now can take and process different parameters, like &lt;em&gt;shiftHue&lt;/em&gt; or &lt;em&gt;invertLuminance&lt;/em&gt; or &lt;em&gt;setSaturation&lt;/em&gt;. When you want to enable a macro that outputs a colour to modify the colour in that way, all you have to do is pass on the parameters. For example, in &lt;strong&gt;site/macros.js&lt;/strong&gt; we have:&lt;/p&gt;&lt;pre&gt;function textcolor_macro(param) {  if (param.as == "editor")    renderInputText(this.createInputParam(          "textcolor", param));  else    renderColor(this.textcolor);}&lt;/pre&gt;&lt;p&gt;And all you have to do is extend the &lt;em&gt;renderColor&lt;/em&gt; function call a bit, like that:&lt;/p&gt;&lt;pre&gt;    renderColor(this.textcolor, param);&lt;/pre&gt;&lt;p&gt;That's it! The new &lt;em&gt;site.renderColor&lt;/em&gt; macro also changed only a bit. If there's a parameter, the colour is modified. Before:&lt;/p&gt;&lt;pre&gt;function renderColor(c) {  res.write(renderColorAsString(c));}&lt;/pre&gt;&lt;p&gt;After:&lt;/p&gt;&lt;pre&gt;function renderColor(c, param) {  if (param) {    c = modifyCol(c, param);  }  res.write(renderColorAsString(c));}&lt;/pre&gt;&lt;p&gt;Easy!&lt;/p&gt;&lt;p&gt;So obviously all the interresting stuff is going on in the function &lt;em&gt;modifyCol&lt;/em&gt;. I uploaded the source code plus documentation: &lt;a href="https://err.antville.org/files/colourmod/" title="source code and documentation for the chameleon mod by nex"&gt;colourmod&lt;/a&gt;&lt;span class="small"&gt;(text/plain, 18 KB)&lt;/span&gt;It belongs into &lt;strong&gt;global/renderFunctions.js&lt;/strong&gt;. The function &lt;em&gt;renderColor&lt;/em&gt; must be replaced, obviously, the rest must be inserted/appended. Functions that convert RGB values to HSL values and back will be globally available; maybe someone can use them for an HSL colour picker or something else.&lt;/p&gt;&lt;p&gt;As I said, all I did so far is extended the &lt;em&gt;renderColor&lt;/em&gt; function. It would be nice if the preferences dialog would allow to set those new parameters, and say, for example, that visited links should be like normal links, but just a bit darker.&lt;/p&gt;&lt;p&gt;And it would be nice if someone extended to functionality on images. Imagine that the colour scheme of the whole site still consistently changes colour like a chameleon (as shown above) if there are colourful images in it. They'd all adapt. W00t!&lt;/p&gt;&lt;p&gt;I hope this is useful for the Antville developers and lets a few DIY-Antvillers have some fun.&lt;/p&gt;&lt;p&gt;N.B. I put this story on my own site because it's &lt;strong&gt;long&lt;/strong&gt; and I didn't want to take up so much space on the project.antville frontpage. You can leave a comment here if you want to ask me about my favourite colour scheme or if you want to explain exactly why I am an idiot. But it you want to discuss the code described here, please do so at the &lt;a href="http://project.antville.org/stories/159848/"&gt;project.antville story&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Mon, 23 Sep 2002 17:56:23 GMT</pubDate>
      <guid>https://err.antville.org/stories/159841/</guid>
      <dc:creator>nex</dc:creator>
      <dc:date>2002-09-23T17:56:23Z</dc:date>
    </item>
  </channel>
</rss>

