<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Antville Macros</title>
    <link>https://macros.antville.org/</link>
    <description />
    <language>en</language>
    <pubDate>Wed, 14 Oct 2026 10:13:24 GMT</pubDate>
    <dc:date>2026-10-14T10:13:24Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>&amp;lt;% colorpicker %&amp;gt;</title>
      <link>https://macros.antville.org/stories/246684/</link>
      <description>&lt;p&gt;This macro displays a small square box filled with the defined color. Clicking on the square will open a popup-window with the colorpicker to change the color (of course you can always enter the color-code by hand too).&lt;/p&gt;&lt;img alt="" style="" title="" loading="lazy" src="https://antville.org/static/sites/macros/images/colorpicker.gif" /&gt;&lt;p&gt;To see how it works check the color definitions in the preferences of your weblog.&lt;/p&gt;&lt;p&gt;You can also use this macro to customize your stories' color settings (please refer to the documention about the &lt;a title="" href="http://macros.antville.org/stories/142506/"&gt;content macro&lt;/a&gt; for a general introduction to antville's story model).&lt;/p&gt;&lt;p&gt;In your story editor skin simply add the following macro:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% colorpicker name=&amp;quot;color&amp;quot; %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;Then, insert the corresponding content macro in the story display skin, right at the spot to control the color style, e.g.:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;span class=&amp;quot;storytitle&amp;quot; style=&amp;quot;color: #&amp;lt;% story.content part=&amp;quot;color&amp;quot; %&amp;gt;;&amp;quot;&amp;gt;&amp;lt;% story.title %&amp;gt;&amp;lt;/span&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;From now on your story titles should individually appear in the color you have selected from within the story editor.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jan 2003 12:28:38 GMT</pubDate>
      <guid>https://macros.antville.org/stories/246684/</guid>
      <dc:creator>robert</dc:creator>
      <dc:date>2003-01-03T12:28:38Z</dc:date>
    </item>
    <item>
      <title>&amp;lt;% storylist %&amp;gt;</title>
      <link>https://macros.antville.org/stories/246675/</link>
      <description>&lt;p&gt;This macro loops over the stories of a weblog and displays each of them as a link to the main view of the story. The simplest way to use this macro is:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% storylist %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;To get an unordered list of story-links use the following:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% storylist prefix=&amp;quot;&amp;lt;ul&amp;gt;&amp;quot; suffix=&amp;quot;&amp;lt;/ul&amp;gt;&amp;quot; itemprefix=&amp;quot;&amp;lt;li&amp;gt;&amp;quot; itemsuffix=&amp;quot;&amp;lt;/li&amp;gt;&amp;quot; %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;Each item in the list will either consist of the story-title or the first few words of the text (if neither is available the macro will display three dots instead), linking to the story itself.&lt;/p&gt;&lt;p&gt;With the option &lt;tt&gt;limit&lt;/tt&gt; you can decrease the number of stories that will appear in this list, eg. &lt;tt&gt;limit=&amp;quot;10&amp;quot;&lt;/tt&gt; (the maximum is 25).&lt;/p&gt;&lt;p&gt;This macro has also a special option called &lt;tt&gt;of&lt;/tt&gt;. With this you can get a list of stories from a different weblog, e.g.&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% storylist of=&amp;quot;project&amp;quot; limit=&amp;quot;10&amp;quot; prefix=&amp;quot;&amp;lt;ul&amp;gt;&amp;quot; suffix=&amp;quot;&amp;lt;/ul&amp;gt;&amp;quot; itemprefix=&amp;quot;&amp;lt;li&amp;gt;&amp;quot; itemsuffix=&amp;quot;&amp;lt;/li&amp;gt;&amp;quot; %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;will render the last 10 stories of project.antville.org as unordered list.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jan 2003 12:19:23 GMT</pubDate>
      <guid>https://macros.antville.org/stories/246675/</guid>
      <dc:creator>robert</dc:creator>
      <dc:date>2003-01-03T12:19:23Z</dc:date>
    </item>
    <item>
      <title>&amp;lt;% username %&amp;gt;</title>
      <link>https://macros.antville.org/stories/246622/</link>
      <description>&lt;p&gt;This macro displays the name of the user, but only if the user is logged in. If the user has defined a personal URL in her profile the name will appear as link, otherwise as plain text.&lt;/p&gt;&lt;p&gt;In case the user is anonymous this macro displays nothing.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jan 2003 11:17:15 GMT</pubDate>
      <guid>https://macros.antville.org/stories/246622/</guid>
      <dc:creator>robert</dc:creator>
      <dc:date>2003-01-03T11:17:15Z</dc:date>
    </item>
    <item>
      <title>&amp;lt;% story %&amp;gt;</title>
      <link>https://macros.antville.org/stories/246618/</link>
      <description>&lt;p&gt;With this macro you can embed a story somewhere in a skin. The basic usage is simple:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% story id=&amp;quot;1234&amp;quot; %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;You can change the way this story will appear by editing the story-skin &amp;quot;embed&amp;quot; (which is the default-skin used by this macro) or you can define a different skin to be rendered like this:&lt;/p&gt;&lt;p&gt;&lt;tt&gt;&amp;lt;% story id=&amp;quot;1234&amp;quot; skin=&amp;quot;preview&amp;quot; %&amp;gt;&lt;/tt&gt;&lt;/p&gt;&lt;p&gt;This will display the story in the same way stories are rendered in a list.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jan 2003 11:11:36 GMT</pubDate>
      <guid>https://macros.antville.org/stories/246618/</guid>
      <dc:creator>robert</dc:creator>
      <dc:date>2003-01-03T11:11:36Z</dc:date>
    </item>
    <item>
      <title>&amp;lt;% now %&amp;gt;</title>
      <link>https://macros.antville.org/stories/246588/</link>
      <description>&lt;p&gt;This macro does what you expect: it returns the current date and time. For more information about how to format see &lt;a title="" href="http://macros.antville.org/stories/244877/"&gt;date and time&lt;/a&gt;.&lt;/p&gt;</description>
      <pubDate>Fri, 03 Jan 2003 10:45:08 GMT</pubDate>
      <guid>https://macros.antville.org/stories/246588/</guid>
      <dc:creator>robert</dc:creator>
      <dc:date>2003-01-03T10:45:08Z</dc:date>
    </item>
  </channel>
</rss>

