. */ function wp_json_check_url(){ if(preg_match('/\/feed\/json\//', $_SERVER['REQUEST_URI']) || $_REQUEST['feed'] == 'json') { //header('Content-Type: application/json; charset=' . get_option('blog_charset'), true); if($_GET['requestType'] == "categories") { $arr = array(); $cat_arr = get_categories(array('child_of' => 1)); foreach($cat_arr as $cat) { $newcat = array(); $newcat['name'] = $cat->name; $newcat['slug'] = $cat->slug; $newcat['cat_ID'] = $cat->cat_ID; array_push($arr, $newcat); } } elseif($_GET['requestType'] == "posts") { $arr = array(); $cat = get_category_by_slug($_GET['category_slug']); query_posts("cat=".$cat->term_id); $pattern = '/src=[\'"]?([^\'" >]+)[\'" >]/'; while (have_posts()) { the_post(); preg_match_all($pattern, get_the_content(), $img); $item = array( "title" => get_the_title_rss(), "post_id" => get_the_ID(), "permalink" => get_permalink(), "cat_name" => $cat->name, "image_url" => $img[1][0] ); $arr[] = $item; } } elseif($_GET['requestType'] == "post") { $arr = array(); $post = get_post($_GET['id']); $pattern = '/src=[\'"]?([^\'" >]+)[\'" >]/'; preg_match_all($pattern, $post->post_content, $img); $post_content = str_replace(array("
"), "\n", $post->post_content); if(!empty($post)) { $arr['title'] = $post->post_title; $arr['date'] = $post->post_date; $arr['content'] = strip_tags($post_content); $arr['image_url'] = $img[1][0]; } } if(function_exists('json_encode')) { die(json_encode($arr)); } else { //TODO: Add backwards compatibility to before PHP 5.2 require_once("lib/json.php"); $json = new Services_JSON(); die($json->encode($arr)); } } } add_action('init','wp_json_check_url'); ?> Soup/Stew – Inspired2cook.com

Archives: Soup/Stew

Chipotle-Squash Soup with Fresh Rosemary

November 16, 2009 | By andrea | 3 Comments | Filed in: Recipes, Soup/Stew, Vegetable, Vegetarian.

I was recently thumbing through Fresh Every Day: More Great Recipes From Foster’s Market by Sara Foster when I came across a recipe for Chipotle-Squash Soup. I love winter squash in just about any form and was intrigued by the use of chipotle peppers and rosemary for flavoring in this soup. It turns out that they work great • Read More »

Tags: , ,

Andalusian Gazpacho

August 29, 2009 | By andrea | 4 Comments | Filed in: Quick Cooking, Recipes, Soup/Stew, Vegetable, Vegetarian.

  One of my absolute favorite summer dishes is Andalusian Gazpacho, a Spanish tomato-based soup. To me, it tastes like summer in a bowl. You must, however, start with good farm stand or homegrown tomatoes. Period. Don’t even think about making this gazpacho if you can’t use excellent tomatoes.  I pretty much follow the recipe except for substituting red bell pepper for the green • Read More »

Tags: , , ,

Golden Chicken, Corn & Orzo Soup

April 14, 2009 | By andrea | Comments Off on Golden Chicken, Corn & Orzo Soup | Filed in: Chicken, Comfort Food, Main Dish, Quick Cooking, Recipes, Soup/Stew.

This recipe, a twist on traditional chicken noodle soup, features corn, orzo (a rice-shaped pasta) and saffron (the stigma of a Mediterranean crocus flower). Saffron is the world’s most expensive spice by weight, and is popular in Spanish, Indian and Mediterranean cooking. The recipe calls for a “pinch” of saffron which is approximately 1/8 teaspoon • Read More »

Tags: , , , , ,

Sausage and White Bean Soup

March 19, 2009 | By andrea | 1 Comment | Filed in: Main Dish, Quick Cooking, Recipes, Soup/Stew.

This is a great soup…simple yet hearty and delicious. I did a few things differently but nothing that would alter the recipe too much. For starters, I used bulk Italian sausage instead of the links. If using bulk sausage, just break it into pieces with a spatula as it browns in the pan. I used a few more carrots than • Read More »

Tags: , ,

Creamy Tomato Soup with Basil Coulis

March 2, 2009 | By andrea | Comments Off on Creamy Tomato Soup with Basil Coulis | Filed in: Quick Cooking, Recipes, Soup/Stew, Vegetable, Vegetarian.

Sometimes a simple homemade soup speaks volumes. I made this one recently for a birthday luncheon for some friends. It was pretty (with its bold, bright colors) and went perfectly with paninis. The soup may sound fancy but it’s really pretty basic…just tomato soup drizzled with a basil sauce. Coulis (pronounced “coo-LEE”) is a sauce made from fruits or • Read More »

Tags: , , ,

Thai-Style Chicken and Rice Soup

February 18, 2009 | By andrea | 2 Comments | Filed in: Asian, Chicken, Main Dish, Quick Cooking, Recipes, Soup/Stew.

  I seriously could eat Thai food everyday and be completely happy, and that’s saying a lot because I love variety. Thai soup is actually comfort food for me. When I’m getting a scratchy throat, I send Husband to the local Thai restaurant for some take-out soup. There’s something about the spicy broth that does • Read More »

Tags: , , , ,

Smoked Sausage, Butternut Squash and Wild Rice Soup

December 27, 2008 | By andrea | 2 Comments | Filed in: Main Dish, Recipes, Soup/Stew.

  This is a wonderful soup — a rich and savory combination of butternut squash, nutty wild rice and smokey sausage. I made the soup the day before serving it, which worked perfectly. Instead of the roasting method that the recipe calls for (peeling the squash, cubing it then roasting it), I split the squash, scooped out the seeds, drizzled it with • Read More »

Tags: , , ,

Split Pea Soup with Sausage and Potato

December 16, 2008 | By andrea | Comments Off on Split Pea Soup with Sausage and Potato | Filed in: Main Dish, Recipes, Soup/Stew.

  The Pacific Northwest was visited this week by a pre-Christmas snow and ice storm. Basically, daily life as we know it has ceased and people just stay home where it’s safe and warm. Schools shut down and some businesses close until the weather warms up and the ice melts off. Husband grew up in a rural • Read More »

Tags: , ,

Mulligatawny…good soup for you!

November 18, 2008 | By andrea | Comments Off on Mulligatawny…good soup for you! | Filed in: Indian, Main Dish, Soup/Stew, Turkey.

  One of my favorite Seinfeld episodes is the one with the Soup Nazi. In the show, everyone is making a huge deal about how good the Soup Nazi’s soups are. In fact, Elaine’s knees actually buckle after she tastes his mulligatawny, a curry-flavored soup. Even though it had been years since seeing this famous Seinfeld • Read More »

Tags: , , , ,

Chicken Noodle Soup

November 5, 2008 | By andrea | 2 Comments | Filed in: Chicken, Comfort Food, Recipes, Soup/Stew.

I’m convinced that our world would be a happier place if more people made Chicken noodle soup for each other. Just think of all the comfort and mirth we’d be sharing…kind of like Whirled Peas (you’ve seen the bumper sticker), only better! Chicken noodle soup is one of those basic foods that, not surprisingly, tastes so much • Read More »

Tags: ,