<?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>Web development blog of SimpleMediaCode.com &#187; JavaScript</title>
	<atom:link href="http://simplemediacode.info/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://simplemediacode.info</link>
	<description>Internet marketing, web development and maintenance of online communication</description>
	<lastBuildDate>Sat, 04 Feb 2012 13:04:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Mini-optimization of statistics / analytics counters on your web page</title>
		<link>http://simplemediacode.info/mini-optimization-of-statistics-analytics-counters-on-your-web-page/</link>
		<comments>http://simplemediacode.info/mini-optimization-of-statistics-analytics-counters-on-your-web-page/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 13:34:20 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Coding web page]]></category>
		<category><![CDATA[analytics code]]></category>
		<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Quantcast]]></category>
		<category><![CDATA[StatCounter.com]]></category>
		<category><![CDATA[web page optimization]]></category>
		<category><![CDATA[Websites optimization]]></category>
		<category><![CDATA[yandex]]></category>
		<category><![CDATA[Yandex Metrika]]></category>
		<category><![CDATA[yandex.ru]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=287</guid>
		<description><![CDATA[<p><img width="250" height="97" src="http://simplemediacode.info/imagesphotos/optimize-javasacript-counters-250x97.png" class="attachment-medium wp-post-image" alt="Mini-optimization of statistics / analytics counters on your web page" title="optimized javasacript counters" align="left" />
Today working on site optimization, made small javascript optimization for several counters on website. Problem: You are using 2-4 statistic counters on Your page. Most of them are using javascript and for noscript mode image (GIF). Solution: Split them and ... <a href="http://simplemediacode.info/mini-optimization-of-statistics-analytics-counters-on-your-web-page/"><strong class="readmore">Mini-optimization of statistics / analytics counters on your web page</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>Today working on site optimization, made small javascript optimization for several counters on website.</p>
<p><strong>Problem</strong>: You are using 2-4 statistic counters on Your page. Most of them are using <em>javascript</em> and for <em><span style="text-decoration: underline;">noscript</span> mode</em> image (GIF).</p>
<p><strong>Solution</strong>: Split them and then merge :)</p>
<h2>Micro optimization for analytics counters</h2>
<p>Most of codes on my site were with one <span style="text-decoration: underline;">inline</span> javascript code, code from counter&#8217;s site and <em>noscript</em> solution.</p>
<h3>Spliting inline javascript counter code</h3>
<p>First You need to examine all statistics codes, because some have some id before included javascript (like <em>Google Analytics</em>, <em>StatCounter.com</em> or <em>Quantcast</em>) and some after (<em>Yandex</em>). So what we need is take all inline javascripts and put them inside <strong><em>&lt;script&gt;</em></strong> tags, them links put all external janasvripts and then again inline javascript for counters, which use inline script after external javascript.</p>
<p>Here is mine for <a target="_blank" title="Web development, WordPress blog customization, PSD to HTML" href="http://simplemediacode.com">SimpleMediaCode.com</a>:</p>
<p style="text-align: center;"><a title="optimized javasacript counters" rel="attachment wp-att-317" href="http://simplemediacode.info/mini-optimization-of-statistics-analytics-counters-on-your-web-page/optimize-javasacript-counters/"><img class="aligncenter size-full wp-image-317" style="border: 0pt none;" title="optimized javasacript counters" src="http://simplemediacode.info/imagesphotos/optimize-javasacript-counters.png" alt="optimized javasacript counters" width="590" height="230" /></a></p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/mini-optimization-of-statistics-analytics-counters-on-your-web-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Final cut for my first WordPress plugin</title>
		<link>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/</link>
		<comments>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 13:17:37 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Facebook.com applications and pages]]></category>
		<category><![CDATA[Social network applications and plugins]]></category>
		<category><![CDATA[WordPress plugins and widgets]]></category>
		<category><![CDATA[draugiem.lv]]></category>
		<category><![CDATA[Extending Social networks]]></category>
		<category><![CDATA[FaceBook.com application]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web applications]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[WordPress widget]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=112</guid>
		<description><![CDATA[<p>More than one month ago I published my first WordPress plugin "Draugiem.lv/lapas fan page" for social network in Latvia draugiem.lv (FRYPE.COM). And now I want to make final cut with version 1.0 (0.1.5) and upgrade it.... <a href="http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/"><strong class="readmore">Final cut for my first WordPress plugin</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>More than one month ago I published my first WordPress plugin &#8220;<a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugin on MediaBox.lv" href="http://mediabox.lv/en/wordpress-plugins/draugiem-lv-lapas-fan-page/">Draugiem.lv/lapas fan page</a>&#8221; for social network in Latvia draugiem.lv (FRYPE.COM). And now I want to make final cut with version 1.0 (0.1.5) and upgrade it.</p>
<p>For now on my To-Do list:</p>
<ol>
<li>make for widget separate administration page,</li>
<li>rewrite <strong>JSON </strong>parsing script from <strong>Javascript </strong>to <strong>PHP</strong>,</li>
<li>and remove counter* and make it optional.</li>
</ol>
<p>*counter reads ONLY clicks on profile and page links, nothing more</p>
<h2>Next on list</h2>
<p>An <strong>FaceBook.com application for pages and profiles</strong>. Now testing.</p>
<p>Download page for WordPress plugin on WordPress.org <a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugins" href="http://wordpress.org/extend/plugins/draugiemlvlapas-fan-page/">http://wordpress.org/extend/plugins/draugiemlvlapas-fan-page/</a></p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/final-cut-for-my-first-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing first public WordPress Plugin (widget)</title>
		<link>http://simplemediacode.info/writing-first-public-wordpress-plugin-widget/</link>
		<comments>http://simplemediacode.info/writing-first-public-wordpress-plugin-widget/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:08:13 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[WordPress plugins and widgets]]></category>
		<category><![CDATA[draugiem.lv]]></category>
		<category><![CDATA[frype]]></category>
		<category><![CDATA[Frype.com]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress MU]]></category>
		<category><![CDATA[WordPress plugin]]></category>
		<category><![CDATA[WordPress widget]]></category>
		<category><![CDATA[WPMU]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=70</guid>
		<description><![CDATA[<p><img width="250" height="225" src="http://simplemediacode.info/imagesphotos/draugiem-lapas-fan-wordpressorg-250x225.jpg" class="attachment-medium wp-post-image" alt="Writing first public WordPress Plugin (widget)" title="draugiem.lv lapas fanu sparudnis wordpress blogiem" align="left" />
Today was first release of  "Draugiem.lv/lapas Fan page" (for non-Latvian draugiem.lv best known as Frype.com) WordPress sidebar widget for FRYPE business pages.... <a href="http://simplemediacode.info/writing-first-public-wordpress-plugin-widget/"><strong class="readmore">Writing first public WordPress Plugin (widget)</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>Today was first release of  &#8220;<strong><a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugins" href="http://wordpress.org/extend/plugins/draugiemlvlapas-fan-page/">Draugiem.lv/lapas Fan page</a></strong>&#8221; (for non-Latvian <em>draugiem.lv</em> best known as <a target="_blank" title="FRYPE" href="http://frype.com"><strong>Frype.com</strong></a>) WordPress sidebar widget for FRYPE business pages.</p>
<h2>About &#8220;<a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugins" href="http://mediabox.lv/en/wordpress-plugins/draugiem-lv-lapas-fan-page/">Draugiem.lv/lapas  Fan page</a>&#8221; WordPress widget</h2>
<blockquote>
<p style="text-align: left;">This plugin makes it easy to add <strong>draugiem.lv/lapas (frype.com) fan page</strong> to sidebar of WordPress blog.</p>
</blockquote>
<p style="text-align: center;"><a title="draugiem.lv lapas fanu sparudnis wordpress blogiem" rel="attachment wp-att-382" href="http://simplemediacode.info/writing-first-public-wordpress-plugin-widget/draugiem-lapas-fan-wordpressorg/"><img class="aligncenter size-medium wp-image-382" style="border: 0pt none;" title="draugiem.lv lapas fanu sparudnis wordpress blogiem" src="http://simplemediacode.info/imagesphotos/draugiem-lapas-fan-wordpressorg-620x559.jpg" alt="draugiem.lv lapas fanu sparudnis wordpress blogiem" width="620" height="559" /></a></p>
<p>Widget <strong>features</strong>: (<a target="_blank" title="Draugiem.lv/lapas Fan page, WordPress Plugins" href="http://mediabox.lv/en/wordpress-plugins/draugiem-lv-lapas-fan-page/">http://mediabox.lv/en/wordpress-plugins/draugiem-lv-lapas-fan-page/</a>)</p>
<ol>
<li>customizable <strong>widget title</strong>,</li>
<li>customizable <strong>width</strong> (included recommended widths from frype.com),</li>
<li>customizable <strong>user count</strong> in sidebar or possibility turn visibility off,</li>
<li> changeable fan pages URL (e.g. http://draugiem.lv/<strong>umbrovskiscom</strong>),</li>
<li><strong>In Your language</strong>. By default included <span style="text-decoration: underline;">Latvian</span> and <span style="text-decoration: underline;">English</span>.</li>
</ol>
<p>This plugin is mainly written for Latvians :) <a target="_blank" title="Draugiem.lv/lapas Fanu lapa WordPress spraudnis" href="http://mediabox.lv/blog/wordpress/spraudni/draugiem-lv-lapas-fanu-lapa/">http://mediabox.lv/blog/wordpress/spraudni/draugiem-lv-lapas-fanu-lapa/</a></p>
<h2>Changelog</h2>
<ul>
<li>0.1.3 (test for upcoming 0.2) Custom CSS</li>
<li>0.1.1 &amp; 0.1.2 code clean up</li>
<li>0.1 initial release</li>
</ul>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/writing-first-public-wordpress-plugin-widget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add Google Buzz button to WordPress and Blogger</title>
		<link>http://simplemediacode.info/how-to-add-google-buzz-button-to-wordpress-and-blogger/</link>
		<comments>http://simplemediacode.info/how-to-add-google-buzz-button-to-wordpress-and-blogger/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 11:49:34 +0000</pubDate>
		<dc:creator>Rolands Umbrovskis</dc:creator>
				<category><![CDATA[Coding web page]]></category>
		<category><![CDATA[Blogger addons]]></category>
		<category><![CDATA[blogspot.com tip]]></category>
		<category><![CDATA[Google Buzz]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://simplemediacode.info/?p=30</guid>
		<description><![CDATA[<p><img width="250" height="59" src="http://simplemediacode.info/imagesphotos/google-buzz-logo-250x59.png" class="attachment-medium wp-post-image" alt="How to add Google Buzz button to WordPress and Blogger" title="google buzz logo" align="left" />
Already some days are working Google Buzz. I made short search on Google for possibility to add Google Buzz button to Blogger template. As I didn't find it on first page, I decide to rewrite some of previous Blogspot template code, which I made earlier. And for WordPress blogs too...... <a href="http://simplemediacode.info/how-to-add-google-buzz-button-to-wordpress-and-blogger/"><strong class="readmore">How to add Google Buzz button to WordPress and Blogger</strong></a></p><p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></description>
			<content:encoded><![CDATA[<p>Already some days are working Google Buzz. I made short search on Google for possibility to add Google Buzz button to Blogger template. As I didn&#8217;t find it on first page, I decide to rewrite some of previous Blogspot template code, which I made earlier.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-362" style="border: 0pt none;" title="google buzz logo" src="http://simplemediacode.info/imagesphotos/google-buzz-logo.png" alt="google buzz logo" width="286" height="68" /></p>
<p>So here it is: (live example: <a target="_blank" title="add Google Buzz button to Blogger template" href="http://mediabox4b.blogspot.com/2010/02/google-buzz-button-in-blogspot-blogger.html">http://mediabox4b.blogspot.com</a>)</p>
<pre class="brush: xml; title: ; notranslate">&lt;a expr:href='&amp;&quot;http://www.google.com/reader/link?url=&amp;quot; + data:post.url + &amp;quot;&amp;amp;title=&amp;&quot; + data:post.title + &amp;quot;&amp;amp;srcTitle=&amp;quot; + data:blog.title+ &amp;quot;&amp;amp;srcURL=&amp;quot; + data:blog.homepageUrl ' rel='nofollow' target='_blank'&gt;+add to Google Buzz&lt;/a&gt;</pre>
<p>put it near data:post.body</p>
<blockquote><p>Made with <a target="_blank" title="Web development, WordPress  freelancer, Blogger templates" href="http://mediabox.lv">MediaBox.lv</a> / <a target="_blank" title="Rolands Umbrovskis" href="http://umbrovskis.com/">Umbrovskis.com</a></p></blockquote>
<p>Where<br />
<strong>url=data:post.url</strong> – post URI,<br />
<strong>title=data:post.title</strong> – post title,<br />
<strong>srcTitle=data:blog.title</strong> – post source, You may also use data:blog.homepageUrl,<br />
<strong>srcURL=data:blog.homepageUrl</strong> – source home page.</p>
<p>And Google Buzz button for WordPress blogs:</p>
<pre class="brush: php; title: ; notranslate">
&lt;a href=&quot;http://www.google.com/reader/link?url=&lt;?php the_permalink() ?&gt;&amp;title=&lt;?php the_title(); ?&gt;&amp;srcTitle=&lt;?php bloginfo('url'); ?&gt;&amp;srcURL=&lt;?php bloginfo('url'); ?&gt;&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;+add to Google Buzz&lt;/a&gt;
</pre>
<p>Put this <span style="text-decoration: underline;">inside</span> <strong>WordPress post loop</strong>.</p>
<p><a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com</a> - <a href="http://simplemediacode.info">Web development blog of SimpleMediaCode.com - Internet marketing, web development and maintenance of online communication</a></p>]]></content:encoded>
			<wfw:commentRss>http://simplemediacode.info/how-to-add-google-buzz-button-to-wordpress-and-blogger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

