<?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>w3it.org - Internet Helper Blog &#187; Do you know?</title>
	<atom:link href="http://www.w3it.org/blog/category/do-you-know/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.w3it.org/blog</link>
	<description>help for internet people</description>
	<lastBuildDate>Tue, 04 May 2010 17:01:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Timestamp, Date, time, and timestamp format specifiers</title>
		<link>http://www.w3it.org/blog/2009/07/06/timestamp-date-time-and-timestamp-format-specifiers/</link>
		<comments>http://www.w3it.org/blog/2009/07/06/timestamp-date-time-and-timestamp-format-specifiers/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 18:42:26 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know?]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[timestamp]]></category>
		<category><![CDATA[timestamp composition]]></category>
		<category><![CDATA[timestamp explaination]]></category>
		<category><![CDATA[timestamp format]]></category>
		<category><![CDATA[timestamp how to]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=227</guid>
		<description><![CDATA[An item of type TIMESTAMP is a series of one to twenty single-byte numeric digits that reflect a specific moment. The meaning of each digit is determined by the mask that you specify when declaring the item.
The following characters are available, in order, when you specify the mask: 

yyyy
Four digits that represent the year. The [...]]]></description>
			<content:encoded><![CDATA[<p>An item of type TIMESTAMP is a series of one to twenty single-byte numeric digits that reflect a specific moment. The meaning of each digit is determined by the mask that you specify when declaring the item.</p>
<div>The following characters are available, in order, when you specify the mask: <span id="more-227"></span>
<dl>
<dt><em>yyyy</em></dt>
<dd>Four digits that represent the year. The range is 0000 to 9999.</dd>
<dt><em>MM</em></dt>
<dd>Two digits that represent the month. The range is 01 to 12. </dd>
<dt><em>dd</em></dt>
<dd>Two digits that represent the day. The range is 01 to 31.</dd>
<dt><em>HH</em></dt>
<dd>Two digits that represent the hour. The range is 00 to 23.</dd>
<dt><em>mm</em></dt>
<dd>Two digits that represent the minute. The range is 00 to 59.</dd>
<dt><em>ss</em></dt>
<dd>Two digits that represent the second. The range is 00 to 59.</dd>
<dt><em>f</em></dt>
<dd>Zero to six digits that each represent a fraction of seconds; the first represents tenths, the second represents hundreds, and so on.</dd>
</dl>
</div>
<p><strong>The default mask is <em>yyyyMMddHHmmss</em>.</strong></p>
<h3>Date, time, and timestamp format specifiers</h3>
<div>
<p>The formats<br />
of dates, times, and timestamps are specified by a pattern of letters, each<br />
representing a component of the date or time. These characters are case-sensitive,<br />
and all letters from <samp class="codeph">a</samp> to <samp class="codeph">z</samp> and from <samp class="codeph">A</samp> to <samp class="codeph">Z</samp> parse<br />
to a component of the date or time.</p>
<p>To display letters in the date, time, or timestamp without that text being<br />
parsed as a component of the date or time, enclose that letter or letters<br />
in single quotes. To display a single quote in the date, time, or timestamp,<br />
use two single quotes.</p>
<p>The following table lists the letters and their values in a date, time,<br />
or timestamp pattern.</p>
<div class="tablenoborder">
<table border="1" cellspacing="0" cellpadding="4" frame="border" rules="all">
<thead>
<tr>
<th id="d0e35" valign="top">Letter</th>
<th id="d0e37" valign="top">Date or time component</th>
<th id="d0e39" valign="top">Type</th>
<th id="d0e41" valign="top">Examples</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="bottom">G</td>
<td valign="bottom">Era designator</td>
<td valign="bottom">Text</td>
<td valign="bottom">AD</td>
</tr>
<tr>
<td valign="bottom">y</td>
<td valign="bottom">Year</td>
<td valign="bottom">Year</td>
<td valign="bottom">1996; 96</td>
</tr>
<tr>
<td valign="bottom">M</td>
<td valign="bottom">Month in year</td>
<td valign="bottom">Month</td>
<td valign="bottom">July; Jul; 07</td>
</tr>
<tr>
<td valign="bottom">w</td>
<td valign="bottom">Week in year</td>
<td valign="bottom">Number</td>
<td valign="bottom">27</td>
</tr>
<tr>
<td valign="bottom">W</td>
<td valign="bottom">Week in month</td>
<td valign="bottom">Number</td>
<td valign="bottom">2</td>
</tr>
<tr>
<td valign="bottom">D</td>
<td valign="bottom">Day in year</td>
<td valign="bottom">Number</td>
<td valign="bottom">189</td>
</tr>
<tr>
<td valign="bottom">d</td>
<td valign="bottom">Day in month</td>
<td valign="bottom">Number</td>
<td valign="bottom">10</td>
</tr>
<tr>
<td valign="bottom">F</td>
<td valign="bottom">Day of week in month</td>
<td valign="bottom">Number</td>
<td valign="bottom">2</td>
</tr>
<tr>
<td valign="bottom">E</td>
<td valign="bottom">Day in week</td>
<td valign="bottom">Text</td>
<td valign="bottom">Tuesday; Tue</td>
</tr>
<tr>
<td valign="bottom">a</td>
<td valign="bottom">AM/PM marker</td>
<td valign="bottom">Text</td>
<td valign="bottom">PM</td>
</tr>
<tr>
<td valign="bottom">H</td>
<td valign="bottom">Hour in day (0-23)</td>
<td valign="bottom">Number</td>
<td valign="bottom">0</td>
</tr>
<tr>
<td valign="bottom">k</td>
<td valign="bottom">Hour in day (1-24)</td>
<td valign="bottom">Number</td>
<td valign="bottom">24</td>
</tr>
<tr>
<td valign="bottom">K</td>
<td valign="bottom">Hour in AM/PM (0-11)</td>
<td valign="bottom">Number</td>
<td valign="bottom">0</td>
</tr>
<tr>
<td valign="bottom">h</td>
<td valign="bottom">Hour in AM/PM (1-12)</td>
<td valign="bottom">Number</td>
<td valign="bottom">12</td>
</tr>
<tr>
<td valign="bottom">m</td>
<td valign="bottom">Minute in hour</td>
<td valign="bottom">Number</td>
<td valign="bottom">30</td>
</tr>
<tr>
<td valign="bottom">s</td>
<td valign="bottom">Second in minute</td>
<td valign="bottom">Number</td>
<td valign="bottom">55</td>
</tr>
<tr>
<td valign="bottom">S</td>
<td valign="bottom">Millisecond</td>
<td valign="bottom">Number</td>
<td valign="bottom">978</td>
</tr>
<tr>
<td valign="bottom">z</td>
<td valign="bottom">Time zone</td>
<td valign="bottom">General time zone</td>
<td valign="bottom">Pacific Standard Time; PST; GMT-08:00</td>
</tr>
<tr>
<td valign="bottom">Z</td>
<td valign="bottom">Time zone</td>
<td valign="bottom">RFC 822 time zone</td>
<td valign="bottom">-800</td>
</tr>
<tr>
<td valign="bottom">C</td>
<td valign="bottom">Century</td>
<td valign="bottom">Century</td>
<td valign="bottom">20; 21</td>
</tr>
</tbody>
</table>
</div>
<p>The number of each letter used consecutively in the pattern determines<br />
how that group of letters is interpreted and parsed. The interpretation depends<br />
on the type of letter. Also, the interpretation depends on whether the pattern<br />
is being used for formatting or parsing. The following list describes the<br />
types of letters and how different numbers of those letters affect the interpretation.</p>
<dl>
<dt class="dlterm">Text</dt>
<dd>For formatting, if the number of letters is less than 4, the full form<br />
is used. Otherwise, an abbreviation is used, if available. In parsing, both<br />
forms are accepted, independent of the number of pattern letters.</dd>
</dl>
<dl>
<dt class="dlterm">Number</dt>
<dd>For formatting, the number of pattern letters represents the minimum number<br />
of digits. Zeroes are added to shorter numbers to make them the designated<br />
length. For parsing, the number of pattern letters is ignored unless it is<br />
needed to separate two adjacent fields.</dd>
</dl>
<dl>
<dt class="dlterm">Year</dt>
<dd>For formatting, if the number of pattern letters is 2, the year is truncated<br />
to 2 digits. Otherwise, it is interpreted as the Number type.For parsing,<br />
if the number of pattern letters is not 2, the year is interpreted literally,<br />
regardless of the number of digits. For example, the pattern <samp class="codeph">MM/dd/yyyy</samp> assigned<br />
the value <samp class="codeph">01/11/12</samp> parses to January 11, 12 A.D. The same<br />
pattern assigned the value <samp class="codeph">01/02/3</samp> or <samp class="codeph">01/02/0003</samp> parses<br />
to January 2, 3 A.D. In the same way, the same pattern assigned the value <samp class="codeph">01/02/-3</samp> parses<br />
to January 2, 4 B.C.</p>
<p>For parsing, if the pattern is <samp class="codeph">yy</samp>,<br />
the parser determines the full year relative to the current year. The parser<br />
assumes that the two-digit year is within 80 years before or 20 years after<br />
the time of processing. For example, if the current year is 2004, the pattern <samp class="codeph">MM/dd/yy</samp> assigned<br />
the value <samp class="codeph">01/11/12</samp> parses to January 11, 2012, while the<br />
same pattern assigned the value <samp class="codeph">05/04/64</samp> parses to May 4,<br />
1964.</p>
</dd>
</dl>
<dl>
<dt class="dlterm">Month</dt>
<dd>If the number of pattern letters is 3 or more, the month is interpreted<br />
as the Text type. Otherwise, it is interpreted as the Number type.</dd>
</dl>
<dl>
<dt class="dlterm">General time zone</dt>
<dd>General time zones are interpreted as the Text type if they have names.<br />
For time zones representing a GMT offset value, the following syntax is used:<samp class="codeph">GMTOffsetTimeZone<br />
= GMT <em>Sign</em> <em>Hours</em> : <em>Minutes</em></samp></p>
<dl>
<dt class="dlterm">Sign</dt>
<dd>Either <samp class="codeph">+</samp> or <samp class="codeph">-</samp></dd>
</dl>
<dl>
<dt class="dlterm">Hours</dt>
<dd>A one-digit or two-digit number from 0 to 23. The format is locale independent<br />
and must be taken from the Basic Latin block of the Unicode standard.</dd>
</dl>
<dl>
<dt class="dlterm">Minutes</dt>
<dd>A two-digit number from 00 to 59. The format is locale independent and<br />
must be taken from the Basic Latin block of the Unicode standard.</dd>
</dl>
<p>For parsing, RFC 822 time zones are also accepted.</p>
</dd>
</dl>
<dl>
<dt class="dlterm">RFC 822 time zone</dt>
<dd>For formatting, the RFC 822 4-digit time zone format is used<samp class="codeph">RFC822TimeZone<br />
= <em>Sign</em> <em>TwoDigitHours</em> : <em>Minutes</em></samp></p>
<p><samp class="codeph"><em>TwoDigitHours</em></samp> must<br />
be a two-digit number from 00 to 23. The other definitions are the same as<br />
the General time zone type.</p>
<p>For parsing, General time zones are also<br />
accepted.</p>
</dd>
</dl>
<dl>
<dt class="dlterm">Century</dt>
<dd>Displayed as a Number type that shows the result of the following calculation:<br />
full year divided by 100, with the remainder ignored.</dd>
</dl>
<p>The following table lists some examples of date and time patterns interpreted<br />
in the U.S. locale.</p>
<div class="tablenoborder">
<table border="1" cellspacing="0" cellpadding="4" frame="border" rules="all">
<thead>
<tr>
<th id="d0e361" valign="top">Date and Time Pattern</th>
<th id="d0e363" valign="top">Result</th>
</tr>
</thead>
<tbody>
<tr>
<td valign="bottom"><samp class="codeph">yyyy.MM.dd G &#8216;at&#8217; HH:mm:ss z</samp></td>
<td valign="bottom">2001.07.04 AD at 12:08:56 PDT</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">EEE, MMM d, &#8221;yy </samp></td>
<td valign="bottom">Wed, Jul 4, &#8216;01</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">h:mm a </samp></td>
<td valign="bottom">12:08 PM</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">hh &#8216;o&#8221;clock&#8217; a, zzzz </samp></td>
<td valign="bottom">12 o&#8217;clock PM, Pacific Daylight Time</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">K:mm a, z </samp></td>
<td valign="bottom">0:08 PM, PDT</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">yyyyy.MMMMM.dd GGG hh:mm aaa </samp></td>
<td valign="bottom">02001.July.04 AD 12:08 PM</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">EEE, d MMM yyyy HH:mm:ss Z </samp></td>
<td valign="bottom">Wed, 4 Jul 2001 12:08:56 -0700</td>
</tr>
<tr>
<td valign="bottom"><samp class="codeph">yyMMddHHmmssZ</samp></td>
<td valign="bottom">010704120856-0700</td>
</tr>
</tbody>
</table>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/07/06/timestamp-date-time-and-timestamp-format-specifiers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The &#8220;Portable PHP password hashing framework&#8221; for wordpress</title>
		<link>http://www.w3it.org/blog/2009/06/28/the-portable-php-password-hashing-framework-for-wordpress/</link>
		<comments>http://www.w3it.org/blog/2009/06/28/the-portable-php-password-hashing-framework-for-wordpress/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 12:22:41 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know? (Wordpress tips)]]></category>
		<category><![CDATA[hash wordpress]]></category>
		<category><![CDATA[wordpress password generation]]></category>
		<category><![CDATA[wordpress password hash]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=222</guid>
		<description><![CDATA[The &#8220;Portable PHP password hashing framework&#8221;  is a php class used in wordpress to generate password&#8217;s hash.
It is a separate project, and like many others wordpress features is included/combined in the code to create this blog written/coded by Matt Mullenweg.
The name of this php project is:
Portable PHP password hashing framework  (Openwall Project)

]]></description>
			<content:encoded><![CDATA[<p>The &#8220;Portable PHP password hashing framework&#8221;  is a php class used in wordpress to generate password&#8217;s hash.</p>
<p>It is a separate project, and like many others wordpress features is included/combined in the code to create this blog written/coded by Matt Mullenweg.<span id="more-222"></span></p>
<p>The name of this php project is:</p>
<p><strong><a title="Portable PHP password hashing framework" href="http://www.openwall.com/phpass/" target="_blank">Portable PHP password hashing framework</a> </strong> (Openwall Project)<strong><a title="Portable PHP password hashing framework" href="http://www.openwall.com/phpass/" target="_blank"><br />
</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/06/28/the-portable-php-password-hashing-framework-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zikula SEO &#8211; the meta keywords function hacking</title>
		<link>http://www.w3it.org/blog/2009/06/05/zikula-seo-the-meta-keywords-function-hacking/</link>
		<comments>http://www.w3it.org/blog/2009/06/05/zikula-seo-the-meta-keywords-function-hacking/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 21:06:19 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know? (Zikula tips)]]></category>
		<category><![CDATA[customization zikula keywords]]></category>
		<category><![CDATA[function.keywords.php]]></category>
		<category><![CDATA[hack zikula keywords]]></category>
		<category><![CDATA[keywords]]></category>
		<category><![CDATA[meta keywords]]></category>
		<category><![CDATA[meta tag]]></category>
		<category><![CDATA[seo optimization]]></category>
		<category><![CDATA[zikula]]></category>
		<category><![CDATA[zikula keywords seo]]></category>
		<category><![CDATA[zikula seo]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=197</guid>
		<description><![CDATA[There is an option in Zikula administration control panel that is needed to set the mode on how to display meta keywords for dinamically created pages.
This option can be found  in:  Global Settings Panels -&#62;  Owner Settings -&#62; Dynamic meta-keywords
Scenario SEO and analysis :

By setting on Yes this option you&#8217;ll have meta keywords [...]]]></description>
			<content:encoded><![CDATA[<p>There is an option in Zikula administration control panel that is needed to set the mode on how to display meta keywords for dinamically created pages.</p>
<p>This option can be found  in: <strong> <em>Global Settings Panels -&gt; <span class="pn-menuitem-title"> <span>Owner Settings -&gt; </span></span>Dynamic meta-keywords</em></strong></p>
<p><strong>Scenario SEO and analysis :<br />
</strong></p>
<p>By setting on <em>Yes</em> this option you&#8217;ll have meta keywords generated dynamically for each page and based /extracted on/from his content. More precisely, some functions are taking these words dynamically from articles, comments or from  some other contest, as text, and it will go to be outputted for the requested page.</p>
<p>Under a superficial SEO analysis it can be not so good thing that our site homepage, will have time by time meta tag keywords changed and different because are generated dynamically.<span id="more-197"></span></p>
<p>This can be good for all others CMS pages in our site, that maybe will not go to change so much there contents time by time because are created for a scope (an article, a singular page, a tutorial etc) and will remain untouched  except some addition of comments if there is a feature that allow this. The homepage instead, will go to change in many cases many times, because day by day his content will display in his blocks latest articles, latest forums entries etc.  Keywords dynamically generated for the  Zikula home page will go to be changed for this reason and spiders will find out any visit time, different keywords; in others words,  it depend from what your home page will go to contain: if it will go to contain static contents than the dynamic keywords generation will go to output always the same words list and it is good: the words list will go to change instead, if the page will go to contain updated news etc,  this is not good because your meta keywords list will go to be different each time.</p>
<p>Another SEO analysis, if you look to a dynamically generated keywords words list on Zikula, let we understand that there are many words that are not exactly words:  the function that generate the list let pass also prepositions, grammatical articles, and even single letters if there are some in contents from where keywords list is token/generated, like:  is, i, i&#8217;m.</p>
<p><strong>How to change this for a better SEO your zikula pages</strong></p>
<p>It is possible to apply a little patch to SEO our Zikula,  in this way:</p>
<p>Files to be edited: 2</p>
<p><em>themes/themeName/templates/modules/home.htm</em></p>
<p><em>system/Theme/plugins/function.keywords.php</em></p>
<p>If your Zikula home page contain blocks like latest news, last articles etc. than you&#8217;ll need to edit the <em>home.htm</em> file in this way:</p>
<p>Search for this line of code (near the top)</p>
<blockquote><p>&lt;meta name=&#8221;keywords&#8221; content=&#8221;&lt;!&#8211;[keywords]&#8211;&gt;&#8221; /&gt;</p></blockquote>
<p>change the above instruction that you can find near to the top of the file in the head code declarations (in the Seabrize theme which you can find on any Zikula default download it can be found at line 7 of the <em>home.htm)</em></p>
<blockquote><p>&lt;meta name=&#8221;keywords&#8221; content=&#8221;w3it,php,zikula,seo,hack,tutorial&#8221; /&gt;</p></blockquote>
<p>Of course, change values for the <em>content</em> attribute with terms you need.</p>
<p>On Zikula templates we have the home.htm and the master.htm: the home is used to output the homepage for the used template, the master instead will output all others CMS&#8217;s pages. The configuration for templates on Zikula is normally more than sufficient as is, but there are many others advanced features that can be used to customize templates by adding more layout for different contents . The <em>config</em> folder inside the <em>templates</em> folder of your theme, contain the necessary to add these  layouts instructions, but it is not the only one possibility for Zikula themes (Zikula use <a title="smarty template engine" href="http://www.smarty.net/" target="_blank">Smarty</a> as template engine so you can also use all Smarty features in Zikula): this is not the argument of this tutorial and for this SEO hack modification this is more than what is necessary to know and understand.</p>
<p>Now to avoid the problem of singles letters for keywords list, it is necessary to edit the file <em>function.keywords.php</em></p>
<p>search in the file for this code:</p>
<blockquote><p>if (file_exists($stopword_file)) {<br />
$stopwords = file($stopword_file);<br />
$stopwords = array_map(&#8216;rtrim&#8217;, $stopwords);<br />
$keywords = array_diff($keywords, $stopwords);<br />
}</p></blockquote>
<p>immediately after add this code:</p>
<blockquote><p>$dk = array_keys($keywords);<br />
foreach($dk as $d) {<br />
$ln = strlen($keywords[$d]);<br />
if ($ln &lt; 3) {<br />
unset($keywords[$d]);</p></blockquote>
<p>this will go to eliminate all words composed by less than 3 letters. Change the value of 3 to 4 or 5 if you like to eliminate all words,  for example,  that aren&#8217;t composed of a minimum of 4 or 5 letters (i think 3 or 4 is the best choice).</p>
<p>This is true that there is a file that you can compile and where you can list all unwanted words one by one, but of course this way is more speedy and you can decide to cut off any insignificant word from your dynamic keyword list.</p>
<p>The generated keywords list is also very long in most of pages, which is also not a good SEO choice. It is possible add  this piece of simple code to limit the words number to a certain value (add this immediately after the above code or in place of the above code if you like to add only this part and like to use the external file with unwanted words list):</p>
<blockquote><p><strong> </strong>$ca = array_count_values($keywords);<br />
if( $ca &gt; 45 ){<br />
$keywords = array_slice($keywords, 0, 45); // return output of 45 words</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/06/05/zikula-seo-the-meta-keywords-function-hacking/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Error on wordpress after the auto update: how to solve</title>
		<link>http://www.w3it.org/blog/2009/05/29/wordpress-error-afterauto-update/</link>
		<comments>http://www.w3it.org/blog/2009/05/29/wordpress-error-afterauto-update/#comments</comments>
		<pubDate>Fri, 29 May 2009 19:42:18 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know? (Wordpress tips)]]></category>
		<category><![CDATA[auto update]]></category>
		<category><![CDATA[automatic update]]></category>
		<category><![CDATA[chmod]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[error 500]]></category>
		<category><![CDATA[errore 500 aggiornamento wordpress]]></category>
		<category><![CDATA[wordpress auto update error]]></category>
		<category><![CDATA[wordpress update]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=192</guid>
		<description><![CDATA[There is a feature in wordpress that is very useful: the auto update to the latest version of wordpress when it has been released in a new version. Unfortunately can happen that in change, after that automatic update process has finished, we have error 500 from any blog&#8217;s page. The error 500 can come out [...]]]></description>
			<content:encoded><![CDATA[<p>There is a feature in wordpress that is very useful: the auto update to the latest version of wordpress when it has been released in a new version. Unfortunately can happen that in change, after that automatic update process has finished, we have error 500 from any blog&#8217;s page. The error 500 can come out in wordpress after the automatic update because the process go to renew any single file and setting for each file the CHMOD permission to 644 (only read). <span id="more-192"></span>This can cause the 500 error  and to solve it is only necessary to reset the CHMOD to the correct value for each wp file on your server, which value can be 755 or 777, it depend from your server&#8217;s settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/05/29/wordpress-error-afterauto-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Mediawiki: exadecimal values for archived mysql data</title>
		<link>http://www.w3it.org/blog/2009/05/20/media-wiki-couriosity-exadecimal-values-for-archived-mysql-values/</link>
		<comments>http://www.w3it.org/blog/2009/05/20/media-wiki-couriosity-exadecimal-values-for-archived-mysql-values/#comments</comments>
		<pubDate>Wed, 20 May 2009 21:29:57 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know?]]></category>
		<category><![CDATA[0x]]></category>
		<category><![CDATA[hexadecimal]]></category>
		<category><![CDATA[mediawiki]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=173</guid>
		<description><![CDATA[Many of the values archived on /for the Media Wiki software on a default installation and that constitute the environment data sources for this application written in php are encoded in hexadecimal, so for example the field related to the users options look like this sequence (the string need to be considered on one single [...]]]></description>
			<content:encoded><![CDATA[<p>Many of the values archived on /for the Media Wiki software on a default installation and that constitute the environment data sources for this application written in php are encoded in hexadecimal, so for example the field related to the users options look like this sequence (the string need to be considered on one single line without spaces and tabs: it has been split on several lines to do not breack out html tables):</p>
<p><span id="more-173"></span><br />
<code><span style="color:#FF0000"> 0x</span>717569636b6261723d310a756e6465726c696e653<br />
d320a636f6c733d38300a726f77733d32350a<br />
7365617263686c696d69743d32300a636f6e7<br />
46578746c696e65733d350a636f6e74657874<br />
63686172733d35300a64697361626c6573756<br />
7676573743d300a736b696e3d0a6d6174683d<br />
310a7573656e657772633d300a72636461797<br />
33d370a72636c696d69743d35300a776c6c69<br />
6d69743d3235300a686964656d696e6f723d30<br />
0a686967686c6967687462726f6b656e3d310a<br />
737475627468726573686f6c643d300a707265<br />
766965776f6e746f703d310a707265766965776<br />
f6e66697273743d300a6564697473656374696f<br />
6e3d310a6564697473656374696f6e6f6e72696<br />
76874636c69636b3d300a656469746f6e64626<br />
c636c69636b3d300a6564697477696474683d3<br />
00a73686f77746f633d310a73686f77746f6f6c6<br />
261723d310a6d696e6f7264656661756c743d3<br />
00a646174653d64656661756c740a696d61676<br />
573697a653d320a7468756d6273697a653d320<br />
a72656d656d62657270617373776f72643d300<br />
a6e6f63616368653d300a646966666f6e6c793d<br />
300a73686f7768696464656e636174733d300a<br />
6e6f726f6c6c6261636b646966663d300a656e6<br />
f74696677617463686c69737470616765733d3<br />
00a656e6f7469667573657274616c6b7061676<br />
5733d310a656e6f7469666d696e6f7265646974<br />
733d300a656e6f74696672657665616c616464<br />
723d300a73686f776e756d6265727377617463<br />
68696e673d310a66616e63797369673d300a65<br />
787465726e616c656469746f723d300a657874<br />
65726e616c646966663d300a666f7263656564<br />
697473756d6d6172793d300a73686f776a756d<br />
706c696e6b733d310a6a7573746966793d300a<br />
6e756d62657268656164696e67733d300a7573<br />
656c697665707265766965773d300a77617463<br />
686c697374646179733d330a657874656e6477<br />
617463686c6973743d300a77617463686c6973<br />
74686964656d696e6f723d300a77617463686c<br />
69737468696465626f74733d300a7761746368<br />
6c697374686964656f776e3d300a7761746368<br />
6c69737468696465616e6f6e733d300a776174<br />
63686c697374686964656c69753d300a776174<br />
63686372656174696f6e733d300a7761746368<br />
64656661756c743d300a77617463686d6f7665<br />
733d300a776174636864656c6574696f6e3d30<br />
0a6e6f636f6e766572746c696e6b3d300a76617<br />
269616e743d656e0a6c616e67756167653d656<br />
e0a7365617263684e73303d31</code><br />
while this is the text translation of the hexadecimal:</p>
<blockquote><p>quickbar=1<br />
underline=2<br />
cols=80<br />
rows=25<br />
searchlimit=20<br />
contextlines=5<br />
contextchars=50<br />
disablesuggest=0<br />
skin=<br />
math=1<br />
usenewrc=0<br />
rcdays=7<br />
rclimit=50<br />
wllimit=250<br />
hideminor=0<br />
highlightbroken=1<br />
stubthreshold=0<br />
previewontop=1<br />
previewonfirst=0<br />
editsection=1<br />
editsectiononrightclick=0<br />
editondblclick=0<br />
editwidth=0<br />
showtoc=1<br />
showtoolbar=1<br />
minordefault=0<br />
date=default<br />
imagesize=2<br />
thumbsize=2<br />
rememberpassword=0<br />
nocache=0<br />
diffonly=0<br />
showhiddencats=0<br />
norollbackdiff=0<br />
enotifwatchlistpages=0<br />
enotifusertalkpages=1<br />
enotifminoredits=0<br />
enotifrevealaddr=0<br />
shownumberswatching=1<br />
fancysig=0<br />
externaleditor=0<br />
externaldiff=0<br />
forceeditsummary=0<br />
showjumplinks=1<br />
justify=0<br />
numberheadings=0<br />
uselivepreview=0<br />
watchlistdays=3<br />
extendwatchlist=0<br />
watchlisthideminor=0<br />
watchlisthidebots=0<br />
watchlisthideown=0<br />
watchlisthideanons=0<br />
watchlisthideliu=0<br />
watchcreations=0<br />
watchdefault=0<br />
watchmoves=0<br />
watchdeletion=0<br />
noconvertlink=0<br />
variant=en<br />
language=en<br />
searchNs0=1</p></blockquote>
<p>An useful, well done and simple Php function grabbed from <a title="php" href="http://www.php.net/">php.net</a> that convert hexadecimal to binary-string is this:<br />
<code>// Convert a hex-string to binary-string (the way back from bin2hex) - by Chaos79</code><br />
function hex2bin($h)<br />
{<br />
if (!is_string($h)) return null;<br />
$r=&#8221;;<br />
for ($a=0; $a &lt; strlen($h); $a+=2) { $r.=chr(hexdec($h{$a}.$h{($a+1)})); }<br />
return $r;<br />
}</p>
<p>echo bin2hex(&#8216;Hello&#8217;); // result: 48656c6c6f<br />
echo hex2bin(&#8216;48656c6c6f&#8217;); // result: Hello</p>
<p>Note: you need to cut off the initial 0x characters from the passed hexadecimal value or the conversion will return nothing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/05/20/media-wiki-couriosity-exadecimal-values-for-archived-mysql-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress: formatting posts or pages titles</title>
		<link>http://www.w3it.org/blog/2009/01/13/formatting-posts-or-pages-titles/</link>
		<comments>http://www.w3it.org/blog/2009/01/13/formatting-posts-or-pages-titles/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 21:27:34 +0000</pubDate>
		<dc:creator>axew3</dc:creator>
				<category><![CDATA[Do you know? (Wordpress tips)]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wrap]]></category>

		<guid isPermaLink="false">http://www.w3it.org/blog/?p=109</guid>
		<description><![CDATA[Do you know &#8230;
It is possible to format using html code any wordpress post&#8217;s title or page title.
A simple example? We like to wrap a phrase like this exactly in three lines:
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Do you know &#8230;</strong><br />
It is possible to format using html code any wordpress post&#8217;s title or page title.<br />
A simple example? We like to wrap a phrase like this exactly in three lines:</p>
<blockquote><p>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.</p></blockquote>
<p>You can write the sample title in this way:</p>
<blockquote><p>Contrary to popular belief,&#60;br /&#62; Lorem Ipsum is not simply random text. &#60;br /&#62;It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.w3it.org/blog/2009/01/13/formatting-posts-or-pages-titles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

