<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tangled Helix &#187; textpattern</title>
	<atom:link href="http://tangledhelix.com/archive/tag/textpattern/feed" rel="self" type="application/rss+xml" />
	<link>http://tangledhelix.com</link>
	<description>I like big fonts and I can not lie</description>
	<lastBuildDate>Mon, 06 Sep 2010 02:12:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>txp:dml_rand_masthead</title>
		<link>http://tangledhelix.com/archive/txp-dml-rand-masthead</link>
		<comments>http://tangledhelix.com/archive/txp-dml-rand-masthead#comments</comments>
		<pubDate>Wed, 02 Aug 2006 17:56:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://stage.tangledhelix.com/archive/txp-dml-rand-masthead</guid>
		<description><![CDATA[I wanted to use a random, rotating image as my site&#8217;s masthead and there was no simple way to do this in Textpattern. Initially I wrote a form with custom PHP code, including the Textpattern config, connecting to the database, doing a query&#8230; it seemed messy. So I started over and decided to do it [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted to use a random, rotating image as my site&#8217;s masthead and there was no simple way to do this in Textpattern. Initially I wrote a form with custom PHP code, including the Textpattern config, connecting to the database, doing a query&#8230; it seemed messy. So I started over and decided to do it as a plugin.</p>

<p>To install:</p>

<ol>
<li>Download the plugin file (see link below)</li>
<li>Go to Textpattern&#8217;s admin tab</li>
<li>Go to the plugins tab</li>
<li>Paste the contents of the downloaded file into the text box and click upload.</li>
<li>Once the plugin shows up in the list, you&#8217;ll have to click &#8216;no&#8217; in the Active column to change it to &#8216;yes&#8217;; then the plugin will be active.</li>
</ol>

<p>To use:</p>

<ol>
<li>Upload your masthead images using Textpattern&#8217;s image system. Put them all into the same category. I&#8217;ll use &#8220;site-masthead&#8221; as an example.</li>
<li>Where you want the masthead to appear, add the tag <code>&lt;txp:dml_rand_masthead category="site-masthead" /&gt;</code></li>
</ol>

<p>By default, the link will be built so that the tool tip is &#8220;Go to main page.&#8221; You can change this to any value you want by adding the <code>linktext</code> attribute, e.g.: <code>&lt;txp:dml_rand_masthead category="site-masthead" linktext="Return to home page"/&gt;</code></p>

<p>You can also give the <code>class="classname"</code> attribute to attach a CSS class to the masthead.</p>

<p>Download <a href='/wp-content/uploads/2006/08/dml_rand_masthead-0.5.txt'>dml_rand_masthead-0.5.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tangledhelix.com/archive/txp-dml-rand-masthead/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>txp:dml_article_thumb</title>
		<link>http://tangledhelix.com/archive/txp-dml-article-thumb</link>
		<comments>http://tangledhelix.com/archive/txp-dml-article-thumb#comments</comments>
		<pubDate>Sun, 19 Feb 2006 21:34:00 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[textpattern]]></category>

		<guid isPermaLink="false">http://stage.tangledhelix.com/archive/txp-dml-article-thumb</guid>
		<description><![CDATA[Textpattern provides the &#60;txp:article_image /&#62; tag, which I use in the templates for the majority of posts on my site. However, for some reason it doesn&#8217;t provide an equivalent tag for the thumbnail version of an article image. Since I use thumbnails in my RSS feed, this was problematic for me. This plugin was my [...]]]></description>
			<content:encoded><![CDATA[<p>Textpattern provides the <code>&lt;txp:article_image /&gt;</code> tag, which I use in the templates for the majority of posts on my site. However, for some reason it doesn&#8217;t provide an equivalent tag for the thumbnail version of an article image. Since I use thumbnails in my RSS feed, this was problematic for me. This plugin was my answer to the problem.</p>

<p>To install:</p>

<ol>
<li>Download the plugin file (see link below)</li>
<li>Go to Textpattern&#8217;s admin tab</li>
<li>Go to the plugins tab</li>
<li>Paste the contents of the downloaded file into the text box and click upload.</li>
<li>Once the plugin shows up in the list, you&#8217;ll have to click &#8216;no&#8217; in the Active column to change it to &#8216;yes&#8217;; then the plugin will be active.</li>
</ol>

<p>To use:</p>

<ol>
<li>Make sure your article has an article image assigned. The article image is listed under the advanced options.</li>
<li>Put a <code>&lt;txp:dml_article_thumb /&gt;</code> tag where you want the thumbnail to appear.</li>
</ol>

<p>The article image should be the image&#8217;s ID number <em>only</em>. Don&#8217;t add a file extension or anything, just the ID, i.e. 52. To put the full size image into the article, use <code>&lt;txp:article_image /&gt;</code>.</p>

<p>Download <a href='/wp-content/uploads/2006/02/dml_article_thumb-0.6.txt'>dml_article_thumb-0.6.txt</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tangledhelix.com/archive/txp-dml-article-thumb/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
