. */ 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'); ?> roasted red peppers – Inspired2cook.com

Archives: roasted red peppers

Roasted Red Pepper and Tomato Soup with Basil Cream

March 7, 2012 | By andrea | 1 Comment | Filed in: Quick Cooking, Recipes, Soup/Stew.

This is one of my favorite homemade tomato soup recipes. The roasted red peppers, tomatoes and fresh basil are a natural combination. Plus, it’s super easy to make and is great with grilled cheese or panini sandwiches. Yum! After the soup has simmered, puree it in batches in a blender. Blender Tip: If the soup is • Read More »

Tags: , , , , , , ,

Roast Turkey Panini with Pesto, Roasted Red Peppers and Fontina

December 11, 2011 | By andrea | 2 Comments | Filed in: Quick Cooking, Recipes, Sandwich, Thanksgiving, Turkey.

This delicious sandwich is a great way to use up leftover roast turkey or chicken. I loved the melty fontina cheese, the slightly sweet roasted red peppers, and the pop of  fresh flavor from the pesto. This sandwich is worth roasting a turkey (or chicken) for! If you can’t find fontina, substitute another mild cheese • Read More »

Tags: , , , , ,

Broiled Chicken Thighs with Chipotle Sauce

February 16, 2011 | By andrea | Comments Off on Broiled Chicken Thighs with Chipotle Sauce | Filed in: Chicken, Main Dish, Mexican, Quick Cooking, Recipes, Southwestern.

I love a meal that delivers bold flavors without much work! This Mexican-inspired recipe is just that kind of dish: flavorful spice-rubbed chicken thighs served with a chipotle-spiked, garlicky roasted red pepper sauce. Delish! I didn’t have ground chipotle chile (available in the spice aisle) so I substituted about 1/2 teaspoon of chopped canned chipotle chile (in adobo sauce) • Read More »

Tags: , , ,

Turkey and Roasted Red Pepper Panini

January 18, 2011 | By andrea | 5 Comments | Filed in: Italian, Quick Cooking, Recipes, Sandwich, Turkey.

I make paninis all the time now that I have an electric panini grill. Even though they’re really just a glorified grilled cheese sandwich, I get raves every time I make them for family and friends. This particular recipe is a good example of simple ingredients that yield tasty results: turkey breast, roasted red peppers, melty cheese, • Read More »

Tags: , , , , , , ,

Grilled Swiss Cheese, Tuna and Red Pepper Sandwiches

March 11, 2010 | By andrea | 1 Comment | Filed in: Quick Cooking, Recipes, Sandwich, Seafood.

This delicious sandwich is basically a fancy tuna melt. The addition of roasted red peppers, red onions and a little fresh lemon juice all piled inside a grilled Italian roll makes for an exciting variation on a lunch-time classic. The recipe calls for tuna packed in olive oil, a more flavorful variety than water-packed tuna.   Since • Read More »

Tags: , , , , , , ,

Steak Sandwich with Chimichurri Mayo

February 9, 2010 | By andrea | Comments Off on Steak Sandwich with Chimichurri Mayo | Filed in: Beef, Recipes, Sandwich.

Here’s a hearty sandwich that will make a meat-lover happy! However, my favorite part was the Chimichurri Mayo, a delicious combination of chopped parsley, red onion, garlic, red wine vinegar and mayonnaise. Yumm! I pretty much followed the recipe except for substituting red onions for the shallot in the chimi mayo. To slice the cooked steak, • Read More »

Tags: , , , ,

Salami, Fontina and Roasted Bell Pepper Panini

May 11, 2009 | By andrea | Comments Off on Salami, Fontina and Roasted Bell Pepper Panini | Filed in: Quick Cooking, Recipes, Sandwich.

I made this panini for lunch recently. Basically, a panini is just a glorified grilled cheese sandwich filled with any combination of cheeses, meats, and/or vegetables…crunchy on the outside, oozing with melted cheese on the inside. Yumm! Paninis are usually made with a panini press (electric or stove-top) but I say you can still make these • Read More »

Tags: , , , , , ,