Mashups
Home
Pictures
Mashups, including mashups in my blog, any mentions of mashups in my family tree and mashups in Folkestone.
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
Dec22
dj BC presents The Beastles, more mashups... I'm guessing these won't stay up long, I heard the A Night At The Hip-Hopera is gone already, though there seems to be a bit more rebellion regarding hosting copyrighted material... DJ BC says "These mash-ups were made for fun, and as a demonstration of my remixing abilities. The copyright to these source recordings is retained by the original copyright holder. By downloading these tracks you agree to delete them within 48 hours" as if that makes it OK. Even Dave Winer played a Beatles song on his podcast saying people should buy the track from iTunes if they like it. I could be wrong (not used iTunes store) but I don't think there are any Beatles tracks available, and probably permission should remain with the copyright holder, not just anyone who has the means to redistribute it. Maybe now suprnova.org and the like have been shut down we'll see more of this rebellionism. Or maybe The Man will just go after the most vocal types. Lock up all the podcasters, that's the way! I'm cancelling my suscription to all shows except Engadget and Coverville, the rest (even the big names) spend too long going on about what a great new microphone they've got. Mihgt give this one from www.vegan.com a trial though...
Anyway, Beastles tracklisting is:
1. Whatcha Want, Lady?
2. Tripper Trouble
3. Mother Nature's Rump
4. I Feel Fine Right Now
5. Sure-Bla-Di Shot-Bla-Da
6. Mad World Forever
7. Word To The Mic
8. Root Down Reprise
9. Hold It Together Now
Via www.boingboing.net.
Uninstalling Firefox download status bar plugin, doesn't seem to stop the pop up download window, and the statusbar is getting big now... maybe will install a new version later... after I get this great new microphone working properly *crackle*...
Update: There's one Beatles song in the iTunes store. Maybe this is how they keep their prices so high...
2004 :: Comment / reply
Also there's an xml feed of mashups, a JSON feed, and a KML feed of mashups , search my mashups venue info, mashups on Your Folkestone.
Hope you found what you're looking for, if not please leave a message about "mashups".
Add mashups as a venue here, help me out, and the next person.
Google the site here

