<?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>Tue, 09 Jun 2026 18:49:04 +0000</lastBuildDate>
    <item>
      <title>(jQuery) Generic concertina class - paulo72</title>
      <link>https://snipplr.com/view/58085/generic-concertina-class</link>
      <description>&lt;p&gt;The containing object takes the class 'conc-scope'. This says that any 'conc-trigger' inside this object will open and close any 'conc-content'. This allows for greater flexibility with the markup.&#13;
   We can also set a class of 'conc-exclusive' on the root (where we set the scope). This will ensure that as one concertina opens any other currently open ones will close. This is currently a bit crude in terms of the animation.&#13;
    You can also set a class of conc-default on the root of any concertina that you want to be open as default when the page loads.&#13;
   If you want to have a different label to show when the concertina is active, and again when it is inactive add the spans seen in the markup for the trigger.&#13;
&#13;
Todo: make accessible by hiding triggers in screenreader and ensuring content is only visually hidden.&#13;
&#13;
Mandatory:&#13;
.conc-scope&#13;
   .conc-trigger&#13;
   .conc-content&#13;
&#13;
Optional&#13;
.conc-exclusive&#13;
.conc-default&#13;
.active-message&#13;
.inactive-message&lt;/p&gt;</description>
      <pubDate>Mon, 22 Aug 2011 19:02:19 UTC</pubDate>
      <guid>https://snipplr.com/view/58085/generic-concertina-class</guid>
    </item>
    <item>
      <title>(PHP) Image blacklist - test a string against a blacklist in PHP - paulo72</title>
      <link>https://snipplr.com/view/58061/image-blacklist--test-a-string-against-a-blacklist-in-php</link>
      <description>&lt;p&gt;I was working on a site that pulled in and republished a bunch of RSS feeds. Some contained duff images such as blank gifs that I needed to block so I wrote this function to compare the url of an image against a blacklist&lt;/p&gt;</description>
      <pubDate>Sat, 20 Aug 2011 23:36:08 UTC</pubDate>
      <guid>https://snipplr.com/view/58061/image-blacklist--test-a-string-against-a-blacklist-in-php</guid>
    </item>
  </channel>
</rss>
