<?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>Long Story Short &#187; formatting</title>
	<atom:link href="http://blog.trlong.com/tag/formatting/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.trlong.com</link>
	<description>a place for talkin&#039; story</description>
	<lastBuildDate>Tue, 24 Jan 2012 16:15:04 +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>NextGen Gallery Slideshow</title>
		<link>http://blog.trlong.com/2009/03/nextgen-gallery-slideshow-as-summary-thumbnail/</link>
		<comments>http://blog.trlong.com/2009/03/nextgen-gallery-slideshow-as-summary-thumbnail/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 19:26:15 +0000</pubDate>
		<dc:creator>Tom Long</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[Tree Hugging]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[NextGen Gallery]]></category>
		<category><![CDATA[slideshow]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://blog.trlong.com/?p=482</guid>
		<description><![CDATA[Click for Album In the first post of this series, I talked about my decision-making with regard to how to format my blog. Generally, each post has a left-justified thumbnail with a graphic element. The primary elements include an external &#8230; <a href="http://blog.trlong.com/2009/03/nextgen-gallery-slideshow-as-summary-thumbnail/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 232px;">[[Show as slideshow]]<a href="http://gallery.trlong.com/v/Moku/2009_02_07_Cottage_Moku/" target="_blank">Click for Album</a></div>
<p>In <a href="http://blog.trlong.com/2009/03/working-out-my-format/">the first post</a> of this series, I talked about my decision-making with regard to how to format my blog.  Generally, each post has a left-justified thumbnail with a graphic element.  The primary elements include an <a href="http://blog.trlong.com/2009/03/summary-gallery2-photo-first-template/">external image</a>, a <a href="http://blog.trlong.com/2009/03/summary-video-first-template/">video</a>, or a slideshow of photos that integrated into a NextGen Gallery on my blog.  Typically I create a box (division), using HTML which allows me to control that the contents be left justified on the page, the size of the graphic, and justification of text within the box.  This slideshow illustrates a box <span id="more-482"></span>(division) without border.  The caption is centered using a style option.</p>
<div style="border: 1px solid black; margin: 3px; padding: 3px; text-align: center; float: left; width: 232px;">[[Show as slideshow]]Centered Caption</div>
<p>Here the box (division) is shown with the optional border and centered caption.  I am including the simple coding within WordPress for those who choose to try the <em>NextGen Gallery</em> plug-in.</p>
<blockquote><p>&lt;div style=&#8221;border: 1px solid black; margin: 3px; padding: 3px; text-align: center; float: left; width: 232px;&#8221;&gt;[ slideshow id=1 w=226 h=170]Centered Caption&lt;/div&gt;</p></blockquote>
<blockquote><p>Leave out the blank before the keyword &#8216;slideshow&#8217;.</p></blockquote>
<p>If you don&#8217;t already have this plug-in installed in WordPress, go to your WordPress dashboard>Plugins>Plugin Browser/Installer</p>
<p>Input the name <em>NextGen Gallery</em> in the search box.  Click on <em>NextGEN Gallery</em> in the results.  Click on <em>Install Now</em> and wait for it to install.  A new heading will appear in your dashboard called <em>Gallery</em>.  Go there to set up and manage your albums, galleries, and pictures.</p>
<p>This concludes my series on formatting a WordPress blog.  I hope you found it helpful.</p>
<p>UPDATE (2012-01-25):  I did not include the hyperlink code for the caption.  Sorry.  Here you go:</p>
<blockquote><p>&lt;div style=&#8221;margin: 3px; padding: 3px; text-align: center; float: left; width: 232px;&#8221;&gt;[ slideshow id=1 w=226 h=170 ]&lt;a href=&#8221;http://url_of_album_you_want_to_link_to_goes_here&#8221; target=&#8221;_blank&#8221;&gt;Click for Album&lt;/a&gt;&lt;/div&gt;</p></blockquote>
<blockquote><p>Leave out the blank before the keyword &#8216;slideshow&#8217;.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.trlong.com/2009/03/nextgen-gallery-slideshow-as-summary-thumbnail/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Video Thumbnails in Your Blog</title>
		<link>http://blog.trlong.com/2009/03/summary-video-first-template/</link>
		<comments>http://blog.trlong.com/2009/03/summary-video-first-template/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 06:55:45 +0000</pubDate>
		<dc:creator>Tom Long</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flv]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://blog.trlong.com/?p=531</guid>
		<description><![CDATA[Today you have the opportunity to participate in my first ever ONLINE POLL! Check out the various ways of showing video on a WordPress blog and vote for your favorite. (To put this in context, you might want to read &#8230; <a href="http://blog.trlong.com/2009/03/summary-video-first-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today you have the opportunity to participate in my first ever ONLINE POLL!  Check out the various ways of showing video on a WordPress blog and vote for your favorite.  (To put this in context, you might want to read my post from a couple of days ago, <a href="http://blog.trlong.com/2009/03/working-out-my-format/">Working out my blog format</a>)</p>
<p><strong>YouTube in Division Floated Left without a border</strong></p>
<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="226" height="170" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="left" /><param name="src" value="http://www.youtube.com/v/Mv7Hl54u-CA" /><embed type="application/x-shockwave-flash" width="226" height="170" src="http://www.youtube.com/v/Mv7Hl54u-CA" align="left"></embed></object>Centered Caption</div>
<p>The most challenging formatting comes with floating a video thumbnail to the left and allowing text to wrap down the right side.  The embed code one gets from the video host (YouTube for the example on the left) does not allow for such formatting.  If there is a slicker way to handle this, please let me know in the comments.</p>
<p>What I did was create a division within <span id="more-531"></span>html that I could float left.  This also gives the option of including a frame, but in my standard layout I don&#8217;t do this.  Early versions of Internet Explorer reportedly did not handle the margins (spacing outside the division) or padding (spacing inside the division) properly.  IE7 appears to have rectified this.</p>
<p>An example of this code is shown here:</p>
<blockquote><p>&lt;div  style=&#8221;text-align: center; margin: 3px; padding: 3px; float: left; width: 230px;&#8221;&gt;&lt;object width=&#8221;226&#8243; height=&#8221;170&#8243; data=&#8221;http://www.youtube.com/v/Mv7Hl54u-CA&#8221; type=&#8221;application/x-shockwave-flash&#8221;&gt;&lt;param name=&#8221;align&#8221; value=&#8221;left&#8221; /&gt;&lt;param name=&#8221;src&#8221; value=&#8221;http://www.youtube.com/v/Mv7Hl54u-CA&#8221; /&gt;&lt;/object&gt;Centered Caption&lt;/div&gt;</p></blockquote>
<p><strong>Embed Life Adventures Player in Division Floated Left without a border</strong></p>
<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="226" height="200" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="align" value="left" /><param name="src" value="http://blip.tv/play/gvk688MsAA%2Em4v" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="226" height="200" src="http://blip.tv/play/gvk688MsAA%2Em4v" allowfullscreen="true" align="left"></embed></object>Centered Caption</div>
<p>Another video host is blip.tv, which allows one to modify the appearance of their player slightly.  For example, I added the name of my travel blog Life Adventures in the branding field at the bottom of the video.  I&#8217;m using the exact same division tags as in the previous code but pasting the blip.tv embed code between the tags.  I think this looks less visually cluttered on such a small thumbnail than YouTube which superimposes their logo in the bottom right hand area.</p>
<p><strong>Embed Vimeo in Division Floated Left without a border</strong></p>
<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="225" height="169" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://vimeo.com/moogaloop.swf?clip_id=3722612&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" /><embed type="application/x-shockwave-flash" width="225" height="169" src="http://vimeo.com/moogaloop.swf?clip_id=3722612&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=0&amp;show_portrait=0&amp;color=00ADEF&amp;fullscreen=1" allowscriptaccess="always" allowfullscreen="true"></embed></object>Centered Caption</div>
<p>Vimeo also offers hosting service.  While it doesn&#8217;t impact the blog reader&#8217;s interface, Vimeo is constantly asking their user&#8217;s to upgrade.  It is a minor annoyance, but not something YouTube or blip.tv do.</p>
<p>On the other hand, look how cool the player is.  Nothing but thumbnail, baby.  For the blog reader, this is the cleanest interface I&#8217;ve found.<br />
<br clear=all><br />
<h2>The &#8220;also rans&#8221;</h2>
<p>There are a multitude of ways to show flash video in WordPress.  Some require javascript.  Others require a plug-in.  One is limited only by the lengths to which one is willing to go in order to master this media.  Here are some further examples.  I might use these in special cases, but it is doubtful.  That is why they are not included in the polling.  I just include them here for the sake of completeness.</p>
<p><strong>Script to Dreamhost&#8217;s JW Player javascript</strong><br />
<script src="https://media.dreamhost.com/swfobject.js" type="text/javascript"></script></p>
<div id="foo" style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<p>One can also use one&#8217;s host&#8217;s player.  (Be aware of any licensing issues.  For more information, contact your host provider.)  My host has licensed the use of the JW Player.  The advantage here is that one has full control of the display.  Another advantage is that one can keep all the video files stored at one&#8217;s own site.  The disadvantage is that it requires a minimal comfort level with same basic java scripting.  I&#8217;m not sure it is worth it, when one has the option to just cut and paste embed code from video host providers.  (If you use Dreamhost&#8217;s video format converting utility they generate the java.  If not, remember to add 20 to the video height to get the overall player height if you show a toolbar.)<br />
 <script type="text/javascript">// <![CDATA[
var sd = new SWFObject('https://media.dreamhost.com/mediaplayer.swf','mpl','226','190','8');
sd.addParam('allowscriptaccess','always');
sd.addParam('allowfullscreen','true');
sd.addVariable('height','190');
sd.addVariable('width','226');
sd.addVariable('image','http://blog.trlong.com/wp-content/gallery/geek-tutorials/barbados-catamaran226_170.jpg');
sd.addVariable('file','http://a6.video.blip.tv/0750007509268/Tom4Surfing-BarbadosCatamaranLaunch610.flv');
sd.write('foo');
// ]]&gt;</script></p>
<p><strong>Dreamhost&#8217;s JW Player using the <em>WP-FLV</em> Plug-in</strong></p>
<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;"><flv href="null" width="null" height="null" autostart="false" /><flv href="http://blip.tv/file/1883104" width="226" height="170" autostart="false" />Centered Caption</div>
<p>This plug-in is conveniently provided by my host provider.  My main gripe with the plug-in is that it does not allow for a poster image so the video &#8220;thumbnail&#8221; is a black rectangle.  I&#8217;m not sure why Dreamhost doesn&#8217;t just default to the <em>Embed FLV</em> plug-in.</p>
<p><br clear=all><strong>JW Player set up by the <em>Embed FLV</em> Plug-in</strong></p>
<div style="margin: 3px; padding: 3px; text-align: center; float: left; width: 230px;">[flv:http://blip.tv/file/get/Tom4Surfing-BarbadosCatamaranLaunch610.flv http://blog.trlong.com/wp-content/gallery/geek-tutorials/barbados-catamaran226_170.jpg 226 170]Centered Caption</div>
<p>Fully customizable player.  But all flash players using this plug-in must have the same style in every instance of every post.  For example, if the toolbar is set up to auto-hide in this post, it will auto-hide in every post.</p>
<p>I hope this will save someone some time in figuring out how to display flash in WordPress.</p>
<p>And, now, the polls are open.</p>
<p>Loading&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trlong.com/2009/03/summary-video-first-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://blip.tv/file/get/Tom4Surfing-BarbadosCatamaranLaunch610.flv" length="1298772" type="video/x-flv" />
<enclosure url="http://a6.video.blip.tv/0750007509268/Tom4Surfing-BarbadosCatamaranLaunch610.flv" length="1298772" type="video/x-flv" />
		</item>
		<item>
		<title>Use a Gallery2 Photo to Lead Your Blog</title>
		<link>http://blog.trlong.com/2009/03/summary-gallery2-photo-first-template/</link>
		<comments>http://blog.trlong.com/2009/03/summary-gallery2-photo-first-template/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 06:29:26 +0000</pubDate>
		<dc:creator>Tom Long</dc:creator>
				<category><![CDATA[Geeky]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[formatting]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[template]]></category>

		<guid isPermaLink="false">http://blog.trlong.com/?p=575</guid>
		<description><![CDATA[As mentioned yesterday, my primary layout is a 180px wide photo on the left which may or may not have a link to an album.   This is an example of that layout.   Use the &#8216;add an image&#8217; button, then &#8216;from &#8230; <a href="http://blog.trlong.com/2009/03/summary-gallery2-photo-first-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;g2_itemId=129&amp;g2_serialNumber=2" target="_blank"><img class="alignleft" title="Moku in Repose" src="http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;g2_itemId=129&amp;g2_serialNumber=2" alt="" hspace="15" width="180" /></a>As mentioned yesterday, my primary layout is a 180px wide photo on the left which may or may not have a link to an album.   This is an example of that layout.   Use the &#8216;add an image&#8217; button, then &#8216;from URL&#8217;, to be able to add a hyperlink.  In this case the hyperlink is back to the image. <span id="more-575"></span> <br clear="all">
<a href="http://blog.trlong.com/wp-content/gallery/misc/april-lake-heron-226x170.jpg" title="" class="shutterset_singlepic22" >
	<img class="ngg-singlepic ngg-center" src="http://blog.trlong.com/wp-content/gallery/cache/22__180x_april-lake-heron-226x170.jpg" alt="april-lake-heron-226x170" title="april-lake-heron-226x170" />
</a>
By changing to the HTML (not Visual/WYSIWYG) mode, one should see code similar to what is shown here:</p>
<blockquote><p>&lt;a href=&#8221;http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=129&amp;amp;g2_serialNumber=2&#8243;&gt;&lt;img class=&#8221;alignleft&#8221; title=&#8221;Moku in Repose&#8221; src=&#8221;http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=129&amp;amp;g2_serialNumber=2&#8243; alt=&#8221;" width=&#8221;180&#8243; /&gt;&lt;/a&gt;</p></blockquote>
<p>Unfortunately this will result in the hyperlink opening in the same tab or window.  Modify the code by adding <em>target=&#8221;_blank&#8221;</em> to have the album open in a new tab.  Also, the text would butt right up against the image, unless you add<em> hspace=&#8221;15&#8243;</em>.  The resulting code is illustrated below.</p>
<blockquote><p>&lt;a href=&#8221;http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=129&amp;amp;g2_serialNumber=2&#8243; target=&#8221;_blank&#8221;&gt;&lt;img class=&#8221;alignleft&#8221; title=&#8221;Moku in Repose&#8221; src=&#8221;http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;amp;g2_itemId=129&amp;amp;g2_serialNumber=2&#8243; alt=&#8221;" width=&#8221;180&#8243; hspace=&#8221;15&#8243; /&gt;&lt;/a&gt;</p></blockquote>
<p><a href="http://gallery.trlong.com/v/Moku/mokus_birthday/slideshow.html" target="_blank"><img class="alignleft" title="Moku with frisbee" src="http://gallery.trlong.com/main.php?g2_view=core.DownloadItem&amp;g2_itemId=129&amp;g2_serialNumber=2" alt="" width="180" /></a>Use &#8216;add an image&#8217; button, then &#8216;from URL&#8217;, to be able to add a hyperlink.  In this case the hyperlink is back to the Gallery2 page.<br />
<br clear="all"><br />

<a href="http://blog.trlong.com/wp-content/gallery/misc/boxee-on-ipad.jpg" title="" class="shutterset_singlepic23" >
	<img class="ngg-singlepic ngg-center" src="http://blog.trlong.com/wp-content/gallery/cache/23__180x_boxee-on-ipad.jpg" alt="boxee-on-ipad" title="boxee-on-ipad" />
</a>
<br />
<br clear="all"><br />
Hopefully, this will be helpful to some other bloggers seeking to make their posts visually attractive and easy for their readers to navigate.  For those of you with questions or who have a better (or just different idea), let us hear them in the comments.  Thanks.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trlong.com/2009/03/summary-gallery2-photo-first-template/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

