<?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 02:50:06 +0000</lastBuildDate>
    <item>
      <title>(PHP) Shorten HTML text - a1ias</title>
      <link>https://snipplr.com/view/146522/shorten-html-text</link>
      <description>&lt;p&gt;Shorten text while preserving the HTML tags. Useful for news and articles preview.&lt;/p&gt;</description>
      <pubDate>Wed, 30 Mar 2016 01:53:20 UTC</pubDate>
      <guid>https://snipplr.com/view/146522/shorten-html-text</guid>
    </item>
    <item>
      <title>(PHP) Simple PHP cache technique - a1ias</title>
      <link>https://snipplr.com/view/91497/simple-php-cache-technique</link>
      <description>&lt;p&gt;This is a little code snippet that I use in almost every project that isnâ€™t based on a popular CMS. Since its fairly expensive to hit the database on every page load, its a smart idea to cache the plain HTML markup of your page and serve that up. You can set how often the page cache is flushed out depending on how often you update your siteâ€™s content.&lt;/p&gt;</description>
      <pubDate>Tue, 24 Feb 2015 19:19:41 UTC</pubDate>
      <guid>https://snipplr.com/view/91497/simple-php-cache-technique</guid>
    </item>
    <item>
      <title>(PHP) Remove duplicates from multi-dimensional array 2 - a1ias</title>
      <link>https://snipplr.com/view/85433/remove-duplicates-from-multidimensional-array-2</link>
      <description>&lt;p&gt;Works with any array&lt;/p&gt;</description>
      <pubDate>Tue, 30 Dec 2014 01:04:52 UTC</pubDate>
      <guid>https://snipplr.com/view/85433/remove-duplicates-from-multidimensional-array-2</guid>
    </item>
  </channel>
</rss>
