<?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>MaisonBisson.com &#187; shortcodes</title>
	<atom:link href="http://maisonbisson.com/blog/post/tag/shortcodes/feed/" rel="self" type="application/rss+xml" />
	<link>http://maisonbisson.com</link>
	<description>A bunch of stuff I would have emailed you about.</description>
	<lastBuildDate>Sat, 14 Nov 2009 20:14:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Wufoo Forms WordPress Embed Shortcode</title>
		<link>http://maisonbisson.com/blog/post/13446/wufoo-forms-wordpress-embed-shortcode/</link>
		<comments>http://maisonbisson.com/blog/post/13446/wufoo-forms-wordpress-embed-shortcode/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 16:35:30 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bsuite]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[embedding]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wufoo]]></category>
		<category><![CDATA[Wufoo forms]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=13446</guid>
		<description><![CDATA[
I tossed this together a while ago, and it even made it in to bSuite for a time, but I don&#8217;t have a need for it anymore, and I&#8217;m cleaning house.

function shortcode_wufoo( $arg ){
 // [wufoo id=z7x4m0 domain=place.wufoo.com]

 $arg = shortcode_atts( array(
 'id' =&#62; FALSE,
 'domain' =&#62; FALSE,
 'height' =&#62; 500,
 ), $arg );

 if( [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-13446"><!-- &nbsp; --></abbr>
<p>I tossed this together a while ago, and it even made it in to <a href="http://maisonbisson.com/bsuite/">bSuite</a> for a time, but I don&#8217;t have a need for it anymore, and I&#8217;m cleaning house.</p>
<pre class="brush: php;">
function shortcode_wufoo( $arg ){
 // [wufoo id=z7x4m0 domain=place.wufoo.com]

 $arg = shortcode_atts( array(
 'id' =&gt; FALSE,
 'domain' =&gt; FALSE,
 'height' =&gt; 500,
 ), $arg );

 if( !$arg['id'] || !$arg['domain'] )
 return( FALSE );

 return( str_replace( array( '%%id%%','%%domain%%','%%height%%' ), array( $arg['id'], $arg['domain'], $arg['height'] ), '&lt;iframe height=&quot;%%height%%&quot; allowTransparency=&quot;true&quot; frameborder=&quot;0&quot; scrolling=&quot;no&quot; style=&quot;width:100%; border:none&quot; src=&quot;https://%%domain%%/embed/%%id%%/&quot;&gt;&lt;a href=&quot;http://%%domain%%/forms/%%id%%/&quot;&gt;Fill out my Wufoo form!&lt;/a&gt;&lt;/iframe&gt;' ));
}
add_shortcode( 'wufoo', 'shortcode_wufoo' );
</pre>
<p>Download the simple plugin here: <a href="http://maisonbisson.com/files/2009/03/wufoo_shortcodephp.txt"><code>wufoo_shortcode.php</code></a>. Save it as <code>wufoo_shortcode.php</code>, upload it to your WordPress&#8217; <code>wp-content/plugins/</code> directory, then activate it.</p>
<p>To use it you&#8217;ll have to have a <a href="http://wufoo.com/">Wufoo account</a> and forms. Then simple put in a shortcode like this <code>[wufoo id=z7x4m0 domain=place.wufoo.com]</code> in one of your posts or pages. The <a href="http://collingswoodlib.org/contact-us/contact-director/">result will look like this</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/13446/wufoo-forms-wordpress-embed-shortcode/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Slideshare WordPress Embed Shortcode</title>
		<link>http://maisonbisson.com/blog/post/13448/slideshare-wordpress-embed-shortcode/</link>
		<comments>http://maisonbisson.com/blog/post/13448/slideshare-wordpress-embed-shortcode/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 16:30:13 +0000</pubDate>
		<dc:creator>Casey Bisson</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bsuite]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[embedding]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[slideshare]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=13448</guid>
		<description><![CDATA[
I&#8217;m cleaning house in bSuite, and I&#8217;ve decided that this shortcode function for embedding Slideshare items in WordPress needs to go. Rather than totally toss it away, however, I&#8217;m posting it here in case somebody else finds it useful.

	function shortcode_slideshare&#40; $arg &#41;&#123;
		// [slideshare id=211578&#38;amp;doc=misty-holland-1198496990903941-2&#38;amp;w=425]
&#160;
		$arg = shortcode_atts&#40; array&#40;
			'id' =&#38;gt; FALSE,
		&#41;, $arg &#41;;
&#160;
		if&#40; ! $arg&#91;'id'&#93; &#41;
			return&#40; FALSE [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-13448"><!-- &nbsp; --></abbr>
<p>I&#8217;m cleaning house in <a href="http://maisonbisson.com/bsuite/">bSuite</a>, and I&#8217;ve decided that this shortcode function for embedding Slideshare items in WordPress needs to go. Rather than totally toss it away, however, I&#8217;m posting it here in case somebody else finds it useful.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">	<span style="color: #000000; font-weight: bold;">function</span> shortcode_slideshare<span style="color: #009900;">&#40;</span> <span style="color: #000088;">$arg</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #666666; font-style: italic;">// [slideshare id=211578&amp;amp;doc=misty-holland-1198496990903941-2&amp;amp;w=425]</span>
&nbsp;
		<span style="color: #000088;">$arg</span> <span style="color: #339933;">=</span> shortcode_atts<span style="color: #009900;">&#40;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
			<span style="color: #0000ff;">'id'</span> <span style="color: #339933;">=&amp;</span>gt<span style="color: #339933;">;</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #339933;">,</span>
		<span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #000088;">$arg</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span> <span style="color: #339933;">!</span> <span style="color: #000088;">$arg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span> <span style="color: #009900;">&#41;</span>
			<span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span> <span style="color: #009900; font-weight: bold;">FALSE</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
		<span style="color: #b1b100;">return</span><span style="color: #009900;">&#40;</span> <span style="color: #990000;">str_replace</span><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'%%id%%'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$arg</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'id'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'
&lt;div id=&quot;slideshare-%%id%%&quot; class=&quot;embed slideshare&quot;&gt;&lt;object width=&quot;425&quot; height=&quot;348&quot; data=&quot;https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=%%id%%&quot; type=&quot;application/x-shockwave-flash&quot;&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;&lt;param name=&quot;src&quot; value=&quot;https://s3.amazonaws.com:443/slideshare/ssplayer.swf?id=%%id%%&quot; /&gt;&lt;/object&gt;&lt;/div&gt;
'</span> <span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
	add_shortcode<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'slideshare'</span><span style="color: #339933;">,</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;</span><span style="color: #000088;">$this</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'shortcode_slideshare'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/13448/slideshare-wordpress-embed-shortcode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do WordPress Pages Better With bSuite</title>
		<link>http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/</link>
		<comments>http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 19:27:14 +0000</pubDate>
		<dc:creator>Casey</dc:creator>
				<category><![CDATA[Libraries & Networked Information]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[bsuite]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[features]]></category>
		<category><![CDATA[innerindex]]></category>
		<category><![CDATA[list_pages]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shortcodes]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress as CMS]]></category>

		<guid isPermaLink="false">http://maisonbisson.com/?p=12651</guid>
		<description><![CDATA[
a href=&#8221;http://wordpress.org/&#8221;>WordPress&#8216; Pages feature makes the popular blogging platform a sophisticated CMS. bSuite adds a few features to make it even better.
   
Write excerpts, tag, and categorize your pages
WordPress excerpts are an underused but powerful feature that allow you to explain to your readers why they should read the page you wrote. Tagging [...]]]></description>
			<content:encoded><![CDATA[<abbr class="unapi-id" title="maisonbisson-12651"><!-- &nbsp; --></abbr>
<p><div class="contents innerindex"><h3>Contents</h3><ol><li><a href="http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/#12651_write-excerpts-tag-a_1">Write excerpts, tag, and categorize your pages</a></li><li><a href="http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/#12651_automatically-insert_1">Automatically insert anchors in your page</a></li><li><a href="http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/#12651_automatically-list-s_1">Automatically list sub-pages</a></li><li><a href="http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/#12651_automatically-list-s_2">Automatically list sub-pages with excerpts</a></li></ol></div><a href="http://wordpress.org/">WordPress</a>&#8216; <a title="Pages « WordPress Codex" href="http://codex.wordpress.org/Pages">Pages</a> feature makes the popular blogging platform a sophisticated CMS. <a href="http://maisonbisson.com/bsuite/">bSuite</a> adds a few features to make it even better.</p>
<p><a title="excerpt by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/2885151603"><img class="alignnone" title="Use excerpts to help readers quickly understand your content" src="http://farm4.static.flickr.com/3064/2885151643_143679b546_t.jpg" alt="excerpt" width="100" height="100" /></a> <a title="bSuite cms small by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/1959579190/"><img class="alignnone" title="This table of contents links to anchors within the page" src="http://farm3.static.flickr.com/2313/2541990070_c20c030532_t.jpg" alt="bSuite cms small" width="100" height="100" /></a> <a title="list_pages by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/2885163657/"><img class="alignnone" title="Each staff member gets her own page, the list_pages shortcode brings them together" src="http://farm4.static.flickr.com/3014/2885163697_81049399bb_t.jpg" alt="list_pages" width="100" height="100" /></a> <a title="list_pages shortcode with excerpts by misterbisson, on Flickr" href="http://www.flickr.com/photos/maisonbisson/2885986260/"><img class="alignnone" title="Here's the list_pages shortcode showing excerpts in conjunction with the innerindex shortcode on each sub-page" src="http://farm4.static.flickr.com/3107/2885986286_b396ca5117_t.jpg" alt="list_pages shortcode with excerpts" width="98" height="100" /></a></p>
<h3 id="12651_write-excerpts-tag-a_1" >Write excerpts, tag, and categorize your pages</h3>
<p>WordPress excerpts are an underused but powerful feature that allow you to explain to your readers why they should read the page you wrote. Tagging and categorization of pages help improve the findability of those pages, especially in search engines. Native WordPress doesn&#8217;t support excerpts, tags, or categories for pages, but bSuite does. Whenever you edit a page you&#8217;ll see the same tools that you do when writing posts.</p>
<h3 id="12651_automatically-insert_1" >Automatically insert anchors in your page</h3>
<p>There&#8217;s nothing wrong with long pages, but you can make it easier for your readers to navigate them by if you break it up into sections. When you use the <a href="http://maisonbisson.com/bsuite/shortcodes/#12141_innerindex_1">innerindex</a> shortcode, bSuite will insert an automatically index of all the headings (the <a href="http://en.wikipedia.org/wiki/HTML_element#Headings">h1 through h6 tags</a>) in your page. This also works in regular blog posts.</p>
<h3 id="12651_automatically-list-s_1" >Automatically list sub-pages</h3>
<p>You can easily <a href="http://codex.wordpress.org/Pages#Organizing_Your_Pages">organize pages</a> into any structure that suits your content, but having to manually manage all the links into that hierarchy can be tiresome. The <a title="» Shortcodes MaisonBisson.com" href="http://maisonbisson.com/bsuite/shortcodes/#12141_list_pages_1">list_pages</a> shortcode solves that in a jiffy. Options to the shortcode allow you to set how deep the list is and other features.</p>
<h3 id="12651_automatically-list-s_2" >Automatically list sub-pages with excerpts</h3>
<p>One especially useful feature of the <a title="» Shortcodes MaisonBisson.com" href="http://maisonbisson.com/bsuite/shortcodes/#12141_list_pages_1">list_pages</a> shortcode is the ability to include the excerpt from each of the listed pages. You can even put the <a href="http://maisonbisson.com/bsuite/shortcodes/#12141_innerindex_1">innerindex</a> shortcode in the excerpt (see that at work <a title="» bSuite 4 MaisonBisson.com" href="http://maisonbisson.com/bsuite/#12138_details_1">here</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://maisonbisson.com/blog/post/12651/do-wordpress-pages-better-with-bsuite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>