<?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>atworkinthecloud.blog &#187; web</title>
	<atom:link href="http://atworkinthecloud.com/blog/tag/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://atworkinthecloud.com/blog</link>
	<description>Est. 2008, Jim Olson Owner/Operator</description>
	<lastBuildDate>Mon, 26 Jul 2010 04:11:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Adding Facebook Share to Drupal</title>
		<link>http://atworkinthecloud.com/blog/2009/11/adding-facebook-share-to-drupal/</link>
		<comments>http://atworkinthecloud.com/blog/2009/11/adding-facebook-share-to-drupal/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 02:56:28 +0000</pubDate>
		<dc:creator>jim</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[social networking]]></category>

		<guid isPermaLink="false">http://blog.atworkinthecloud.com/?p=398</guid>
		<description><![CDATA[I&#8217;ve seen a few people on drupal.org how to implement Facebook Share and asking for modules, etc. However with the share widget provided by Facebook it&#8217;s really very easy to implement FB Share at the template level. To make it really easy, use CCK. Step One: Get the Widget To start off, FB provides you [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.atworkinthecloud.com/wp-content/uploads/2009/11/GPN-2000-000353.jpg" alt="Adding facebook share to drupal" /></p>
<p>I&#8217;ve seen a few people on drupal.org how to implement <a href="http://www.facebook.com/facebook-widgets/share.php">Facebook Share</a> and asking for modules, etc. However with the share widget provided by Facebook it&#8217;s really very easy to implement FB Share at the template level. To make it really easy, use <a href="http://drupal.org/project/cck">CCK</a>.<br />
<span id="more-398"></span></p>
<h2>Step One: Get the Widget</h2>
<p>To start off, FB provides you with this code in their <a href="http://www.facebook.com/facebook-widgets/share.php" target="_blank">widgets section</a></p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;a name=&quot;fb_share&quot;&gt;&lt;/a&gt;&lt;script src=&quot;http://static.ak.fbcdn.net/connect.php/js/FB.Share&quot; type=&quot;text/javascript&quot;&gt;&lt;!--mce:0--&gt;&lt;/script&gt;</pre></div></div>

<p>Which gives you a little widget on your webpage that looks like this,</p>
<p><img src="http://blog.atworkinthecloud.com/wp-content/uploads/2009/11/fbshare-preview.png" alt="facebook share preview" /></p>
<p>That&#8217;s pretty quick and easy. Using that bit of javascript you&#8217;ll get a little FB button that you can stick basically anywhere on a page (or, more precisely in your node.tpl.php file) and when the user clicks it, they&#8217;ll be prompted to login to facebook (if they&#8217;re not already) and then they can share your link on their wall. FB is pretty good at scraping pages but if you want fine tune control over what image and what text is displayed with your link you need to go a step further.</p>
<h2>Step Two: Take Control!</h2>
<p>As an example, this is the code I added to my page.tpl.php template right underneath my &lt;title&gt; tag:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">&nbsp;
<span style="color: #666666; font-style: italic;">//</span></pre></div></div>

<p>I&#8217;ve made references to three variables here; <strong>$title</strong> is just the title of my page, <strong>$node-&gt;field_fblink_teaser[0]['safe']</strong> is a CCK field that I&#8217;ve created which allows users to specify a meta description of their page and lastly <strong>$node-&gt;field_fblink_image[0]['filepath']</strong> is an image that user uploads that is used to create a thumbnail for the FB Share wall post. I&#8217;ve defaulted this image to 100x100px since that is what FB seems to like. For more info on linking different kinds of media including audio and video, check out <a href="http://wiki.developers.facebook.com/index.php/Connect/Implementing_Facebook_Share">this page</a>. Although there are no guidelines given anywhere else, FB does actually have minimum/maximum sizes for images, so if you&#8217;re image isn&#8217;t showing up try changing the dimensions.</p>
<p>In the end you should end up with a wall post that looks like this,</p>
<p><img class="alignnone size-full wp-image-399" title="fbshare" src="http://blog.atworkinthecloud.com/wp-content/uploads/2009/11/fbshare.jpg" alt="fbshare" width="542" height="154" /></p>
<p><em>Disclaimer: I don&#8217;t advocate using Facebook. For anything. It&#8217;s a popular platform and website, yes. But you should be aware that Facebook likes to change their rules, often without warning. It can be a bit of a nightmare for developers. That said, Facebook Share is relatively low-impact though (all authentication takes place via facebook) and that makes it quick to implement.</em></p>
<p>Updated on April 4, 2010, plugin update killed my example code.</p>
]]></content:encoded>
			<wfw:commentRss>http://atworkinthecloud.com/blog/2009/11/adding-facebook-share-to-drupal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for well-made, well-designed Drupal sites</title>
		<link>http://atworkinthecloud.com/blog/2008/09/tips-for-well-made-well-designed-drupal-sites/</link>
		<comments>http://atworkinthecloud.com/blog/2008/09/tips-for-well-made-well-designed-drupal-sites/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 15:37:10 +0000</pubDate>
		<dc:creator>robotoverlord</dc:creator>
				<category><![CDATA[art]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://electronicsuitcase.net/?p=202</guid>
		<description><![CDATA[In the last few months I&#8217;ve finished some pretty large drupal projects and thought I would share my top five tips for getting things rolling on your next drupal site. If you want a general overview of building drupal sites smashingmagazine.com just published the definitive post that I&#8217;ve read to date. 1. Adhere to drupal [...]]]></description>
			<content:encoded><![CDATA[<p>In the last few months I&#8217;ve finished some pretty large drupal projects and thought I would share my top five tips for getting things rolling on your next drupal site. If you want a general overview of building drupal sites <a title="smashing magazine's developer toolbox for drupal" href="http://www.smashingmagazine.com/2008/09/24/drupal-developers-toolbox/">smashingmagazine.com just published the definitive post</a> that I&#8217;ve read to date.</p>
<p><strong>1. Adhere to drupal <a href="http://drupal.org/best-practices">best practices</a> from the start</strong>. Look forward to your site being around for a long while and set it up correctly. Even the basics, like taking advantage of <a title="Getting started with Drupal modules and themes" href="http://drupal.org/getting-started/5/install-contrib">using the sites/all folder</a> to hold your non-core modules and themes can save you a lot of time down the road.</p>
<p><strong>2. Make the website accessible to a wide range of people</strong>. It is easier to plan things like <a href="http://www.shopdev.co.uk/blog/font-resize.html#">text-size controls</a>, email-to-a-friend and <a href="http://www.456bereastreet.com/archive/200709/how_to_create_an_unobtrusive_print_this_page_link_with_javascript/">print buttons</a> when you&#8217;re in the design stages. Adding them in afterwards can look amateurish.</p>
<p><strong>3. Give yourself time to input content and give it some TLC with proper formatting</strong>. Nothing is more boring than the same basic text layout on every page. With CMS&#8217;s half the point is having the same frame around your content so that navigation is consistent, etc. &#8211; but that doesn&#8217;t mean your text and image content has to be the same with every node. Float an image left, float it right, pull out an important quote and give it the bold+italic treatment. Don&#8217;t rush through this &#8220;final part&#8221; of the job &#8211; it&#8217;s very important.</p>
<p><strong>4. Use some kind of design/development framework</strong>. Whatever works for you, but the point is to keep it consistent so that when it comes time to fix something or add a feature you can do it quickly. For most people just starting out with <a title="basic drupal starting theme" href="http://drupal.org/project/zen">the same basic theme, like Zen</a>, is enough. Later on though you might need to start keeping a folder of your regular modules, pre-configured modules, sample configurations of certain key theme components, and anything else you might need within arms reach. A note of caution though &#8211; make sure you check drupal.org for updates of the modules once in awhile.</p>
<p><strong>5. FCKeditor &#8211; is the best editor there is, period</strong>. A lot of folks swear by tinyMCE but I think they&#8217;re just plain wrong. FCK has a built in file manager (that is a pain in the ass to configure but very worth it), a default CSS XML-based stylesheet associated with user-styles that is easy to override,  but most importantly it has a feature tied into the text editor <em>that shows block elements boundaries in your html structure</em> which is of huge benefit to 99% of all users.</p>
<p><a href="http://electronicsuitcase.net/wp-content/uploads/2008/09/fck.jpg"><img class="alignnone size-full wp-image-203" src="http://electronicsuitcase.net/wp-content/uploads/2008/09/fck.jpg" alt="" width="400" height="200" /></a></p>
<p><a href="http://www.fckeditor.net/">http://www.fckeditor.net/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atworkinthecloud.com/blog/2008/09/tips-for-well-made-well-designed-drupal-sites/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>pl00, my first development theme for wordpress</title>
		<link>http://atworkinthecloud.com/blog/2008/09/purple/</link>
		<comments>http://atworkinthecloud.com/blog/2008/09/purple/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 07:50:27 +0000</pubDate>
		<dc:creator>robotoverlord</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[pl00]]></category>
		<category><![CDATA[theme]]></category>

		<guid isPermaLink="false">http://electronicsuitcase.net/?p=180</guid>
		<description><![CDATA[I&#8217;m very proud to announce the release of my first wordpress theme, pl00. Don&#8217;t let pl00&#8242;s plain wrapper fool you &#8211; it&#8217;s meant to be a development theme that quickly gets a themer from A to B. I use it on every wordpress project I work on. One of pl00&#8242;s best features is that the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m very proud to announce the release of my first wordpress theme, pl00. Don&#8217;t let pl00&#8242;s plain wrapper fool you &#8211; it&#8217;s meant to be a development theme that quickly gets a themer from A to B. I use it on every wordpress project I work on. One of pl00&#8242;s best features is that the homepage has 5 widget areas. It&#8217;s been tested in Firefox, Safari and IE7 and is W3C validated.</p>
<p><img class="alignnone size-full wp-image-171" title="screenshot of pl00, a wordpress theme" src="http://electronicsuitcase.net/wp-content/uploads/2008/09/screenshot.jpg" alt="" width="300" height="225" /></p>
<p>Tags: fixed width, three columns, valid CSS, valid XHTML, white, simple, widgets, widget ready, 3columns, right sidebars, SEO friendly, gravatars, h:over effects, text-only</p>
<p><a href="http://electronicsuitcase.net/wp-content/uploads/2008/09/pl00.zip">Download pl00</a></p>
]]></content:encoded>
			<wfw:commentRss>http://atworkinthecloud.com/blog/2008/09/purple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
