<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 04:26:46 +0000</lastBuildDate>
    <item>
      <title>(PHP) Render a CCK field - ihadgraft</title>
      <link>https://snipplr.com/view/69087/render-a-cck-field</link>
      <description>&lt;p&gt;The correct and reliable way to render a CCK field.&#13;
&#13;
Variables used:&#13;
&#13;
* $field_name: the name of the field to render&#13;
* $node: a node object&#13;
* $teaser: TRUE if being rendered for a teaser&#13;
* $page: TRUE if being rendered for a page&lt;/p&gt;</description>
      <pubDate>Thu, 13 Dec 2012 01:00:46 UTC</pubDate>
      <guid>https://snipplr.com/view/69087/render-a-cck-field</guid>
    </item>
    <item>
      <title>(Bash) Dump Drupal database excluding data from temporary storage tables - ihadgraft</title>
      <link>https://snipplr.com/view/69086/dump-drupal-database-excluding-data-from-temporary-storage-tables</link>
      <description>&lt;p&gt;This dumps a database and excludes data from the cache tables, search index and menu router.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Dec 2012 00:53:17 UTC</pubDate>
      <guid>https://snipplr.com/view/69086/dump-drupal-database-excluding-data-from-temporary-storage-tables</guid>
    </item>
    <item>
      <title>(PHP) Implementing hook_views_default_views cleanly - ihadgraft</title>
      <link>https://snipplr.com/view/69085/implementing-hookviewsdefaultviews-cleanly</link>
      <description>&lt;p&gt;This snippet searches a subfolder at views/default_views for any files with a .inc extension.  Place exported views code in a file in views/default_views to have it picked up and included by the function.  This eliminates the mess of trying to keep several long exported views in a single file.&lt;/p&gt;</description>
      <pubDate>Thu, 13 Dec 2012 00:47:04 UTC</pubDate>
      <guid>https://snipplr.com/view/69085/implementing-hookviewsdefaultviews-cleanly</guid>
    </item>
  </channel>
</rss>
