<?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>WP Garage &#187; content</title>
	<atom:link href="http://wpgarage.com/tag/content/feed/" rel="self" type="application/rss+xml" />
	<link>http://wpgarage.com</link>
	<description>wordpress tricks, hacks, and tips</description>
	<lastBuildDate>Tue, 15 May 2012 11:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>How to list subpages with a title and excerpt in WordPress</title>
		<link>http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/</link>
		<comments>http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/#comments</comments>
		<pubDate>Thu, 12 Apr 2012 08:55:33 +0000</pubDate>
		<dc:creator>Rebecca Markowitz</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[child page]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[parent page]]></category>
		<category><![CDATA[subpages]]></category>
		<category><![CDATA[title]]></category>

		<guid isPermaLink="false">http://wpgarage.com/?p=1268</guid>
		<description><![CDATA[<p>We developed a site that has really rich subpages (child pages) but the parent page is mostly a blank placeholder that directs people to the subpages. Instead of merely leaving a blank parent page, we wanted to give a preview of the content on each of the subpages. I found the code for how to [...]</p><p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/">How to list subpages with a title and excerpt in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/" data-url="http://illum.in/Hx7UVU" data-text="How to list subpages with a title and excerpt in WordPress" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/"></g:plusone></div></div><p>We developed a site that has really rich subpages (child pages) but the parent page is mostly a blank placeholder that directs people to the subpages. Instead of merely leaving a blank parent page, we wanted to give a preview of the content on each of the subpages. I found the code for how to do it in this post, <a href="http://wpguru.co.za/templates/page/display-title-excerpt-of-child-pages/ ">Display title &amp; excerpt of child pages</a>.  </p>
<pre class="wp-code-highlight prettyprint">get_results(&quot;SELECT * FROM $wpdb-&amp;gt;posts WHERE post_parent = &quot;.$post-&amp;gt;ID.&quot; AND post_type = 'page' ORDER BY menu_order&quot;, 'OBJECT'); ?&amp;gt;</pre>
<p>This post was originally published at <a href="http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/">How to list subpages with a title and excerpt in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/code-snippets/how-to-list-subpages-with-title-excerpt-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Data portability and data serialization in WordPress</title>
		<link>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/</link>
		<comments>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 13:46:51 +0000</pubDate>
		<dc:creator>Miriam Schwab</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[data serialization]]></category>
		<category><![CDATA[databases]]></category>
		<category><![CDATA[serialization]]></category>

		<guid isPermaLink="false">http://wpgarage.com/?p=1276</guid>
		<description><![CDATA[<p>Over at illuminea, we’ve been migrating WordPress sites for years. So we thought we’d seen it all when it came to WordPress migration. And yet, recently we encountered an issue that we had never dealt with before, that puts a snag in the ease with which you can move WordPress sites: data serialization. One of [...]</p><p>This post was originally published at <a href="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/">Data portability and data serialization in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/" data-url="http://illum.in/HxQEUf" data-text="Data portability and data serialization in WordPress" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/"></g:plusone></div></div><p>Over at <a href="http://illuminea.com" target="_blank">illuminea</a>, we’ve been migrating WordPress sites for years. So we thought we’d seen it all when it came to WordPress migration. And yet, recently we encountered an issue that we had never dealt with before, that puts a snag in the ease with which you can move WordPress sites: data serialization.</p>
<p>One of the reasons we love WordPress is because it’s so future-proof. What I mean by that is that once you have created a WordPress site, you aren’t stuck where you are for the following reasons:</p>
<ul>
<li>Content is separate from form so at any point you can completely redesign your site while retaining content and link structure. This is important to ensure you don’t lose traffic from search engines and inbound links.</li>
<li>As long as the WordPress software continues to be developed, it will continue to support modern web technologies so users are not left with an archaic system that, for example, adores IE7 but doesn’t know what HTML5 is.</li>
<li>Your site is portable. You need to move a site to another server, or even another domain name? No problem. A few steps related to find-and-replace, exporting and importing the database, and setting up global 301 redirects (if you’ve changed domains) and you’re there.</li>
</ul>
<p>All the above is true, except the data portability point. It’s not quite as true as I thought it was.</p>
<h2>Data serialization and its impact on data portability</h2>
<p>(I am a big newbie when it comes to data serialization, so the following is based on what I’ve managed to learn over the while and could very well be inaccurate/wrong.)</p>
<p>It seems that developers use data serialization in order to improve performance or efficiency in a database. Instead of creating a new table for data, or storing data in a table which could end up having wasteful empty fields, you can keep all the data in an array in one field. This leads to saved space and simplified SQL statements. Serialized data is stored and recovered using PHP’s <a href="http://us2.php.net/manual/en/function.serialize.php" target="_blank">serialize()</a> and <a href="http://us2.php.net/manual/en/function.unserialize.php" target="_blank">unserialize()</a> functions. <a href="http://terriswallow.com/weblog/2008/php-serialize-unserialize-whats-it-do-whats-it-for/" target="_blank">Terri Swallow explains</a> how using serialized data for her multi-user plugin helped save her from creating hundreds of new options for every new user created.</p>
<p>Here&#8217;s an example of serialized data from <a title="WordPress Serializing Data" href="http://nacin.com/2010/04/18/wordpress-serializing-data/" target="_blank">Andrew Nacin</a>:</p>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div>
<div><code>$data</code> <code>= </code><code>array</code><code>( </code><code>'apple'</code><code>, </code><code>'banana'</code><code>, </code><code>'orange'</code> <code>);</code></div>
<div><code>echo</code> <code>serialize( </code><code>$data</code> <code>);</code></div>
<div><code>// Result is a string we can unserialize into an array:</code></div>
<div><code>// a:3:{i:0;s:5:"apple";i:1;s:6:"banana";i:2;s:6:"orange";}</code></div>
</div>
</td>
</tr>
</tbody>
</table>
<p>But there are serious drawbacks to using serialized data. One problem is that you can’t run a MySQL query on serialized data. The data would have to be pulled out of the table via PHP, unserialized, and then searched using PHP instead of MySQL (thanks to <a href="http://www.catchmyfame.com/2009/09/29/introduction-to-php%E2%80%99s-serialize-function/" target="_blank">Catch My Fame</a> for explaining this). So let’s say you are storing user data in serialized format, but you want to find out how many of your users are from Australia, you can’t get that info easily.</p>
<p>A serious problem, in my opinion, is the impact serialization has on data portability. It makes it near-impossible to port a WordPress site from one domain to another without losing data. Another possible, yet unlikely issue, is if you need to port data from WordPress into another programming language – admittedly a rare occurrence, but a possible one that needs to be considered.</p>
<p>There are developers out there who are very frustrated by the use of serialized data:</p>
<p>An <a href="http://il.php.net/manual/en/function.serialize.php#107717" target="_blank">anonymous comment</a> left on the PHP manual entry for serialize():</p>
<blockquote>
<p>Please! please! please! DO NOT serialize data and place it into your database. Serialize can be used that way, but that&#8217;s missing the point of a relational database and the datatypes inherent in your database engine. Doing this makes data in your database non-portable, difficult to read, and can complicate queries. If you want your application to be portable to other languages, like let&#8217;s say you find that you want to use Java for some portion of your app that it makes sense to use Java in, serialization will become a pain in the buttocks. You should always be able to query and modify data in the database without using a third party intermediary tool to manipulate data to be inserted…That&#8217;s not to say serialize() is useless. It&#8217;s not&#8230;Just don&#8217;t abuse serialize because the next guy who comes along will have a maintenance or migration nightmare.</p>
</blockquote>
<p><a href="http://alexscammon.com/2011/06/migrating-wordpress-blogs-fixing-the-serialization/" target="_blank">Alexander Scammon:</a> “WordPress does a silly thing.  It has serialized data inside its database.”</p>
<p>Serialized data usage that can have a serious impact on WordPress portability:</p>
<ul>
<li>Some widget data (though for some reason we’ve never had issues retaining widgets via a database dump)</li>
<li>Some theme settings</li>
<li>Plugin data</li>
</ul>
<p>It was related to serialized plugin data that we had our first encounter with data serialization. We had installed a plugin to help a client manage a technical issue on their site without having to get too technical. They entered hundreds of entries in the plugin, but upon moving the site from development to production, the data disappeared. By that point, there was no way to recover it unfortunately, but we had definitely learned a painful, important lesson.</p>
<h2>So what do we do?</h2>
<p>Some suggestions:</p>
<ol>
<li>Theme and plugin developers: please seriously consider whether the benefits of serializing your data outweigh the potential future problems it could cause.</li>
<li>Theme and plugin developers: if you must use serialized data, please try to make sure there’s some way to export and import the data. Even a simple .csv export is better than nothing.</li>
<li>WordPress users: try to ascertain before using a theme or plugin whether the data is stored in a serialized format.</li>
</ol>
<p>But let’s say you find yourself with a database that includes serialized data. Here are some tools created by generous souls that might be able to help you port your data without losing it:</p>
<p><a href="http://petesaia.com/work/peach/" target="_blank">Peach</a> – an online utility that aims to deal with the fact that WordPress stores URLs in serialized format, which makes it hard to move a site from one domain to another, or from staging to production. To use this tool (which works best in Chrome) ou drag-and-drop an .sql file into the square in the middle of the page, and set a new domain.</p>
<p><a href="http://interconnectit.com/124/search-and-replace-for-wordpress-databases/" target="_blank">WordPress Search and Replace Tool</a> – this script can also handle multiply nested serializations and multi-byte Unicode changes, which is important now that internationalized domain names are allowed. The code will work for any platform that stores PHP serialized arrays in a MySQL database (Drupal, Joomla, etc.). You must delete the script from your server once you’re finished with it.</p>
<p><a href="http://www.bangheadonwall.net/?attachment_id=227" target="_blank">fix_serialization.php</a> – Not much description provided with this tool, but Alex Scammon provides instructions in <a href="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/#comment-63684">his comment below</a>.</p>
<p><a title="WP Migrate DB" href="http://wordpress.org/extend/plugins/wp-migrate-db/" target="_blank">WP Migrate DB</a> &#8211; this is a plugin that exports your database as a MySQL data dump, does a find and replace on URLs and file paths, then allows you to save it to your computer.  It even takes into account serialized data and updates the string length values. (thanks <a href="http://somadesign.ca/" target="_blank">Matt Wiebe</a>)</p>
<p>After trying these tools, we wrote an <a href="http://wpgarage.com/tips/data-serialization-wordpress-and-my-new-best-friend/">update on data serialization</a>.</p>
<p>This post was originally published at <a href="http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/">Data portability and data serialization in WordPress</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/tips/data-portability-and-data-serialization-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>Publish RSS feeds on your WordPress site without plugins</title>
		<link>http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/</link>
		<comments>http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/#comments</comments>
		<pubDate>Wed, 13 Feb 2008 10:03:31 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[RSS]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/</guid>
		<description><![CDATA[<p>Darren Hoyt, that brilliant WordPress developer and designer, explains how you can publish RSS feed headlines on your WordPress blog with a built-in WordPress function instead of using a plugin. As Darren says, this code snippet is not intended for scrapers; it&#8217;s for people who have more than one blog, or are part of a [...]</p><p>This post was originally published at <a href="http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/">Publish RSS feeds on your WordPress site without plugins</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/" data-url="http://illum.in/qY30Jr" data-text="Publish RSS feeds on your WordPress site without plugins" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/"></g:plusone></div></div><p>Darren Hoyt, that brilliant WordPress developer and designer, explains how you can <a href="http://www.darrenhoyt.com/2008/01/29/publishing-external-rss-headlines-to-your-wordpress-site/" title="Publishing External RSS Headlines to Your WordPress Site">publish RSS feed headlines on your WordPress blog</a> with a built-in WordPress function instead of using a plugin.</p>
<p>As Darren says, this code snippet is not intended for scrapers; it&#8217;s for people who have more than one blog, or are part of a blogging network, and would like to have their readers exposed to their other blog material.</p>
<p>The necessary code is what pulls all the Planet WordPress feeds into your WordPress dashboard. Darren took that code from wp-admin/index-extra.php and rewrote it into a snippet which you can insert into your theme files:</p>
<pre class="wp-code-highlight prettyprint">&amp;lt;?php

require_once (ABSPATH . WPINC . '/rss-functions.php');

// here's where to insert the feed address

$rss = @fetch_rss('http://www.darrensmusicnews.com/feed/');

if ( isset($rss-&amp;gt;items) &amp;amp;&amp;amp; 0 != count($rss-&amp;gt;items) ) {

?&amp;gt;

&amp;lt;ul&amp;gt;

&amp;lt;?php

// here's (5) where to set the number of headlines

$rss-&amp;gt;items = array_slice($rss-&amp;gt;items, 0, 5);

foreach ($rss-&amp;gt;items as $item ) {

?&amp;gt;

&amp;lt;li&amp;gt;

&amp;lt;a href='&amp;lt;?php echo wp_filter_kses($item['link']); ?&amp;gt;'&amp;gt;

&amp;lt;?php echo wp_specialchars($item['title']); ?&amp;gt;

&amp;lt;/a&amp;gt;

&amp;lt;/li&amp;gt;

&amp;lt;?php } ?&amp;gt;

&amp;lt;/ul&amp;gt;

&amp;lt;?php } ?&amp;gt;</pre>
<p>Obviously, you have to change the feed address on the fourth line to yours. You can also select how many items from the feed should appear.</p>
<p>In the <a href="http://www.darrenhoyt.com/2008/01/29/publishing-external-rss-headlines-to-your-wordpress-site/#comments" title="Publishing External RSS Headlines to Your WordPress Site - the comments">comments</a>, Darren says that you can publish multiple lists of feeds by copying the snippet with several different RSS feeds. If you want to aggregate a bunch of feeds into one single feed that you&#8217;ll republish on your blog, he recommends the <a href="http://plugins.performancing.com/easy-blog-networking-for-wordpress-blogs/" title="Easy Blog Networking for WordPress Blogs">Easy Blog Networking for WordPress Blogs plugin</a>, which combines a bunch of feeds and republishes them in one list, or <a href="http://labnol.blogspot.com/2007/10/merge-multiple-rss-feeds-feedburner-mix.html" title="Merge Multiple RSS Feeds Into One with Yahoo! Pipes + FeedBurner">Yahoo Pipes</a>.</p>
<p><strong>Another Option from the WordPress Codex </strong></p>
<p><a href="http://birdhouse.org/blog/2008/02/07/notes-on-a-massive-wordpress-migration/" title="Notes on a Massive WordPress Migration">Scot Hacker</a> brings another variation for displaying RSS feeds on a site: the WordPress function <a href="http://codex.wordpress.org/Function_Reference/fetch_rss" title="fetch_rss at WordPress Codex">fetch_rss</a>. On the WordPress Codex, you can see an example for displaying a list of links for an existing RSS feed, limiting the selection to the most recent 5 items:</p>
<p><code><span style="color: #000000">&lt;h2&gt;<span style="color: #0000bb">&lt;?php _e</span><span style="color: #007700">(</span><span style="color: #dd0000">'Headlines from AP News'</span><span style="color: #007700">); </span><span style="color: #0000bb">?&gt;</span>&lt;/h2&gt;<br />
<span style="color: #0000bb">&lt;?php </span><span style="color: #ff8000">// Get RSS Feed(s)<br />
</span><span style="color: #007700">include_once(</span><span style="color: #0000bb">ABSPATH </span><span style="color: #007700">. </span><span style="color: #0000bb">WPINC </span><span style="color: #007700">. </span><span style="color: #dd0000">'/rss.php'</span><span style="color: #007700">);<br />
</span><span style="color: #0000bb">$rss </span><span style="color: #007700">= </span><span style="color: #0000bb">fetch_rss</span><span style="color: #007700">(</span><span style="color: #dd0000">'<a href="http://example.com/rss/feed/goes/here%27" class="external free" title="http://example.com/rss/feed/goes/here'">http://example.com/rss/feed/goes/here'</a></span><span style="color: #007700">);<br />
</span><span style="color: #0000bb">$maxitems </span><span style="color: #007700">= </span><span style="color: #0000bb">5</span><span style="color: #007700">;<br />
</span><span style="color: #0000bb">$items </span><span style="color: #007700">= </span><span style="color: #0000bb">array_slice</span><span style="color: #007700">(</span><span style="color: #0000bb">$rss</span><span style="color: #007700">-&gt;</span><span style="color: #0000bb">items</span><span style="color: #007700">, </span><span style="color: #0000bb">0</span><span style="color: #007700">, </span><span style="color: #0000bb">$maxitems</span><span style="color: #007700">);<br />
</span><span style="color: #0000bb">?&gt;<br />
</span><br />
&lt;ul&gt;<br />
<span style="color: #0000bb">&lt;?php </span><span style="color: #007700">if (empty(</span><span style="color: #0000bb">$items</span><span style="color: #007700">)) echo </span><span style="color: #dd0000">'&lt;li&gt;No items&lt;/li&gt;'</span><span style="color: #007700">;<br />
else<br />
foreach ( </span><span style="color: #0000bb">$items </span><span style="color: #007700">as </span><span style="color: #0000bb">$item </span><span style="color: #007700">) : </span><span style="color: #0000bb">?&gt;<br />
</span>&lt;li&gt;&lt;a href='<span style="color: #0000bb">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #0000bb">$item</span><span style="color: #007700">[</span><span style="color: #dd0000">'link'</span><span style="color: #007700">]; </span><span style="color: #0000bb">?&gt;</span>'<br />
title='<span style="color: #0000bb">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #0000bb">$item</span><span style="color: #007700">[</span><span style="color: #dd0000">'title'</span><span style="color: #007700">]; </span><span style="color: #0000bb">?&gt;</span>'&gt;<br />
<span style="color: #0000bb">&lt;?php </span><span style="color: #007700">echo </span><span style="color: #0000bb">$item</span><span style="color: #007700">[</span><span style="color: #dd0000">'title'</span><span style="color: #007700">]; </span><span style="color: #0000bb">?&gt;<br />
</span>&lt;/a&gt;&lt;/li&gt;<br />
<span style="color: #0000bb">&lt;?php </span><span style="color: #007700">endforeach; </span><span style="color: #0000bb">?&gt;<br />
</span>&lt;/ul&gt;</span></code></p>
<p>This post was originally published at <a href="http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/">Publish RSS feeds on your WordPress site without plugins</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/tips/publish-rss-feeds-on-your-wordpress-site-without-plugins/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Hell Yeah Dude&#8217;s list of ways to supplement your WordPress content</title>
		<link>http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/</link>
		<comments>http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/#comments</comments>
		<pubDate>Thu, 10 Jan 2008 17:13:55 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Shorties]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/</guid>
		<description><![CDATA[<p>Hell Yeah Dude has a great rundown of different types of content you can add to your WordPress blog, and plugins for doing so: flickr, Twitter, Pownce, Tumblr, de.licio.us and more. 12 automatic ways to increase the content on your WordPress powered Web site » Hell Yeah Dude! &#8211; A Web site for young &#38; [...]</p><p>This post was originally published at <a href="http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/">Hell Yeah Dude&#8217;s list of ways to supplement your WordPress content</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/" data-url="http://illum.in/oqXK9X" data-text="Hell Yeah Dude&#8217;s list of ways to supplement your WordPress content" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/"></g:plusone></div></div><p>Hell Yeah Dude has a great rundown of <a href="http://hellyeahdude.com/20080109/12-automatic-ways-to-increase-the-content-on-your-wordpress-powered-web-site/" title="12 automatic ways to increase the content on your WordPress powered Web site">different types of content you can add to your WordPress blog</a>, and plugins for doing so: flickr, <span class="yshortcuts" id="lw_1199985052_0">Twitter</span>, Pownce, Tumblr, <a href="http://de.licio.us/" target="_blank"><span class="yshortcuts" id="lw_1199985052_1">de.licio.us</span></a> and more.</p>
<p><a href="http://hellyeahdude.com/20080109/12-automatic-ways-to-increase-the-content-on-your-wordpress-powered-web-site/">12 automatic ways to increase the content on your WordPress powered Web site » Hell Yeah Dude! &#8211; A Web site for young &amp; inspiring minds</a></p>
<p>This post was originally published at <a href="http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/">Hell Yeah Dude&#8217;s list of ways to supplement your WordPress content</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/shorties/hell-yeah-dudes-list-of-ways-to-supplement-your-wordpress-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Surfing the blogosphere is just like, oh I don&#8217;t know, detecting contaminants in water</title>
		<link>http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/</link>
		<comments>http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/#comments</comments>
		<pubDate>Tue, 30 Oct 2007 08:26:24 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[News & Views]]></category>
		<category><![CDATA[content]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/</guid>
		<description><![CDATA[<p>Some crazy academics have written a very academic paper (PDF) on how you can use the same system to figure out where to put sensors in the water to detect contaminants, and make sure we catch all the good stories in the blogosphere. Oh goody! Basically, all you have to do is exploit submodularity to [...]</p><p>This post was originally published at <a href="http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/">Surfing the blogosphere is just like, oh I don&#8217;t know, detecting contaminants in water</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/" data-url="http://illum.in/odhGry" data-text="Surfing the blogosphere is just like, oh I don&#8217;t know, detecting contaminants in water" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/"></g:plusone></div></div><p>Some crazy academics have written <a href="http://www.cs.cmu.edu/~jure/pubs/detect-kdd07.pdf" title="Cost-effective Outbreak Detection in Networks">a very academic paper (PDF)</a> on how you can use the same system to figure out where to put sensors in the water to detect contaminants, and make sure we catch all the good stories in the blogosphere. Oh goody!</p>
<p>Basically, all you have to do is exploit submodularity to develop an efficient algorithm that scales to large problems, achieving near optimal placements, while being 700 times faster than a simple greedy algorithm [we hate greedy algorithms]. Also, you need to derive online bounds on the quality of the placements obtained by any algorithm. Their algorithms and bounds also handle cases here nodes (sensor locations, blogs) have different costs.</p>
<p>Or, you could just subscribe to <a href="http://www.techcrunch.com/" title="TechCrunch">TechCrunch</a>, <a href="http://www.boingboing.net/" title="BoingBoing">BoingBoing</a>, <a href="http://www.readwriteweb.com/" title="Read/WriteWeb">Read/WriteWeb</a>, and <a href="http://sethgodin.typepad.com/seths_blog/" title="Seth Godin's Blog">Seth Godin&#8217;s Blog</a>. I&#8217;ll have to think about. All that algorithm stuff is so tempting.</p>
<p>This post was originally published at <a href="http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/">Surfing the blogosphere is just like, oh I don&#8217;t know, detecting contaminants in water</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/news-views/surfing-the-blogosphere-is-just-like-oh-i-dont-know-detecting-contaminants-in-water/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Answers.com WordPress plugin creates quick links to definitions</title>
		<link>http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/</link>
		<comments>http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/#comments</comments>
		<pubDate>Fri, 12 Oct 2007 06:45:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[content]]></category>

		<guid isPermaLink="false">http://wordpressgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/</guid>
		<description><![CDATA[<p>Answers.com is a free online service that provides definitions and encyclopedic-entries on millions of topics. (It is also an Israeli company &#8211; I had to add that ). The company has now partnered with Automattic, the guys behind WordPress, with a new plugin for self-hosted WordPress blogs, and with an integrated service on WordPress.com blogs. [...]</p><p>This post was originally published at <a href="http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/">New Answers.com WordPress plugin creates quick links to definitions</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/" data-url="http://illum.in/r1I4z2" data-text="New Answers.com WordPress plugin creates quick links to definitions" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/"></g:plusone></div></div><p><img src="http://wpgarage.com/wp-content/uploads/2007/10/answers_logo_tm2.gif" alt="Answers.com" /></p>
<p><a href="http://answers.com" title="Answers.com">Answers.com</a> is a free online service that provides definitions and encyclopedic-entries on millions of topics. (It is also an Israeli company &#8211; I had to add that <img src='http://wpgarage.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ). The company has now partnered with <a href="http://automattic.com/" title="Automattic">Automattic</a>, the guys behind <a href="http://wordpress.org" title="WordPress">WordPress</a>, with a new <a href="http://wordpress.org/extend/plugins/answerlinks/" title="Answers.com WordPress plugin">plugin</a> for self-hosted WordPress blogs, and with an integrated service on <a href="http://wordpress.com" title="WordPress.com">WordPress.com</a> blogs.</p>
<p>The plugin will add a button to the toolbar that, when clicked, creates an automatic link from a word to its entry on Answers.com. Here&#8217;s the explanation from the <a href="http://money.cnn.com/news/newsfeeds/articles/prnewswire/UKTH05111102007-1.htm" title="Answers.com Partners With WordPress.com">press release</a>:</p>
<blockquote><p>To use the new feature, WordPress.com bloggers will press the AnswerLinks(TM) icon (<a href="http://www.answers.com/main/wordpress_howto.jsp">http://www.answers.com/main/wordpress_howto.jsp</a>) on the WordPress editing toolbar to trigger an application that will suggest terms for automatic linking. Typical suggestions will include names, technical terms or obscure language that may not be familiar to some readers. Only words confirmed by the author will be linked to definitions, assuring full editorial control.</p></blockquote>
<p>I can see how this could be useful; often when I&#8217;m writing about topics that I know many people aren&#8217;t familiar with, I&#8217;ll link key words to their entry on <a href="http://wikipedia.org" title="Wikipedia">Wikipedia</a>. This may be a faster way to provide that type of helpful information to users.</p>
<p>This is also a nice development for Answers.com, who recently bought <a href="http://dictionary.com" title="Dictionary.com">dictionary.com</a> for a bazillion dollars in cash (ok, it&#8217;s more like $100 million, which in my world is a bazillion), a move whose wisdom was questioned by many. I don&#8217;t know if this new partnership will spell success for Answers, but it&#8217;s a move in what seems to be the right direction.</p>
<p>This post was originally published at <a href="http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/">New Answers.com WordPress plugin creates quick links to definitions</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/plugins/new-answerscom-wordpress-plugin-creates-quick-links-to-definitions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The secret to a successful blog: writing good content</title>
		<link>http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/</link>
		<comments>http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/#comments</comments>
		<pubDate>Thu, 12 Apr 2007 20:25:19 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Good Blogging Practice]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://www.wordpressgarage.com/tips/the-secret-to-a-successful-blog-writing-good-content/</guid>
		<description><![CDATA[<p>Ramit over at I Will Teach You To Be Rich reminds us that when all is said and done, a blog&#8217;s success depends on the merit of its content, and not on the quality of its design, stats programs, or all the SEO stuff you do to optimize your site. These things help, but they [...]</p><p>This post was originally published at <a href="http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/">The secret to a successful blog: writing good content</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-counturl="http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/" data-url="http://illum.in/pgdMuP" data-text="The secret to a successful blog: writing good content" data-count="vertical" data-via="wpgarage" data-related="wpgarage"><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/&amp;layout=box_count&amp;show_faces=true&amp;width=50&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/"></g:plusone></div></div><p><a href="http://www.iwillteachyoutoberich.com/blog/i-hate-bloggers-who-waste-their-time-on-stats" title="I hate bloggers who waste their time on stats">Ramit over at I Will Teach You To Be Rich reminds us</a> that when all is said and done, a blog&#8217;s success depends on the merit of its content, and not on the quality of its design, stats programs, or all the SEO stuff you do to optimize your site. These things help, but they won&#8217;t make or break it for you.</p>
<p><a href="http://www.iwillteachyoutoberich.com/blog/i-hate-bloggers-who-waste-their-time-on-stats">I hate bloggers who waste their time on stats&gt;&gt;</a></p>
<p>This post was originally published at <a href="http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/">The secret to a successful blog: writing good content</a> on <a href="http://wpgarage.com">WP Garage</a> - <a href="http://wpgarage.com">WP Garage - wordpress tricks, hacks, and tips</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://wpgarage.com/good-blogging-practice/the-secret-to-a-successful-blog-writing-good-content/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

