<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Generating a &#8216;year-at-a-time&#8217; calendar with calendar.class.php</title>
	<atom:link href="http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/feed/" rel="self" type="application/rss+xml" />
	<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 23 Jun 2010 17:37:21 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Clonix</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-700</link>
		<dc:creator>Clonix</dc:creator>
		<pubDate>Mon, 12 Jan 2009 12:45:05 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-700</guid>
		<description>Hi Adriaan, 

had same probs with de_DE

for your Prob
/* zet de locale op Dutch */
setlocale (LC_ALL, &#039;nld_nld&#039;);
instead of 
setlocale (LC_ALL, &#039;nl_NL&#039;);
may work

greets Clonix</description>
		<content:encoded><![CDATA[<p>Hi Adriaan, </p>
<p>had same probs with de_DE</p>
<p>for your Prob<br />
/* zet de locale op Dutch */<br />
setlocale (LC_ALL, &#8216;nld_nld&#8217;);<br />
instead of<br />
setlocale (LC_ALL, &#8216;nl_NL&#8217;);<br />
may work</p>
<p>greets Clonix</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Mayes</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-13</link>
		<dc:creator>Jim Mayes</dc:creator>
		<pubDate>Tue, 30 Oct 2007 03:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-13</guid>
		<description>The class uses the date function to format all of the dates. In order to localize the dates it would need to be modified to use the strftime() instead. I believe most of the changes would mainly be needed in the output_calendar method for anything roughly based on the Gregorian calendar.

For example line 86 of the class:

&lt;pre class=&quot;brush:php&quot;&gt;
$output .= &quot;&lt;caption&gt;&quot; . date(&quot;F Y&quot;, $month_start_date) . &quot;&lt;/caption&gt;\n&quot;;
&lt;/pre&gt;

That would need to be changed to:
&lt;pre class=&quot;brush:php&quot;&gt;
$output .= &quot;&lt;caption&gt;&quot; . strftime(&quot;%B %Y&quot;, $month_start_date) . &quot;&lt;/caption&gt;\n&quot;;
&lt;/pre&gt;

As I&#039;m not an expert on all the various calendars of the world. I&#039;m sure there may be other issues cased by some of my &quot;hard coded&quot; formating. I am planning to rewrite as much of that code as possible for the next release. With that done, implementing localization might be a trivial task. I&#039;m sure I&#039;ll miss something and create a problem for some local out there, but I&#039;ll certainly give it a try.</description>
		<content:encoded><![CDATA[<p>The class uses the date function to format all of the dates. In order to localize the dates it would need to be modified to use the strftime() instead. I believe most of the changes would mainly be needed in the output_calendar method for anything roughly based on the Gregorian calendar.</p>
<p>For example line 86 of the class:</p>
<pre class="brush:php">
$output .= "
<caption>" . date("F Y", $month_start_date) . "</caption>

\n";
</pre>
<p>That would need to be changed to:</p>
<pre class="brush:php">
$output .= "
<caption>" . strftime("%B %Y", $month_start_date) . "</caption>

\n";
</pre>
<p>As I&#8217;m not an expert on all the various calendars of the world. I&#8217;m sure there may be other issues cased by some of my &#8220;hard coded&#8221; formating. I am planning to rewrite as much of that code as possible for the next release. With that done, implementing localization might be a trivial task. I&#8217;m sure I&#8217;ll miss something and create a problem for some local out there, but I&#8217;ll certainly give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adriaan</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-9</link>
		<dc:creator>Adriaan</dc:creator>
		<pubDate>Sat, 20 Oct 2007 14:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-9</guid>
		<description>Hello i&#039;am trying to get your calendar to work in Dutch....
With something like this....

    /* zet de locale op Dutch */
    setlocale (LC_ALL, &#039;nl_NL&#039;);

    /* Output: vrijdag 22 december 1978 */
    echo strftime (&quot;%A %e %B %Y&quot;, mktime (0, 0, 0, 12, 22, 1978));

but the data from the calendar stay&#039;s in English.
Can help me on my way? Thanks

Here is the example: http://www.2theweb.nl/Concepts/kalender/cal.php

Adriaan</description>
		<content:encoded><![CDATA[<p>Hello i&#8217;am trying to get your calendar to work in Dutch&#8230;.<br />
With something like this&#8230;.</p>
<p>    /* zet de locale op Dutch */<br />
    setlocale (LC_ALL, &#8216;nl_NL&#8217;);</p>
<p>    /* Output: vrijdag 22 december 1978 */<br />
    echo strftime (&#8221;%A %e %B %Y&#8221;, mktime (0, 0, 0, 12, 22, 1978));</p>
<p>but the data from the calendar stay&#8217;s in English.<br />
Can help me on my way? Thanks</p>
<p>Here is the example: <a href="http://www.2theweb.nl/Concepts/kalender/cal.php" rel="nofollow">http://www.2theweb.nl/Concepts/kalender/cal.php</a></p>
<p>Adriaan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim Mayes</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-4</link>
		<dc:creator>Jim Mayes</dc:creator>
		<pubDate>Tue, 09 Oct 2007 15:01:30 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-4</guid>
		<description>My intention really wasn&#039;t to provide a ready made calendar, only to provide a versatile class people could use to generate calendars for their own uses. The class outputs ready to style html, you need to provide the CSS to give it the layout &amp; look that you want. A sample and style sheet is included in the download for the general calendar display. The full year view requires a few additional style rules which can be seen by viewing source on that sample. You are more than welcome to reference my styles for help in creating your own. If I get time in the next day or so, I&#039;ll try to put together a separate download for the year-at-a-time view. Also, if you have specific questions or issues, feel free to ask.</description>
		<content:encoded><![CDATA[<p>My intention really wasn&#8217;t to provide a ready made calendar, only to provide a versatile class people could use to generate calendars for their own uses. The class outputs ready to style html, you need to provide the CSS to give it the layout &#038; look that you want. A sample and style sheet is included in the download for the general calendar display. The full year view requires a few additional style rules which can be seen by viewing source on that sample. You are more than welcome to reference my styles for help in creating your own. If I get time in the next day or so, I&#8217;ll try to put together a separate download for the year-at-a-time view. Also, if you have specific questions or issues, feel free to ask.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Woolfe</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-3</link>
		<dc:creator>Andy Woolfe</dc:creator>
		<pubDate>Tue, 09 Oct 2007 10:46:28 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-3</guid>
		<description>Excellent calender script it is just what i am looking for on my site.
I have tried to load onto my server all of your scripts but my calender doesn&#039;t look like your http://style-vs-substance.com/projects/calendar/example_full_year.php 
am i missing something out is it possible for you to compile all of the parts into 1 downloadable file to make it easier to download?</description>
		<content:encoded><![CDATA[<p>Excellent calender script it is just what i am looking for on my site.<br />
I have tried to load onto my server all of your scripts but my calender doesn&#8217;t look like your <a href="http://style-vs-substance.com/projects/calendar/example_full_year.php" rel="nofollow">http://style-vs-substance.com/projects/calendar/example_full_year.php</a><br />
am i missing something out is it possible for you to compile all of the parts into 1 downloadable file to make it easier to download?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://style-vs-substance.com/calendar-class-php/generating-a-year-at-a-time-calendar-with-calendarclassphp/comment-page-1/#comment-2</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Fri, 28 Sep 2007 01:13:22 +0000</pubDate>
		<guid isPermaLink="false">http://style-vs-substance.com/generating-a-year-at-a-time-calendar-with-calendarclassphp/2007/09/#comment-2</guid>
		<description>Hi,

I just tried out your code and it is just what I have been looking for. Hopefully I can use it in a project I am about to start.

Thanks for sharing.

Will</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I just tried out your code and it is just what I have been looking for. Hopefully I can use it in a project I am about to start.</p>
<p>Thanks for sharing.</p>
<p>Will</p>
]]></content:encoded>
	</item>
</channel>
</rss>
