<?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>quirm.net &#187; class</title>
	<atom:link href="http://quirm.net/tag/class/feed/" rel="self" type="application/rss+xml" />
	<link>http://quirm.net</link>
	<description>wordpress &#38; web design</description>
	<lastBuildDate>Wed, 01 Feb 2012 17:39:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Accessible Calendar Class</title>
		<link>http://quirm.net/2008/10/02/accessible-calendar-class/</link>
		<comments>http://quirm.net/2008/10/02/accessible-calendar-class/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 10:04:49 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[calender]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=174</guid>
		<description><![CDATA[A simple PHP class which displays an accessible calendar for the month selected and returns the selected date as a unix timestamp which can then be passed to a secondary script of your choosing for processing. Usage list($cal_heading,$cal_month) = $calendar-&#62;displaycal($cal_date,$cal_page); Returns http://www.your_domain/path/?sel_date=unix_timestamp_for_date_selected If a null selected date is provided (e.g. when the calendar is initially&#8230;]]></description>
			<content:encoded><![CDATA[<p>A simple PHP class which displays an accessible calendar for the month selected and returns the selected date as a unix timestamp which can then be passed to a secondary script of your choosing for processing.</p>
<p><span id="more-174"></span></p>
<h3>Usage</h3>
<p><code>list($cal_heading,$cal_month) = $calendar-&gt;displaycal($cal_date,$cal_page);</code></p>
<h3>Returns</h3>
<p><code>http://www.your_domain/path/?sel_date=unix_timestamp_for_date_selected</code></p>
<p>If a null selected date is provided (e.g. when the calendar is initially called) the current unix timestamp is used as the selected date.</p>
<p><img src="http://quirm.net/wp-content/uploads/2008/10/calender.png" alt="" title="calender" width="300" height="222" class="aligncenter size-full wp-image-173" /></p>
<h3>Downloads</h3>
Note: There is a file embedded within this post, please visit this post to download the file.
<h3>Support</h3>
<p>Available via the Quirm.net forum.</p>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2008/10/02/accessible-calendar-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sphidermap Class</title>
		<link>http://quirm.net/2008/10/02/sphidermap-class/</link>
		<comments>http://quirm.net/2008/10/02/sphidermap-class/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 09:59:57 +0000</pubDate>
		<dc:creator>rich</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[class]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://quirm.net/?p=169</guid>
		<description><![CDATA[A PHP class which uses Sphider&#8217;s sites and links tables to create a site map for a single site. Returns a nested definition list (with an overall id of &#8216;sitemap&#8217;) with each top-level section followed by a list of pages in that section in the form: &#60;dl id="sitemap"&#62; &#60;dt&#62;&#60;a href="#"&#62;Home&#60;/a&#62;&#60;/dt&#62; &#60;dd&#62;&#60;dl&#62; &#60;dt&#62;&#60;a href="#"&#62;Section 1&#60;/a&#62;&#60;/dt&#62; &#60;dd&#62;&#60;ul&#62;&#8230;]]></description>
			<content:encoded><![CDATA[<p>A <abbr title="PHP Hypertext Preprocessor">PHP</abbr> class which uses <a href="http://cs.ioc.ee/%7Eando/sphider/">Sphider&#8217;s</a> <code>sites</code> and <code>links</code> tables to create a site map for a single site.</p>
<p><span id="more-169"></span></p>
<p>Returns a nested definition list (with an overall id of &#8216;sitemap&#8217;) with each top-level section<br />
followed by a list of pages in that section in the form:</p>
<pre><code>&lt;dl id="sitemap"&gt;
&lt;dt&gt;&lt;a href="#"&gt;Home&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;dl&gt;
&lt;dt&gt;&lt;a href="#"&gt;Section 1&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;ul&gt;
&lt;li&gt;&lt;a href="#"&gt;Page 1&lt;/a&gt;&lt;/li&gt;
[...]
&lt;/ul&gt;&lt;dd&gt;
[...]
&lt;/dl&gt;&lt;/dd&gt;
&lt;/dl&gt;
</code></pre>
<p>Place within sphider <code>includes</code> directory.<br />
Call in a page named <code>sitemap.php</code>, <code>site-map.php</code>, <code>SiteMap.php</code> or <code>Site-Map.php</code></p>
<p>Usage:</p>
<pre><code> $sitemap = new SphiderMap;
    $output = $sitemap-&gt;sphidermap($base,$exts,$email,$toremove);
    foreach($output as $listing) {
        echo $listing;
    }
</code></pre>
<p>where:</p>
<dl>
<dt><code>$base</code></dt>
<dd>Base <abbr title="Uniform Resource Locator">URL</abbr> of site &#8211; also used to create the Home link</dd>
<dt><code>$exts</code></dt>
<dd>file extensions to be included (eg. &#8216;php&#8217; etc)</dd>
<dt><code>$email</code></dt>
<dd>email address for errors</dd>
<dt><code>$toremove</code></dt>
<dd>Repetitive text to be removed from any displayed link text</dd>
</dl>
<p>Use your <code>robots.txt</code> file to exclude Sphider from indexing specific pages or directories.</p>
<p>Tested on Sphider Version 1.2.x</p>
<p><strong>NOTE:</strong> The class assumes that the index page within each site section will be &#8216;index&#8217;+file extension<br />
eg. <code>http://www.mysite.com/foo/index.php</code></p>
<p><strong>WARNING:</strong> The class will not pick up links with an _ (underscore) in a top-level filename as MySQL rejects queries that include underscore as part of a regular expression.</p>
<p>A sample sitemap page is included in the download.</p>
<h3>Downloads</h3>
<ul>
<li>Note: There is a file embedded within this post, please visit this post to download the file.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://quirm.net/2008/10/02/sphidermap-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

