<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"   >
<channel>
<title>AutomaticOnlineShop - Template Variables</title>
<link>http://automaticonlineshop.com/</link>
<description>The AutomaticOnlineShop enables you to instantly sell millions of products without the need of any support, logisticts and the like.</description>
<pubDate>Wed, 08 Sep 2010 04:13:46 +0100</pubDate>
<lastBuildDate>Wed, 08 Sep 2010 04:13:46 +0100</lastBuildDate>
<language>en</language>
<webMaster>info@automaticonlineshop.com (Stephan Helbig)</webMaster>
<generator>nexecutive RSS Generator (http://nexecutive.de)</generator>
<item>
<title>Template Variables</title>
<link>http://automaticonlineshop.com/template_variables.php</link>
<guid>http://automaticonlineshop.com/template_variables.php</guid>
<category>Template Variables</category>
	<pubDate>Thu, 01 Jan 1970 01:00:00 +0100</pubDate>
<description><![CDATA[<h1 class="contenth1"  >Template Variables</h1><h2 class="contenth2"  >Header and Footer Variables</h2><div style="padding-left: 25px;"><a id="paragraph_5350" name="5350_ltNeuerArtikelgt"></a><p><font face="Arial,Helvetica" style="font-size:12px;">The header- and footer variables can be used in the regular templates for the homepage and the results pages.</font><br /><br /><font face="Arial,Helvetica" style="font-size:12px;">These variables will work in the following files</font><br /><li><font face="Arial,Helvetica" style="font-size:12px;">homepage_header_template.htm</font></li><li><font face="Arial,Helvetica" style="font-size:12px;">homepage_footer_template.htm</font></li><li><font face="Arial,Helvetica" style="font-size:12px;">result_header_template.htm</font></li><li><font face="Arial,Helvetica" style="font-size:12px;">result_footer_template.htm</font></li></p></div><h3>{myKeyword}</h3>
<p>Example:</p><pre>Test Keyword</pre>
<p class="description">The html-encoded keyword. Use this within the visible part of your website.</p>
<br/>
<h3>{urlKeyword}</h3>
<p>Example:</p><pre>Test_Keyword</pre>
<p class="description">The url-encoded keyword. Use this to link to results pages within your AOS.</p>
<br/>
<h3>{dashedKeyword}</h3>
<p>Example:</p><pre>Test-Keyword</pre>
<p class="description">The url-encoded keyword with all special characters replaced with dashes instead of underscores.</p>
<br/>
<h3>{fillgquery}</h3>
<p>Example:</p><pre>Test+Keyword</pre>
<p class="description">The url-encoded keyword with all blank spaces replaced with plus-signs instead of underscores.</p>
<br/>
<h3>{q}</h3>
<p>Example:</p><pre>Test Keyword</pre>
<p class="description">The unparsed keyword as submitted.</p>
<br/>
<h3>{metaKeyword}</h3>
<p>Example:</p><pre>Test Keyword</pre>
<p class="description">The keyword prepared for use in meta-tags.</p>
<br/>

<h3>{metaPlainKeyword}</h3>
<p>Example:</p><pre>Test Keyword</pre>
<p class="description">The keyword prepared for use in meta-tags with all special characters replaced with blank spaces.</p>
<br/>

<h3>{titlePrefix}</h3>
<p>Example:</p><pre>Your Domain</pre>
<p class="description">A prefix used in the result titles. This can be changed in the rr_conf.php file.</p>
<br/> 
<h3>{titlePostfix}</h3>
<p>Example:</p><pre> - Compare Prices and Buy at lowest Price</pre>
<p class="description">A postfix used in the result titles. This can be changed in the rr_conf.php file.</p>
<br/>
<h3>{titlePage}</h3>
<p>Example:</p><pre>Page 2</pre>
<p class="description">Outputs a verbal page number for use after the keyword in your result-titles to avoid duplicate titles for different pages of the same keyword.</p>
<br/>

<h3>{pureDomain}</h3>
<p>Example:</p><pre>yourdomain</pre>
<p class="description">Your pure domain without www and without the top level domain.</p>
<br/>
<h3>{pureDomainTld}</h3>
<p>Example:</p><pre>yourdomain.com</pre>
<p class="description">Your domain without www but with your top level domain.</p>
<br/>
<h3>{http}</h3>
<p>Example:</p><pre>http://</pre>
<p class="description">Either http:// or https://</p>
<br/>
<h3>{myDomain}</h3>
<p>Example:</p><pre>yourdomain.com/aos</pre>
<p class="description">The absolute path to your AOS installation (includnig any subfolder or subdomain if present). There is no trailing slash.</p>
<br/>

<h3>{refine_search}</h3>
<p>Example:</p><pre>0</pre>
<p class="description">Either 0 or 1 depending on the search mode. Will be 1 if search refinements are set by the user. Otherwise it will be 0. This can be used in hidden input fields.</p>
<br/>
<h3>{languCode}</h3>
<p>Example:</p><pre>en</pre>
<p class="description">The language code set up in your rr_config.php file.</p>
<br/>
<h3>{urlPage}</h3>
<p>Example:</p><pre>page2/</pre>
<p class="description">The url adder to reference the current results-page.</p>
<br/>
<h3>{PHP_SELF}</h3>
<p>Example:</p><pre>/index.php</pre>
<p class="description">The exact value of the current $PHP_SELF variable.</p>
<br/>

<h3>{rssResultButton}</h3>
<p>Example:</p><pre></pre>
<p class="description"></p>
<br/>

<h3>{topProductClicks}</h3>
<p>Example:</p><pre>&lt;div id="aos_product_clicks_top"&gt;
	&lt;p&gt;
		&lt;strong&gt;Popular products:&lt;/strong&gt;
		&lt;a href="http://yourdomain.com/rss:popular_products/"&gt;
			&lt;img style="border:0;" src="http://yourdomain.com/images/rss.gif" alt="Generate popular products as RSS" title="Generate popular products as RSS" /&gt;
		&lt;/a&gt;
	&lt;/p&gt;
	&lt;ul&gt;
		&lt;li class="query"&gt;
			&lt;a href="http://yourdomain.com/openeurl/page0/" title="Test-Keyword"&gt;
				Test-Keyword
			&lt;/a&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;div style='clear:both'&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p class="description">Lists the most clicked products and directly links to the lead page of the suiting advertiser.</p>
<br/>
<h3>{topQueries}</h3>
<p>Example:</p><pre>&lt;div id="aos_product_search_queries_top"&gt;&lt;p&gt;
	&lt;strong&gt;Top product queries:&lt;/strong&gt;
	&lt;a href="http://yourdomain.com/rss:top_product_queries/"&gt;
		&lt;img style="border:0;" src="http://yourdomain.com/images/rss.gif" alt="Generate top product queries as RSS" title="Generate top product queries as RSS" /&gt;
	&lt;/a&gt;
	&lt;/p&gt;
	&lt;ul&gt;
		&lt;li class="query"&gt;
			&lt;a href="http://yourdomain.com/Test-Keyword/" title="find products related to Test-Keyword"&gt;
				Test-Keyword
			&lt;/a&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;div style='clear:both'&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p class="description">Lists your best performing keywords. The order is conversions descending,clicks descending, views descending.</p>
<br/>
<h3>{lastQueries}</h3>
<p>Example:</p><pre>&lt;div id="aos_product_search_queries_last"&gt;
	&lt;p&gt;&lt;strong&gt;Last product queries:&lt;/strong&gt;
	&lt;a href="http://yourdomain.com/rss:last_product_queries/"&gt;
		&lt;img style="border:0;" src="http://yourdomain.com/images/rss.gif" alt="Generate top product queries as RSS" title="Generate top product queries as RSS" /&gt;
	&lt;/a&gt;
	&lt;/p&gt;
	&lt;ul&gt;
		&lt;li class="query"&gt;
			&lt;a href="http://yourdomain.com/Test-Keyword/" title="find products related to Test-Keyword"&gt;
				Test-Keyword
			&lt;/a&gt;
		&lt;/li&gt;
	&lt;/ul&gt;
	&lt;div style='clear:both'&gt;&lt;/div&gt;
&lt;/div&gt;</pre>
<p class="description">Lists the last-searched-for keywords in your AOS.</p>
<br/><h2 class="contenth2"  >Single result variables</h2><div style="padding-left: 25px;"><a id="paragraph_5352" name="5352_ltNeuerArtikelgt"></a><p><font face="Arial,Helvetica" style="font-size:12px;">The single result variables can be used in the <b>single_result_template.htm</b> file. This file will be used for each product on your results page seperately. So in most cases it will be included 10 times per result page.</font><br /></p></div>
<h3>{product_price}</h3>
<p>Example:</p><pre>99</pre>
<p class="description">The product price excluding the currency.</p>
<br/>
<h3>{product_description}</h3>
<p>Example:</p><pre>Example &lt;strong&gt;product&lt;/strong&gt; description.</pre>
<p class="description">The product description as provided by the advertiser.</p>
<br/>		
<h3>{product_pure_description}</h3>
<p>Example:</p><pre>Example product description.</pre>
<p class="description">The product description with all html-tags stripped.</p>
<br/>
<h3>{product_url}</h3>
<p>Example:</p><pre>http://yourdomain.com/aos/openeurl/page2/12345/</pre>
<p class="description">The tracking link to the current product.</p>
<br/>
<h3>{product_image}</h3>
<p>Example:</p><pre>http://some-advertiser.com/absolute-image-url.gif</pre>
<p class="description">The absolute url to the product image.</p>
<br/>
<h3>{product_name}</h3>
<p>Example:</p><pre>Example product</pre>
<p class="description">The product name as provided by the advertiser.</p>
<br/>
<h3>{product_advertiser}</h3>
<p>Example:</p><pre>Some Advertiser</pre>
<p class="description">The business name of the offering advertiser.</p>
<br/>
<h3>{product_currency}</h3>
<p>Example:</p><pre>USD</pre>
<p class="description">The currency of the product.</p>
<br/>
<h3>{product_compare_price_link}</h3>
<p>Example:</p><pre>
&lt;a href="http://yourdomain.com/aos/upc:12345/" title="Example Product"&gt;Compare Price&lt;/a&gt;
</pre>
<p class="description">A direct link to compare the price of the product. This link will only show if there is a valid upc or isbn for the product. Results will only show if there are at least two matching products.</p>
<br/>]]></description>
</item>
</channel>
</rss>
