<?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>Nisi's work blog &#187; HTML</title>
	<atom:link href="http://wiki.nisi.ro/category/programming/websites/html/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiki.nisi.ro</link>
	<description>Nisi's work blog - programing tips</description>
	<lastBuildDate>Mon, 21 Nov 2011 08:43:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Make your own custom Facebook and Twitter share buttons</title>
		<link>http://wiki.nisi.ro/2010/12/make-your-own-custom-facebook-and-twitter-share-buttons/</link>
		<comments>http://wiki.nisi.ro/2010/12/make-your-own-custom-facebook-and-twitter-share-buttons/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 19:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP & MySQL]]></category>
		<category><![CDATA[Website's]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[custom]]></category>
		<category><![CDATA[facebook. twitter]]></category>
		<category><![CDATA[share]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=335</guid>
		<description><![CDATA[Sometimes Share button from Facebook and Twit button from Twitter do not fit in your website/blog. So you design a great Share button Image but how to link it to your own article with title and permalink. For Twitter: - send the visitor to this link: http://twitter.com/share?_=1292093673417&#38;count=horizontal&#38;original_referer=your_page_link_url_encoded&#38;related=your_twitter_account&#38;text=page_title_or_text_html_encoded&#38;url=your_page_link_url_encoded&#38;via=your_twitter_account If you want to implement this in WordPress [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes Share button from Facebook and Twit button from Twitter do not fit in your website/blog. So you design a great Share button Image but how to link it to your own article with title and permalink.</p>
<p><strong><img class="alignnone" src="http://img819.imageshack.us/img819/2433/twitterur.png" alt="" width="24" height="24" /> For Twitter:</strong></p>
<p>- send the visitor to this link: http://twitter.com/share?_=1292093673417&amp;count=horizontal&amp;original_referer=<strong>your_page_link_url_encoded</strong>&amp;related=<strong>your_twitter_account</strong>&amp;text=<strong>page_title_or_text_html_encoded</strong>&amp;url=<strong>your_page_link_url_encoded</strong>&amp;via=<strong>your_twitter_account</strong></p>
<p>If you want to implement this in WordPress just copy this code where your twitter button want to appear:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$twitAccount</span> = <span class="st0">&quot;nisiblogging&quot;</span>; <span class="co1">// change this with your account</span></div>
</li>
<li class="li1">
<div class="de1"><span class="re0">$twitLink</span> = <span class="st0">&quot;http://twitter.com/share?_=1292093673417&amp;amp;count=horizontal&amp;amp;original_referer=&quot;</span>.<a href="http://www.php.net/urlencode"><span class="kw3">urlencode</span></a><span class="br0">&#40;</span>get_permalink<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&quot;&amp;amp;related=&quot;</span>.<span class="re0">$twitAccount</span>.<span class="st0">&quot;&amp;amp;text=&quot;</span>.<a href="http://www.php.net/urlencode"><span class="kw3">urlencode</span></a><span class="br0">&#40;</span>get_the_title<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&quot;&amp;amp;url=&quot;</span>.<a href="http://www.php.net/urlencode"><span class="kw3">urlencode</span></a><span class="br0">&#40;</span>get_permalink<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&quot;&amp;amp;via=&quot;</span>.<span class="re0">$twitAccount</span>;</div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/echo"><span class="kw3">echo</span></a><span class="br0">&#40;</span><span class="st0">&#8216;&lt;a title=&quot;Share on Twitter&quot; href=&quot;&#8217;</span>.<span class="re0">$twit</span>.<span class="st0">&#8216;&quot; target=&quot;_blank&quot;&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0"> &nbsp; &lt;img src=&quot;&#8217;</span>.get_bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;template_url&#8217;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;/images/twitter.png&quot; alt=&quot;&quot; /&gt;</span></div>
</li>
<li class="li2">
<div class="de2"><span class="st0">&lt;/a&gt;&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1"><span class="coMULTI">/*In the current template folder find the subfolder images and copy your Twitter button as twitter.png */</span></div>
</li>
</ol>
</div>
<p><strong><img class="alignnone" src="http://img576.imageshack.us/img576/3114/facebookff.png" alt="" width="24" height="24" /> For Facebook:</strong></p>
<p>- send the visitors to this link: http://www.facebook.com/sharer.php?u=<strong>your_page_link_url_encoded</strong>&amp;t=<strong>page_title_or_text_html_encoded</strong>&amp;src=sp</p>
<p>If you want to implement this in WordPress just copy this code where your Facebook Share button want to appear:</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re0">$fb</span> = <span class="st0">&quot;http://www.facebook.com/sharer.php?u=&quot;</span>.<a href="http://www.php.net/urlencode"><span class="kw3">urlencode</span></a><span class="br0">&#40;</span>get_permalink<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&quot;&amp;amp;t=&quot;</span>.<a href="http://www.php.net/urlencode"><span class="kw3">urlencode</span></a><span class="br0">&#40;</span>get_the_title<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>.<span class="st0">&quot;&amp;amp;src=sp&quot;</span>;</div>
</li>
<li class="li1">
<div class="de1"><a href="http://www.php.net/echo"><span class="kw3">echo</span></a><span class="br0">&#40;</span><span class="st0">&#8216;&lt;a title=&quot;Share on Facebook&quot; href=&quot;&#8217;</span>.<span class="re0">$fb</span>.<span class="st0">&#8216;&quot; target=&quot;_blank&quot;&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;img src=&quot;&#8217;</span>.get_bloginfo<span class="br0">&#40;</span><span class="st0">&#8216;template_url&#8217;</span><span class="br0">&#41;</span>.<span class="st0">&#8216;/images/facebook.png&quot; alt=&quot;&quot; /&gt;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="st0">&lt;/a&gt;&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li2">
<div class="de2"><span class="coMULTI">/*In the current template folder find the subfolder images and copy your Facebook Like button as facebook.png */</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2010/12/make-your-own-custom-facebook-and-twitter-share-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.htaccess &#8211; user guide</title>
		<link>http://wiki.nisi.ro/2008/04/htaccess-user-guide/</link>
		<comments>http://wiki.nisi.ro/2008/04/htaccess-user-guide/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 09:34:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Website's]]></category>

		<guid isPermaLink="false">http://wiki.nisi.ro/?p=17</guid>
		<description><![CDATA[Custom Error pages ErrorDocument 400 http://new-error-page.htm ErrorDocument 401 http://new-error-page.htm ErrorDocument 403 http://new-error-page.htm ErrorDocument 404 http://new-error-page.htm ErrorDocument 500 http://new-error-page.htm Redirects - great if you change your domain or some portion of your site Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html Links: http://www.javascriptkit.com/howto/htaccess.shtml]]></description>
			<content:encoded><![CDATA[<p><br />
<strong>Custom Error pages</strong></p>
<p>ErrorDocument 400 http://new-error-page.htm<br />
ErrorDocument 401 http://new-error-page.htm<br />
ErrorDocument 403 http://new-error-page.htm<br />
ErrorDocument 404 http://new-error-page.htm<br />
ErrorDocument 500  http://new-error-page.htm</p>
<p><strong>Redirects </strong></p>
<p><strong></strong>- great if you change your domain or some portion of your site</p>
<p>Redirect /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html</p>
<p><strong>Links</strong>:</p>
<p><a href="http://www.javascriptkit.com/howto/htaccess.shtml">http://www.javascriptkit.com/howto/htaccess.shtml</a></p>
]]></content:encoded>
			<wfw:commentRss>http://wiki.nisi.ro/2008/04/htaccess-user-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

