Main Blog Rss
Home
Pictures
Main Blog Rss, including main blog rss in my blog, main blog rss in Folkestone, and any mentions of main bl0g rss in my family tree. Also there's a feed of main blog rss stories / mentions, a JSON feed of main blog rss, a newer KML feed of main blog rss , search my main blog rss venue info, main blog rss on Your Folkestone. Hope you can find what you're looking for, if not please leave a message about main blog rss.
Blog / forum etc:
Nov22
Pictures
Some javascript messing about
Oh that'll come in handy for all those mashups based around me you've been planning... Not a straight feed of what I post every day, it searches the content of the site, probably seven or eight years worth of postings now.
JSON is "javascript object notation" btw (if you have no interest in javascript best stop reading now), presenting information in such a format you can slot it straight into a script without any more processing needed. XML is great for passing info around the web, except that AJAX requests specifically block you from fetching XML from another website, but you can call javascript from anywhere happily.
It works in the same way as the xml feeds, construct your call to my JSON API (ooh, get me) like this:http://www.clarkeology.com/javascript/your_callback_goes_here/squirrel+and+magpie.js
And that'll return something like:callback_goes_here( [{guid:10701,
link:"http://www.clarkeology.com/m/10701/10701/New+JSON+feed+of+my+blog",
title:"New JSON feed of my blog",
description:"Oh that'll come in handy for all those mashups based around me you've been planning... Not a straigh",
category:["javascript",
"json",
"feed",
"xml"],
geo:{lat:51.0800,
lon:1.1645}},
{guid:10278,
link:"http://www.clarkeology.com/m/10278/10278/Mods+and+rockers+all+over+again",
title:"Mods and rockers all over again",
description:"Yesterday I saw a turf war in Folkestone, a ferocious battle between six magpies and three squirrels",
geo:{lat:51.0800,
lon:1.1645}},
{guid:63,
link:"http://www.clarkeology.com/m/63/63/arcade+games",
title:"arcade games",
description:"Walked the long way round Listria Park on the way to Church Street today, and saw two magpies and a",
geo:{lat:51.0800,
lon:1.1645}}] )
Hmm, will reformat that later so it looks nicer here (don't know where all those backslashes came from, they're not there in the real json), and also I should investigate if there is an rss style standard for json blog feed, it's all very well me saying "my blog titles are called mSubject" but if no-one else is using that it's not really going to catch on for blogs... If you don't know what that is, then just come back later, I'm sure to post something about squirrels again soon.
To use these feeds of mine, you want to put some javascript on your page that grabs that feed and does something with it. If you're using the newer version of jquery.com say, you can whack some of my content into your page like this:
// hmm, bah just realised I've done something fundamentally unhelpful, I really do need to have "callback=" in my standard js url to fit in with other people's requirements...
$.getJSON("http://www.clarkeology.com/javascript/callback_goes_here/search.js jsoncallback=?",
function( js ){
for ( var i in js ) {
$('body').append( '<' + 'h2>' + js[i].title + '<' + '/a><' + '/h2><' + 'p>' + js[i].description + '<' + '/p>' ); }
});
I'm doing that on yourfolkestone.com/javascript
Will be extending this to cover other content soon, ie a list of pubs local to a particular postcode or something like that, won't that be nice?
2007 :: Comment / reply
Jul19
UPDATE UPDATE UPDATE: All that info below is well out of date, I do have a new PHP based RSS querying thing which I'm using in my AJAX apps now.
Just reasserting what I'm doing with RSS here... my list of feeds from this site can be found here, and here's popex rss. My main blog RSS is at www.clarkeology.com/rss.xml, if you only understand the little graphics here's some: www.clarkeology.com/img/upload/rss2.gif www.clarkeology.com/img/upload/xml.gif www.clarkeology.com/img/icon/firefoxrss.gif.
So what's RSS? Here's my go at explaining it, basically if you have a site that regularly publishes any sort of content (examples of this could be popex news, popex board latest stories, latest stalking heads, etc) then as well as publishing it as a webpage or whatever, you should publish this info in an especially strict format so that any script / bot thing can come along and recognise exactly what's going on... so the RSS for this board is here. So someone else's site could grab that file and syndicate that content. You can get a RSS reader plugin for Firefox, so you can save RSS as a bookmark and then view them in there... More than that you can get an RSS reader for the IPOD, this is where I got really interested in it. So every day when my IPOD's in it's cradle it's synchronising with various RSS feeds, so that I can read the latest on popex, barfly, popbitch, engadget and all my faves while I'm on the bus or tube... SMART! Update: I'm now using Pocket RSS to synchronise my Pocket PC in the same way.
Got a few other RSS feeds tucked around the place you might have to search for them, won't that be rewarding?.
