<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - crypticsoft</title>
<link>http://snipplr.com/users/crypticsoft</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 23 May 2013 10:56:44 GMT</pubDate>
<item>
<title>(PHP) REST API products and categories from pinnacleCart</title>
<link>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</link>
<description><![CDATA[ <p>This is a useful class which utilizes Phil Sturgeon's helpful restclient (http://getsparks.org/packages/restclient/versions/HEAD/show). Reference the URL attached for PinnacleCart API docs.

Example request URLs to get products and categories:

# Get product by product_id (XX##) or keyword(s)
~/products/getProducts/search/10/oj70/oj77/oj75

# Recently added products by CategoryID (/cID/batchSize)
~/products/getProductsByCategory/92/10

# Recently added product images by CategoryID (/cID/batchSize) 
-- This was to remove the 'Description' key/value for slide shows
~/products/getProductImagesByCategory/92/10

# Recently added products by limit
~/products/getRecentlyAdded/20

# Get all categories
~/products/getCategories</p> ]]></description>
<pubDate>Sat, 18 Aug 2012 02:50:58 GMT</pubDate>
<guid>http://snipplr.com/view/66798/rest-api-products-and-categories-from-pinnaclecart/</guid>
</item>
<item>
<title>(PHP) Limit WordPress the_content by words</title>
<link>http://snipplr.com/view/65744/limit-wordpress-thecontent-by-words/</link>
<description><![CDATA[ <p>I need this function all too often and figured I'd share it. Limit the_content() by word limit by using built in WordPress functions.</p> ]]></description>
<pubDate>Fri, 22 Jun 2012 02:14:14 GMT</pubDate>
<guid>http://snipplr.com/view/65744/limit-wordpress-thecontent-by-words/</guid>
</item>
<item>
<title>(PHP) WordPress Portfolio Custom Post Type Filtering</title>
<link>http://snipplr.com/view/65701/wordpress-portfolio-custom-post-type-filtering/</link>
<description><![CDATA[ <p>Here is a quick example on how to generate your own portfolio with filtering based on a taxonomy (in this case 'Solutions').</p> ]]></description>
<pubDate>Tue, 19 Jun 2012 09:25:30 GMT</pubDate>
<guid>http://snipplr.com/view/65701/wordpress-portfolio-custom-post-type-filtering/</guid>
</item>
<item>
<title>(PHP) RSS Feed Caching</title>
<link>http://snipplr.com/view/65477/rss-feed-caching/</link>
<description><![CDATA[ <p>Note: This also uses a flat file to cache the results, be sure to also upload the 'rss_cache.txt' file. 

Usage:
</p> ]]></description>
<pubDate>Fri, 08 Jun 2012 09:23:58 GMT</pubDate>
<guid>http://snipplr.com/view/65477/rss-feed-caching/</guid>
</item>
<item>
<title>(JavaScript) twitter bootstrap button toggle</title>
<link>http://snipplr.com/view/65344/twitter-bootstrap-button-toggle/</link>
<description><![CDATA[ <p>Include twitter bootstrap, as of this writing is at v2.0.4 and the following JS / html to your page and also uses Glyphicons.</p> ]]></description>
<pubDate>Sun, 03 Jun 2012 03:31:01 GMT</pubDate>
<guid>http://snipplr.com/view/65344/twitter-bootstrap-button-toggle/</guid>
</item>
<item>
<title>(PHP) Meteor Slides : WordPress Plugin : Adding Excerpt for Slides</title>
<link>http://snipplr.com/view/65267/meteor-slides--wordpress-plugin--adding-excerpt-for-slides/</link>
<description><![CDATA[ <p>For when you really just need a short description field along with a title for your slideshows. Just drop this into the functions.php and meteor-slideshow.php in the theme folder.</p> ]]></description>
<pubDate>Wed, 30 May 2012 08:10:43 GMT</pubDate>
<guid>http://snipplr.com/view/65267/meteor-slides--wordpress-plugin--adding-excerpt-for-slides/</guid>
</item>
<item>
<title>(PHP) Parse PHP files into ASP extensions</title>
<link>http://snipplr.com/view/65195/parse-php-files-into-asp-extensions/</link>
<description><![CDATA[ <p>For those cases where you want to code in PHP but need to deploy to ASP. It doesn't account for php logic but only converts the php include() statements into SSI includes. Could be useful for converting basic websites from php to asp, rare but it happens :)</p> ]]></description>
<pubDate>Sat, 26 May 2012 02:13:00 GMT</pubDate>
<guid>http://snipplr.com/view/65195/parse-php-files-into-asp-extensions/</guid>
</item>
<item>
<title>(PHP) WordPress Links Manager - Display a random link from a category</title>
<link>http://snipplr.com/view/64494/wordpress-links-manager--display-a-random-link-from-a-category/</link>
<description><![CDATA[ <p>Sometimes you just want a random link to display and outside of the default format, this works perfectly and removes all default html (list items / headings).</p> ]]></description>
<pubDate>Wed, 11 Apr 2012 04:08:22 GMT</pubDate>
<guid>http://snipplr.com/view/64494/wordpress-links-manager--display-a-random-link-from-a-category/</guid>
</item>
<item>
<title>(PHP) WordPress Query Taxonomy by ID</title>
<link>http://snipplr.com/view/63640/wordpress-query-taxonomy-by-id/</link>
<description><![CDATA[ <p>When you create a custom post type and need to query by ID then you can pass in the 'field' and the 'terms' with the ID for that post type.</p> ]]></description>
<pubDate>Thu, 01 Mar 2012 00:09:18 GMT</pubDate>
<guid>http://snipplr.com/view/63640/wordpress-query-taxonomy-by-id/</guid>
</item>
<item>
<title>(CSS) Styled Select Menus</title>
<link>http://snipplr.com/view/62659/styled-select-menus/</link>
<description><![CDATA[ <p>For those times when you just need a quickly styled select menu with css.</p> ]]></description>
<pubDate>Fri, 20 Jan 2012 05:25:04 GMT</pubDate>
<guid>http://snipplr.com/view/62659/styled-select-menus/</guid>
</item>
<item>
<title>(jQuery) Deferred with $.when help and template example</title>
<link>http://snipplr.com/view/51184/deferred-with-when-help-and-template-example/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Mar 2011 01:30:54 GMT</pubDate>
<guid>http://snipplr.com/view/51184/deferred-with-when-help-and-template-example/</guid>
</item>
<item>
<title>(jQuery) Cache AJAX Response</title>
<link>http://snipplr.com/view/51183/cache-ajax-response/</link>
<description><![CDATA[ <p>Basically, if the value has already been requested once before it's returned immediately from the cache. Otherwise, an AJAX request fetches the data and adds it to the cache. The $.when/.then doesn't care about any of this; all you need to be concerned about is using the response, which is passed to the .then() handler in both cases.

Deferreds are perfect for when the task may or may not operate asynchronously, and you want to abstract that condition out of the code.</p> ]]></description>
<pubDate>Mon, 28 Mar 2011 01:28:32 GMT</pubDate>
<guid>http://snipplr.com/view/51183/cache-ajax-response/</guid>
</item>
<item>
<title>(Smarty) Smarty Template : Multiple Column Loop</title>
<link>http://snipplr.com/view/50415/smarty-template--multiple-column-loop/</link>
<description><![CDATA[ <p>Take array and create multiple columns, define divisible by value ($divis) from total results then use modulus within the loop. This example shows multiple columns for unordered list items.</p> ]]></description>
<pubDate>Thu, 10 Mar 2011 04:15:56 GMT</pubDate>
<guid>http://snipplr.com/view/50415/smarty-template--multiple-column-loop/</guid>
</item>
<item>
<title>(JavaScript) parse wordpress RSS feed using ajax / jquery</title>
<link>http://snipplr.com/view/50152/parse-wordpress-rss-feed-using-ajax--jquery/</link>
<description><![CDATA[ <p>* Set your local path to the wordpress install, in my case was: "/blog/feed"
* Edit the var contain = make it set to the selector, in my case I'm populated a list tag .
* Edit the var limit = 5; Set the amount of blog posts you want to display.</p> ]]></description>
<pubDate>Sun, 06 Mar 2011 10:47:08 GMT</pubDate>
<guid>http://snipplr.com/view/50152/parse-wordpress-rss-feed-using-ajax--jquery/</guid>
</item>
<item>
<title>(JavaScript) get twitter feed using json / jquery</title>
<link>http://snipplr.com/view/50151/get-twitter-feed-using-json--jquery/</link>
<description><![CDATA[ <p>Note: replace "USERNAME" with your own twitter username.
This is using cycle plugin with easing which is applied after the tweets are populated.</p> ]]></description>
<pubDate>Sun, 06 Mar 2011 10:40:39 GMT</pubDate>
<guid>http://snipplr.com/view/50151/get-twitter-feed-using-json--jquery/</guid>
</item>
<item>
<title>(PHP) Check for href in string</title>
<link>http://snipplr.com/view/50030/check-for-href-in-string/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Mar 2011 08:39:59 GMT</pubDate>
<guid>http://snipplr.com/view/50030/check-for-href-in-string/</guid>
</item>
<item>
<title>(PHP) Wordpress : Custom columns for edit / post views in the admin</title>
<link>http://snipplr.com/view/49895/wordpress--custom-columns-for-edit--post-views-in-the-admin/</link>
<description><![CDATA[ <p>The code references a custom post type (mysite_listings) and adds custom columns for editing the listings in the admin. This adds custom fields onto the edit / list views.

Note: You will want to change instances of "mysite_listings" with your own post type as well update the column I've defined to match your own.</p> ]]></description>
<pubDate>Wed, 02 Mar 2011 07:25:23 GMT</pubDate>
<guid>http://snipplr.com/view/49895/wordpress--custom-columns-for-edit--post-views-in-the-admin/</guid>
</item>
<item>
<title>(PHP) Wordpress : Register Post Type and Taxonomy</title>
<link>http://snipplr.com/view/49893/wordpress--register-post-type-and-taxonomy/</link>
<description><![CDATA[ <p>Example shows how to  register post types for : 
* Listings (defined as 'mysite_listings' with the rewrite slug 'lookup')
* Then registers the 'usa_states' taxonomy to the mysite_listings post type.</p> ]]></description>
<pubDate>Wed, 02 Mar 2011 07:15:27 GMT</pubDate>
<guid>http://snipplr.com/view/49893/wordpress--register-post-type-and-taxonomy/</guid>
</item>
<item>
<title>(jQuery) yqlQuery wrapper function</title>
<link>http://snipplr.com/view/49891/yqlquery-wrapper-function/</link>
<description><![CDATA[ <p>Thanks to thinkvitamin.com for the wrapper / video!
http://membership.thinkvitamin.com/library/tools/yql/javascriptjquery-example</p> ]]></description>
<pubDate>Wed, 02 Mar 2011 06:52:12 GMT</pubDate>
<guid>http://snipplr.com/view/49891/yqlquery-wrapper-function/</guid>
</item>
<item>
<title>(jQuery) Remove duplicate elements</title>
<link>http://snipplr.com/view/49716/remove-duplicate-elements/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 26 Feb 2011 06:50:36 GMT</pubDate>
<guid>http://snipplr.com/view/49716/remove-duplicate-elements/</guid>
</item>
</channel>
</rss>