Popular & practical recipes anyone can cook...

Recipe feeds

Secret Sauce offer interested website owners an easy way to get updated content on their web sites. Our JavaScript feed allows you to pull in the 10 latest items added here with very little effort at your end.

See an example of an unstyled feed »

Step 1: Collect our links

Add the following at the top of your page, preferably in the the head. It is a call to a script on Secret Sauce that picks up the latest content ready to be styled for your web site:

<script type="text/javascript" src="http://secretsauce.co.uk/feeds/js/"> </script>

Step 2: Style it ready for your template

Put this code in your template where you want our links to appear. You can style this as much as you like to make it fit with the rest of your template. If you just want a basic format, copy and paste the following:

<script type="text/javascript">

//<![CDATA[

var i = '0';
for (i in teasers) {
   document.writeln( '<h2><a href="' + teasers[i].url + '">' + teasers[i].title + '</a></h2>'
   + '<p>' + teasers[i].teaser + '<br />'
   + '<span class="small">Added on ' + teasers[i].date + '</span></p>' );
   i++;
}

//]]>

</script>

Advanced options

You can control the number of returned results by adding to the code. The example below will return 10 results. The maximum you can return is 20:

<script type="text/javascript" src="http://secretsauce.co.uk/feeds/js/?number=10"> </script>

You can return results from a specific category using the example below:

<script type="text/javascript" src="http://secretsauce.co.uk/feeds/js/?cat=cat+name"> </script>

New on Secret Sauce

  • Chocolate dipped strawberries Chocolate dipped strawberries
    Viva strawberries and chocolate are a match made in heaven and make a delicious treat and a healthier alternative to a bar of chocolate.
    15th Mar 2015 at 1:55pm in cakes & desserts
  • Fenland celery, herb & bacon parcels
    Fenland celery tastes delicious when roasted. Cooking it in little parcels keeps all the flavours and lovely juices in. Try this easy recipe for family suppers, children love anything wrapped up!
    15th Mar 2015 at 1:55pm in meat & poultry
  • Strawberry & almond macaroons
    Macaroons are the perfect dessert to follow a romantic dinner - the perfect treat!
    10th Feb 2015 at 8:41pm in cakes & desserts

Food poll

Do you buy organic food?