JSON (and particularly JSONP) is one of the most useful data formats for hackers. For quite some time we have had to do all sorts of hackish things to transform the data available from Google services to JSON(P). No longer.
As promised, here is the revised version of my Feed Links Widget. Just click the button and follow the wizard!
Some Notes
Due to circumstances beyond my control, if Blogger changes the URL format for feeds this hack will break (and I will, of course, speed to fix it 😉 ).
If you want to make it easier for others to add this hack, clicking the button below will add the button above to your sidebar.
Bloggeratto and phydeaux3 (and likely others) have blogged about a new one-click widget adding system for Blogger. This system would allow us to create widgets and then just put a button in our blog post that, when clicked, places all the correct code into the user’s template. This is a huge step for ease-of-use, and could also be for prorogation (have users add a widget-adding widget to advertise instead of just linking back, etc.) I’ve taken my look and the system is brilliant. There is, however, one snag.
You cannot define your widget to be of any type, it is simply in the global namespace. This means that, for example, it cannot be done with my Feeds Widget. Why? Some genius in Blogger decided to put that data in the post namespace, and thus make it inaccessible to this new system.
We won’t let a little thing like that spoil our fun now though will we? Brace yourselves for a hack of the mod system! Coming very soon – one click feeds widget (with comments feed link too!)
If there is one hack I get requests for more than any other it is this. My inline comments form on Blogger BETA. It was my first ever hack (before I had even fully moved to Blogger), and probably still my favourite as the most useful. I recently blogged somewhat optimistically about my progress, which only increased the demands. I regret to inform you that I have hit a wall. Perhaps not unsurmountable, but a huge one.
The security token scraping did not work.
I’m not entirely surprised. After all, Blogger added the security token code to prevent people from doing just what I am attempting. I cannot say that I fully understand how the whole technology works, or why my attempts to circumvent it have failed, I only know that they have. It may take help from Blogger themselves (bah!) to get this working.
For the community : to those who wish to put their heads with mine on this problem. The code for this hack on BETA, such as it is for as far as I’ve got, can be found at the following URLs:
As a side note : installing this hack as is actually does sort of work. But it errors every time and requires that the user push the button on the inline form, and then on the other form. (Similar to what is happening here since I was forced by mega-spammers to turn on word verification…)
Version 0.16 of my YubNub LocationBar Firefox Extension has been released. There is now support for non-standard URLs (such as those from nic.d. Arrow-key history navigation broke some default Firefox features, so it is now Ctrl+Arrow Key. A hackish integration with Firefox auto-complete history has also been coded. Type y: before a command to have the auto-complete work (or just to force it into YubNub mode).