<?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>Kept Light&#187; WordPress</title> <atom:link href="http://www.keptlight.com/index.php/tag/wordpress/feed/" rel="self" type="application/rss+xml" /><link>http://www.keptlight.com</link> <description>A. Cemal Ekin on Photography</description> <lastBuildDate>Fri, 03 Feb 2012 17:21:10 +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>WordPress Stats and Quantcast Connection</title><link>http://www.keptlight.com/2011/03/wordpress-stats-and-quantcast-connection/</link> <comments>http://www.keptlight.com/2011/03/wordpress-stats-and-quantcast-connection/#comments</comments> <pubDate>Fri, 04 Mar 2011 14:56:54 +0000</pubDate> <dc:creator>A. Cemal Ekin</dc:creator> <category><![CDATA[All Posts]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.keptlight.com/?p=1018</guid> <description><![CDATA[I have been using WordPress.com Stats plugin on my site, along with other sites that I install and manage. Lately, I have noticed sluggish page loads and tried to find the source of it. The FireBug add-on to Firefox has facilities to show what loads and how fast. Among the scripts that load was one [...]]]></description> <content:encoded><![CDATA[<p>I have been using WordPress.com Stats plugin on my site, along with other sites that I install and manage. Lately, I have noticed sluggish page loads and tried to find the source of it. The FireBug add-on to Firefox has facilities to show what loads and how fast. Among the scripts that load was one from quantserve.com and I knew I had removed the Quantcast script with which I experimented for a while. By trial and error, turning the plugins off and on, I was able to trace the source to WordPress.com Stats. I could not find a reasonable answer by thinking about it, so I posted a forum question on WordPress.org about the matter. In several days no answer came from any source. Then I decided to do a more careful search on the WordPress forum and, sure enough, I found the answer. In a forum thread <a
title="Matt Mullenweg confirms Quantcast script infecting my site" href="http://bit.ly/h935uH" target="_blank">Matt Mullenweg confirmed</a> that they have been collaborating with Quantcast and some undisclosed features would be coming soon.<span
id="more-1018"></span></p><p>This practice disappointed me. WordPress.org and its founder Matt have been the promoters of open-source code under the GPL, and stood on the side of openness and transparency. The inclusion of Quantcast script, which collects traffic information and accumulates it on Quantcast databases, with no disclosure to the users both surprised and disappointed me. What was even more disappointing was Matt&#8217;s nonchalant response &#8220;&#8230;turn off the stats plugin? :)&#8221; (his smiley)</p><p>There is a noticeable slowdown despite Matt&#8217;s claim to the contrary, I validated this on several sites I manage and all showed visible performance increase without the WordPress.com Stats plugin. Needless to say, i disabled and deleted the plugin on this site as well as several others. There are quite a few other options that provide the same or even better data. Until WordPress.com and Matt come clean on this issue, I will not use this plugin nor will I recommend it to my clients.</p><p>My recommendation to you, the reader, if you use self-hosted WordPress you should test this on your site and then decide based on performance issues as well as ethical dimensions. I learned a lesson, even the most trustworthy appearing organizations and individuals may unexpectedly behave in unexpected ways.<em> Caveat emptor!</em></p> ]]></content:encoded> <wfw:commentRss>http://www.keptlight.com/2011/03/wordpress-stats-and-quantcast-connection/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Display Titles of NextGen Gallery Images</title><link>http://www.keptlight.com/2009/04/thumbnail-titles/</link> <comments>http://www.keptlight.com/2009/04/thumbnail-titles/#comments</comments> <pubDate>Wed, 08 Apr 2009 13:28:40 +0000</pubDate> <dc:creator>A. Cemal Ekin</dc:creator> <category><![CDATA[All Posts]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.keptlight.com/?p=494</guid> <description><![CDATA[I use NextGEN Gallery in combination with HighSlide to present a group of images. In between the two is the useful plugin WS-Highslide which embeds the HS code on every page automatically on the fly. On some occasions, especially on sites that I build for others, I want to add a title to the displayed [...]]]></description> <content:encoded><![CDATA[<p>I use NextGEN Gallery in combination with HighSlide to present a group of images. In between the two is the useful plugin WS-Highslide which embeds the HS code on every page automatically on the fly.</p><p>On some occasions, especially on sites that I build for others, I want to add a title to the displayed image for added information. This stumped me for a while as there are no check-boxes or other configuration options in either NGG or HS. A little investigation and reading lead me to the solution of adding the following lines to the HighSlide code into the WS-Higslide configuration script:</p><p>hs.show_caption=&#8221;y&#8221;;<br
/> hs.captionEval = &#8220;this.thumb.title&#8221;;  (this will display the contents of the &#8220;Title&#8221; field in NGG)</p><p>or:<br
/> hs.captionEval = &#8220;this.a.title&#8221;;  (this will display the contents of the &#8220;Caption&#8221; field in NGG)</p><p>I hope this helps others who may be trying to do the same.</p> ]]></content:encoded> <wfw:commentRss>http://www.keptlight.com/2009/04/thumbnail-titles/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Flash with Highslide</title><link>http://www.keptlight.com/2008/11/flash-with-higslide/</link> <comments>http://www.keptlight.com/2008/11/flash-with-higslide/#comments</comments> <pubDate>Sun, 09 Nov 2008 23:29:12 +0000</pubDate> <dc:creator>A. Cemal Ekin</dc:creator> <category><![CDATA[All Posts]]></category> <category><![CDATA[Computer]]></category> <category><![CDATA[WordPress]]></category><guid
isPermaLink="false">http://www.keptlight.com/blog/?p=344</guid> <description><![CDATA[Note: After trying this technique for a week or so, I have found it to be too fragile when editing the post. At any time, because of an accidental opening in the &#8220;Visual&#8221; edit mode you may lose a line or two, crippling the Highslide effect. I am abandoning this idea for the time being, [...]]]></description> <content:encoded><![CDATA[<blockquote><p>Note: After trying this technique for a week or so, I have found it to be too fragile when editing the post. At any time, because of an accidental opening in the &#8220;Visual&#8221; edit mode you may lose a line or two, crippling the Highslide effect. I am abandoning this idea for the time being, experiment at your own risk.</p><p><strong>Better yet, try ShadowBox JS Plugin which integrates very smoothly and transparently with all the image and media links. I consider this post deprecated.</strong></p></blockquote><p>I have been trying to get <a
title="Highslide Web site" href="http://highslide.com/">Highslide</a> integrated into WordPress and NextGen Gallery, I think I have figured out how to use a couple of tools together to make this happen. Mind you, I am not a JavaScript programmer, the code makes but little sense to me, especially one as elaborate as Highslide with much flexibility and capability. This post will outline my method of accomplishing the integration, not necessarily the best method. I am not sure if there is a unique method. I would have much preferred to have a little more plugin assistance but I will get anything I can get in this area. I assume you have already installed NextGen Gallery. If not, go get it and install it and learn what to do with that. I am not writing about how to use NGG, but how to integrate Highslide to display the images from the NGG pool.<span
id="more-344"></span></p><ol><li>Download <a
title="Download WP Highslide" href="http://wordpress.org/extend/plugins/wp-highslide-image-viewer/">WP Highslide</a> and install it just like any other plugin. It will go into your plugins directory and its default directory name is highslide. The actual PHP plugin is a single file that resides inside the highslide directory and there are some other highlside files but not necessarily the version you may need. Visit Highslide site and decide which version you want. Since I was interested in using it to display gallery images and Flash slide shows, I decided to get the &#8220;kitchen sink&#8221; variety. Who knows, I might decide to use it for other purposes too.</li><li>As its instructions indicate, also <a
title="Download Highslide" href="http://highslide.com/">download Highslide</a> from its source. There you have the option of downloading different versions of HS with different set of capabilities.</li><li>Extracting the contents of the Highslide ZIP file, upload its contents to the plugin directory (also named highslide, no surprise there.)</li><li>In WordPress, activate WP Highslide which will place a menu item under &#8220;Settings&#8221; to its control panel. In its control panel, there are some radio-button options that are fairly self explanatory, and a window where you can edit some of the Highslide override parameters. Reading the HS documentation and looking at some samples may help.</li><li>Now in WordPress dashboard, choose &#8220;Gallery&#8221; to access NextGen Gallery settings. There you will need to go to &#8220;Options/Effects&#8221; and from the JavaScript Thumbnail effect drop down list, select Highslide. That&#8217;s all I did.</li><li>At this point, all your NGG images will be displayed using Highslide script with its default settings.</li><li>To integrate a Flash slide show or another SWF file, you need to actually embed a script into your post in the HTML editor. You cannot do this part in the &#8220;Visual&#8221; editor. So, when the time comes to enter the code you must click on the HTML tab and paste the code there.</li><li>Make sure you write everything you want as part of the post, proof read if you like and make it ready for posting except for the necessary code to display the Flash file. When you are ready, click on the HTML tab on top of the editor. Making sure you do not paste the code in the wrong place, go to the very top of the document, press enter to open a blank line and paste it there. Do not switch back to the Visual mode as it may result in your code be trimmed and parts of it to be chopped off.</li><li>Take the following code and paste it to your post at the point you prepared for it. Make sure to replace the domain and file information as well as the HS overlay dimensions to your needs.&lt;script type=&#8221;text/javascript&#8221;&gt;// Apply the Highslide settings<br
/> hs.graphicsDir = &#8216;highslide/graphics/&#8217;;<br
/> hs.outlineType = &#8217;rounded-white&#8217;;<br
/> hs.wrapperClassName = &#8216;draggable-header no-footer&#8217;;<br
/> hs.allowSizeReduction = false;<br
/> // always use this with flash, else the movie will be stopped on close:<br
/> hs.preserveContent = false;</p><p>// 3) Optionally set the swfOptions.<br
/> // See http://highslide.com/ref/hs.swfOptions for full documentation<br
/> /* hs.swfOptions = {<br
/> version:              &#8220;7&#8243;,<br
/> expressInstallSwfurl: null,<br
/> flashvars:            {},<br
/> params:               {},<br
/> attributes:           {}<br
/> }; */<br
/> //</p><p>&lt;/script&gt;</p><p>// The following style block hides some of the controls I do not want</p><p>&lt;style type=&#8221;text/css&#8221;&gt;  .highslide-resize, .highslide-footer, .highslide-controls {display: none;} &lt;/style&gt;<br
/> // The following block actually presents the link to trigger HS<br
/> // Replace the width and height parameters to fit your SWF file<br
/> // You can actually take this block and place it very carefully elsewhere<br
/> &lt;a onclick=&#8221;return hs.htmlExpand(this, { objectType: &#8216;swf&#8217;, width: 700, objectWidth: 700, objectHeight: 500, maincontentText: &#8216;You need to upgrade your Flash player&#8217;  } )&#8221; href=&#8221;http://www.yourdomain.com/yourshow.swf&#8221;&gt;<br
/> Display flash&lt;/a&gt;</li><li>Save your post and preview it. You should see a link like the one below when clicked should trigger Highslide and display your Flash file.</li></ol><p><a
href="http://www.keptlight.com/ssp_shows/ace_photos_640.swf" rel="shadowbox;height=600;width=800">Display flash</a></p><p><a
class="highslide" onclick="return hs.htmlExpand(this, { objectType: 'swf', width: 700, objectWidth: 700, objectHeight: 500, maincontentText: 'Upgrade your Flash player'  } )" href="http://www.keptlight.com/ssp_shows/ace_photos_700x500.swf" rel="shadowbox[sbpost-344];width=1280;height=720;">Display flash</a> (Does not seem to work with IE7, now (11/18/08) with anything! Why? I have no idea.<br
/> Note: As of 12/6/2008 it seems to work with IE7, again, I don&#8217;t know why it oscilates between working and not working. One thing is for sure. If you edit your post with this code in it in the Visual edit mode, WordPress deletes some CSS and/or HTML entities, breaking the functionality. If you accidentally enter the Visual edit, switch to HTML edit mode and leave the page without editing or saving. Then come back again, you will find yourself in the HTML edit mode retaining the integrity of the post code. WordPress has to find a fix for this code trimming, it also deletes DIVs for some reason. I need to read up on this.)</p><p>I am sure some of you who are better (much better) at JavaScript, PHP, and other matters may find my process cumbersome because you can streamline the process. I sure hope someone takes this idea and turns it into a simple to use plugin; or perhaps expand the functionality of existing ones. For embedding Flash into posts I use Kimili Flash Embed, I even wrote to its author to please add Highslide functionality. All these developers are busy people and doing this work for the love of it, many thanks to you all for your contributions to WordPress world.</p><p>If you find easier ways of doing this please let me know. Every time I paste the script and the style components I fear that something would go wrong. So, I saved the above code in a separate post that is not published, that is my backup copy.</p> ]]></content:encoded> <wfw:commentRss>http://www.keptlight.com/2008/11/flash-with-higslide/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic (Requested URI is rejected)

Served from: www.keptlight.com @ 2012-02-04 20:51:34 -->
