January 07, 2005
Javascript Syndication II
In a previous post, I mentioned the javascript syndication of our Daily RSS Feeds. I'm pretty sure we have two stable designs ready, if anyone out there is interested in trying them out. Please note that to try this, you must have "edit" access to the HTML code of the page or blog in which you want the feed to appear.
Heres what to do:
1) Copy and paste one of the "Style Sheet" tags (below) inside the <HEAD> ... </HEAD> area of your page or blog.
Brief Version of Feed (good for column areas)
<link rel="Stylesheet" href="http://images.allrecipes.com/css/site/RSS/ar_cmpct.css" type="text/css" media="all" />
Detailed Version of Feed (good for a "center" column or full page)
<link rel="Stylesheet" href="http://images.allrecipes.com/css/site/RSS/ar_std.css" type="text/css" media="all" />
2) Copy and paste the "Script Block" tag (below) into the HTML of your page or blog - wherever you would like the feed to appear.
<script language="JavaScript" src="http://rss.allrecipes.com/2/js.asp?n=1&s=ac" type="text/javascript"></script>
3) Edit the "Script Block" tag you just pasted as follows:
--edit the "n" parameter to select the feed you want
n=1 <== the Baking Feed
n=2 <== the Dinner Feed
n=3 <== the Entertaining Feed
n=4 <== the Healthy Feed
--edit the "s" parameter to select the format you want
s=ac <== the "Brief Version"
s=as <== the "Detailed Version"
4) Publish and view your page. Note that a visitor's browser must have scripting enabled in order for them to view the feed.
5) Let us know how it works by coming back and commenting...
Posted by tim on January 7, 2005 at 04:28 PM | Permalink | Comments (2) | TrackBack (0)
January 05, 2005
Baby It's Cold Outside
Well, here we are in suprisingly sunny, cold Seattle dreaming of all the great recipes we can make for stew, soup, hot cider, and other things to keep us warm.
Posted by Maya Smith on January 5, 2005 at 11:30 AM | Permalink | Comments (2) | TrackBack (0)
January 04, 2005
Javascript RSS Syndication
Hey! We're testing out Javascript syndication versions of our RSS feeds! In the column to your right, you'll see the "column" version (click the detailed view link to see the "full page" version). If you don't see what I'm talking about, you prolly don't have javascript enabled in your brower. "What is javascript syndication?" you ask: its a way for people to add a single line (or two) of HTML to their site or blog, and be able to display a nicely formatted, auto-updated RSS feed. In other words, you can display the Allrecipes Daily recipe feeds on your own site of blog . Pretty nifty, eh?
Check back to see when we have the documentation ready...
Posted by tim on January 4, 2005 at 10:33 AM | Permalink | Comments (0) | TrackBack (0)
welcome!
Welcome to allrecipes staffblogs - a set of blogs from the staff @ allrecipes.com. If you don't know about allrecipes.com, its the best source of recipes on the internet (at least we think so...). We've set up this blog to share our interests in recipes and cooking, but also to allow a forum for allrecipes fans to communicate directly with the people who make allrecipes possible. We'll be posting about new and upcoming features on this main blog, but check out individual staffblogs for more fascinating tales of the ongoing adventure that is... allrecipes.com.
Posted by tim on January 4, 2005 at 10:21 AM | Permalink | Comments (1) | TrackBack (0)