Subscribe: Singpolyma - Technical Blog
Added By: Feedage Forager Feedage Grade B rated
Language: English
blog  blogger  code  cond data  data  new blogger  new  paul weber  rights reserved  script  stephen paul  weber rights  widgetdata 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Singpolyma - Technical Blog

Singpolyma - Technical Blog

Last Build Date: Fri, 03 Oct 2014 05:54:43 +0000


Error: Blogger Disassemble

Tue, 27 Feb 2007 15:15:00 +0000

Just FYI to my readers - I cannot access the Blogger posting interface. This has been a problem on and off for the last six months and seems to be a problem with my ISP. I've used a proxy to get around it in the past, but Blogger's new security features make that not work.

I can edit my template, but I can't edit my posts. I'm posting this from Flock. Flock does not support Blogger labels, and thus all I am getting are Technorati links in my post footer. Old posts that should be updated with new information cannot be. I will try to do some of that from school, but I cannot from home.

I apologise for the inconvenience.


FreshTaggy Goodness

Tue, 27 Feb 2007 15:03:00 +0000

FreshTags' core has been without update for quite some time (and, I believe, does not even render properly on the New Blogger.  My version has not fared much better (although I did upgrade it to work with the new blogger :) ).  Now it is time for some improvements!

For Blogger
Full integration with the New Blogger labels system!  You have to paste a small code into your sidebar, and then FreshTags will pull its data directly from your local labels!  Great for new users or people who have fully migrated.  Best of all, to install this takes only a few steps on the wizard.  Select 'Blogger' as the data source, enter your blog URL, change any other settings you might want, and click 'Generate Code'.  Copy the code presented into your sidebar and then click the generated button to instantly install the widget with your settings!  (Does not work on FTP blogs.)

For Everywhere
There are now three wizards for my version of FreshTags.  There is one to generate the JSON for individual widgets (hackers).  There is one to generate the full code for anywhere (some knowledge necessary).  Finally there is one that generates a one-click button (or instructions and a button) for the New Blogger.

For MediaWiki
That's right.  Go over to BloggerHacks to see it in action.  FreshTags for MediaWiki!  The wizards (above) can generate the code, but it's a bit hackier to integrate with the sidebar.  Check out the BloggerHacks Sidebar and Header Section to see how I did it (click the view source wiki tab for wikicode).

For WordPress
I have updated FreshTags for Wordpress (with the help of my friend, Trevor Creech) to work as a Wordpress Widget.  If you don't have widgets on your Wordpress blog, don't worry!  It still works the old way.

technorati tags:, , , , , ,

WebOS Again

Tue, 20 Feb 2007 05:25:00 +0000

I wrote once before about the existing WebOS systems. I planned to follow that post up, but time did not allow. Now I will follow it up twofold.

I have come to use WebOS in a broader sense than I once did, which seems to be the 'catching' way to use it these days. That is, defining WebOS to include things such as Netvibes and BoxtheWeb, Omnidrive and, Zoho and Google Docs. I have been asked by some how I find WebOS useful at all, or if it is just an interesting experiment. I will attempt here to answer that.

Online storage is amazing. Work at home, save online, work at school, save online, etc. It is far more convenient than carrying flash media everywhere I go. I have used YouOS, Google Docs, and Gmail for this, but the result is basically the same.

Online office is similarly useful. I can work on and access the same document across computers at my house, or on campus, without any real hassle. Open, edit, save. Collaboration features just make it that much more fun! SVN for documents ;)

AJD (ala BoxtheWeb or Netvibes) is something I really love. I use BoxtheWeb, being the project originator, but there are many out there. I have many feeds, but I still like to be able to glance at them all at once. See what my contacts are reading these days, access my, and search, all from one page. There's something to be said for that convenience.

Last but not least (and I've likely forgotten others) : YubNub. I couldn't live without it. The amount of time saved being able to type 'g singpolyma', 'tet microformats', 'hwdial' is amazing. And the development stuff is fun.

As for full-scale webtop integrations. I haven't been using the full-fledged features yet. There's something there though... just not ready yet (or maybe I'm too geeky to see it past the GUI ;) ).

I mentioned in my last post the need for standards. If I could run Netvibes widgets on my BoxtheWeb page while integrating my YouOS storage, that would be very most awesome. The companies themselves seem to be organising, but it's private and they're not taking input. So, as always, the community needs to get their foot in the door before the industry runs on its course and we have many too many products and it takes years to create standards.

Drawing inspiration from the Microformats process, research into existing practices/standards should be present before suggesting something new. To aid the community in organising such research and development, I have created a wiki and a discussion group.

Perhaps not all of us are geeky enough to do the research and formal stuff for the wiki, but anyone who uses any of the products listed above, listed on the wiki, or related products, as well as those interested in Simile and related projects can contribute to the discussion on the discussion group. Anything from observations about how things work, suggestions as to how things should/could work, or even pointing out projects that may have been missed is welcome. Feedback from users as well as geeks is necessary to make this project work.


Thu, 15 Feb 2007 14:34:00 +0000

So if you read any blog besides mine (and surely you do) you've by now head of Yahoo's Pipes application. Mashups without programming, and a team that's promising more and better things to come.

One of the immediate uses to the Blogger community occurred to virtually all hackers at once. Sorting the feeds. This has never been a problem for me (I screen-scrape my feed via hAtom), but for others the fact that Blogger feeds sort by when they were updated is annoying.

Aditya suggested creating individual pipes, but I wrote a sorting pipe, as did Ramani (who beat me to blogging about it and has a nice how-to written). Ramani discovered an issue that causes this solution to be a bit buggy just yet. It has to do with ATOM being stupid and RSS 2.0 being cool (yes, that's a partisan statement and not entirely true ;) ). Basically the publishing date is not being copied from the ATOM format to the RSS format correctly. Vote on Ramani's suggestion to get this fixed. I also discovered a less critical issue with the UI that may confuse some less geeky users. Please vote on my suggestion to get that fixed.

I also wrote a pipe for mixing together Google Calendars (for those of us who track events from more than one) into a nice, sorted feed of upcoming events. The email alerts system provided by Y! is dumb though, at least for this application. I want the next 5 events emailed to me every day... likely gonna have to write my own emailer for that...

JScripts Gets Some Love

Tue, 30 Jan 2007 21:44:00 +0000

JScripts, my Ning app for storing JavaScript includes, has got some upgrades! At Johan's prodding I have added the following:
  • Include multiple JavaScripts with just one request to save time! It even has a form!
  • Tack ?minify on to a script to have JScripts compress it before transfer (more time saving!)
  • Tack ?callback=whoever on to have whoever() called after the script has loaded

OpenID as True Single Signon

Tue, 23 Jan 2007 23:29:00 +0000

OpenID is meant as a distributed single signon protocol. Unlike corporate-only systems (ie, Google Accounts) however, you have to sign on at every single site. When I sign in to Gmail I am automatically signed in to Blogger, etc.

While the inability to store 'cookies' or similar across domains makes this not 100% possible, I have a suggestion that will make it easier.

Make every page on an OpenID-enabled site accept the openid_url GET parameter. If it is there, authenticate the user using that OpenID and then redirect back to the page the GET string was passed to - minus the openid_url parameter. Thus if I click a link from one OpenID-enabled site (where I am signed in) to another, I can be signed in automatically.

A browser plugin (ie, Firefox extension, or built into the browser as may come in Firefox 3) could be used to store the last-entered value into a form with text input named openid_url (dependent on user settings of course). This value would then be added to the GET request on any URL (or pertinent URL, depending) the browser goes to. OpenID-less sites won't care, OpenID-enabled sites will automatically sign you in.

Template Conversion 'Wizard'

Tue, 23 Jan 2007 01:50:00 +0000

Well, not really. 'Helper' would be a better word. You upload an old-style template to the form and it translates most tags to the new syntax. It does not force your template to be well-formed (which is required), nor does it properly do attributes with expr: It is meant as a help for converting, not an auto-converter.

Note : especially for crufty or very-much-hacked templates (like mine was) I recommend re-engineering from scratch, from a default Blogger template, or from one of my templates. It is almost easier, and better for you in the long run.

Blogger Classic to New Blogger Template Conversion Helper

Table for Converting Blogger Classic to New Blogger

Wed, 17 Jan 2007 20:19:00 +0000

I have added a lot of new tags and some corrections to the table.A few people have asked for something like this. A table of Blogger Classic template tags and their new equivalent. This is not entirely possible because it is not a 1:1 relationship, but I will do my best. This is a post for those who were somewhat literate in the old Blogger and want to upgrade. Another post to check out would be Johan's original post. Great stuff.If you have a template tag from Blogger Classic that you don't see here, post it in a comment and I'll try to add it. This is a work in progress. <$BlogPageTitle$> <$BlogMetaData$> ]]> <$BlogURL$> <$BlogDescription$> <$BlogItemNumber$> <$BlogDateHeaderDate$> <$BlogItemPermalinkUrl$> <$BlogItemTitle$> <$BlogItemBody$> <$BlogItemAuthorURL$> <$BlogItemAuthor$> <$BlogItemDateTime$> <$BlogItemCommentCount$> <$BlogItemControl$> <$BlogEncoding$> <$BlogTitle$> <$BlogItemAuthorNickname$> <$BlogID$> <$BlogItemUrl$> <$BlogItemCreate$>Post a Comment <$BlogCommentNumber$> <$BlogCommentDateTime$> <$BlogCommentAuthor$>
<$BlogCommentBody$> <$BlogCommentDeleteIcon$>

Lightbox Comment Form Update

Tue, 16 Jan 2007 20:05:00 +0000

I have updated my Lightbox Comment Form ((image) ) so that it jumps down to the form when it comes up instead of making you scroll through the comments again.

New Stuff on Ning

Mon, 15 Jan 2007 19:49:00 +0000

This post is to announce two previously unannounced projects of mine over on Ning. I've been working on both for some time, and both could do with some more work certainly. Both are ready to be test-driven though (at least in the fundamentals).

The smaller project is Some Blogs. Some Blogs is a reporting engine for personal blogs, sexblogs, and other less-than-public-material blogs. Inspired by splogspot, this index is NOT for splogs (that's what splogspot is for). It is for material that most people don't want to see (when I search for XOXO I want microformats articles, not 'I luv u Jodi!' :P).

The other, larger, project which benefits from the first is Littl'uns. The original concept was to be like TechMeme for smaller blogs, however the concept has evolved over time and the meme-engine is currently only an experimental 'related posts' link.

Nestled in the code for Littl'uns is BSrch, a meta blogsearch engine.

Anyway, enjoy! Report bugs! Give feedback! :D

The Bleet

Mon, 15 Jan 2007 17:30:00 +0000

All geeks have their jargon, and the Blogger hacking community is no exception. One of the big words right now is 'Bleet' - the Blogger Elite. First coined by Avatar of Bloggeratto, this term is used to describe the best of the best of the Blogger hackers.

Wh!13 7h!5 m4y 83 r3m3n!53n7 0f 1337, 37c, the term seems to be gaining acceptance among non-hackers as well. Then the question becomes -- how do we keep track of who's 'in'? ;)

Well, elite coders must write elite code. I'd hazard a guess that all Bleet members must be hacking the new Blogger by now, but what else? Who and what? What do you think?

I have created a survey with only three questions: the URL of a Bleet member (in your opinion), your favourite hack by this member, and one quality you think all Bleet should have. Note to the Bleet : do not vote for yourself!

Fill out the survey

Another note to the Bleet : Check out the Blogger Hacks Wrink and add yourself to it and it to your blog. You can use any of the modes (some people dislike webrings, some dislike extra blogrolls, we have options!) What's the point? Well, right now that wrink is getting more than 500 traffic a week. This means that each week (unless my stats are broken) at least 500 people travel from one Bleet site to another using this widget. Great way for us to share our traffic with each other!

Static Pages in Blogger

Mon, 15 Jan 2007 17:08:00 +0000

This is a long-standing feature/hack request from much of the Blogger community. Pages that are not posts. This hack is a little messy and not the be-all solution, but I feel it is mature enough to publish as a start.The pages are all addressed as always there are multiple options for this hack, but the basic starting is the same:Go to Google Pages (you're on the new Blogger, you have a Google Account) and create the page you want.Click the 'View live' link from the Google Pages editor (after publishing the page)Note the URL in the location bar / address bar, you will need it laterYou will need to add this code to the section of your blog first time only, subsequent pages you can skip this:If you want the other page superimposed in an IFRAME (example) use this code:If you want the other page superimposed (example) use this code:If you want the other page included in a DIV so that it fits better into your page (you must style the DIV so that it works well. The example simply styles it to fill the page), use this code and put a DIV in your code with an ID the same as pagename:If you want the other page included as an IFRAME in a DIV so that it fits better into your page (you must style the DIV so that it works well. The example simply styles it to fill the page), use this code and put a DIV in your code with an ID the same as pagename: © 2006 Stephen Paul Weber. Some Rights Reserved.[...]

Microsummaries in Blogger

Mon, 15 Jan 2007 15:18:00 +0000

I recently learned of the Microsummaries feature of Firefox 2.0 from Aditya.

Basically, when you bookmark a site that supports it there is an option to have Firefox automatically pull in the title of the most recent article (or similar) as the title/label on the bookmark. Like simplified Live Bookmarks. So I created a quick hack to let us generate these with Blogger. If you have marked up your blog with hAtom put this in your section:

Otherwise use this code, which should work for 90% of new Blogger blogs:

hAtom in the New Blogger

Sun, 14 Jan 2007 02:36:00 +0000

If that Backup Tool intrigues you, or something else I've mentioned regarding hAtom, or just microformats in general, then head over to my instructions on how to markup up New Blogger templates in hAtom.

Moved to New Blogger

Fri, 12 Jan 2007 21:33:00 +0000

Hello! I'm on the new Blogger! Finally! Can you see the difference? It isn't major to the eye, but man does this backend feel nice to finally work with for real!

New Tools and XOXO Blog Activity

Fri, 12 Jan 2007 15:50:00 +0000

After a long period of inactivity I have revived the former XOXO Blog as XOXO - A Semantic Weblog. The following new tools have been announced:
There is also a discussion of distributed social netoworking and a new WordPress plugin to start implementing the idea. / Trackback Script Updated

Wed, 10 Jan 2007 13:59:00 +0000

I have made some minor bug fixes to the, pinging, and trackback script for the new Blogger. It also now saves trackback URLs when you save a draft.


New Singpolyma Templates

Tue, 09 Jan 2007 22:01:00 +0000

I have added variants to my Singpolyma Templates for my new asynchronous peek-a-boo comments.


Asynchronous Peek-a-boo Comments

Tue, 09 Jan 2007 21:26:00 +0000

Many people have benefited from my peek-a-boo comments hack for the new Blogger. It has one serious downfall however. Loading all that extra data inline can be slow. This version of the hack is designed so that the comments are not loaded until after you click the link to display them. This fixes some minor issues and improves speed like no one's business.Go to the layout on your BETA blog and select 'Edit HTML'. Check the 'Expand Widget Templates' box. Paste the following code into the section of the template: Find the code that looks something like: 
And replace that second line with:  
Next, find the post-generating code. It will look start something like this:  In this section there will be a block of code that looks something like:            Replace it with this:            Find the post template section, which starts something like this:And then find the link to the comments area, which looks something like:   1 And replace it with:   1

Peek-a-boo Widgets

Tue, 09 Jan 2007 01:55:00 +0000

I now have eight variations of my original peek-a-boo widget. (See also peek-a-boo HTML and peek-a-boo scrolling.) I was then asked for yet another variant. I realised that keeping these strictly in posts is insane and disorganised. So I have added the variant (open links in new window) and created a wizard. Just follow the steps and generate the code for your widget, just the way you like it!

Peek-a-boo Widget Generator

hCard Profile Generator

Tue, 09 Jan 2007 01:00:00 +0000

What is the point of getting that profile section in your sidebar marked up as an hCard? There are a number of reasons. Your blog will be compatible with the features of the new Operator Firefox Extension. If you ping Pingerati (or you're indexed by Technorati), people will be able to find you on the hCard Search Engine. There are, obviously, other reasons as well.

What's that? Blogger doesn't output this markup by default, and you don't want to learn the codes? No problem! Use my new hCard Profile Wizard and follow the easy two-step process to include an hCard-compatible profile in your blog!

Hacks by Others

Sat, 23 Dec 2006 14:26:00 +0000

I toot my own horn too much. This blog has more recently been at least 90% my own code. My readership seems to be going up though (FeedBurner reporting over 60 as of yesterday).Either way I think I'll spend this posts talking about some of the more recent developments in the hacker community. Some of this is new, some of it is old, it is not a comprehensive list. This is just what I thought was cool recently ;) These are in no particular order.Stubborn Fanatic (Vivek Sanghi)...has used the new Blogger 'if' tags (as he documented them) to create a hack that shows Google AdSense ads inside posts on item pages. My blog is ad-free. I find ads inside posts the most annoying. If I ever do ads I promise they will not interfere with the post. But at least his hack keeps them from cluttering the main page....colourful, colourful comments!...fix your layout editor (you have a hacked-beyond-belief template!)...has created a horizontal menu bar of your tags (yawn...) with drop-down lists of the most recent posts (cool!) Definately a hack to check out, even if you don't install it.Hoctro...has a wicked table of contents widget for your blog!...Google AJAX using their API instead of YubNub.Note to Hoctro : how about a way to browse your blog by date? The newest entry on the main page and then no interface for date-based archives or a prevous-post link/list. Nothing. Annoying.Hackosphere (Ramani)Neo template. Maxtrix-cool, fast, Web 2.0 extravaganza. And he's selling it! (You money-maker you... ;) )PurpleMoggyInstructions for the new Blogger for my Comment Photos and Highlighting hack.Display related posts by tag. Kind of like FreshTags.Premade templates that let the user switch the colour scheme.BlogUNice styles for your blockquotes.iMessengrNice hacks-included templateIf you read here at all, you'll know I've been busy too... but you can just read that, I'm not going to make a list of links to myself ;)Tags:blogger hacks © 2006 Stephen Paul Weber. Some Rights Reserved.[...]

Blogger Hacks Wiki Update

Sat, 23 Dec 2006 14:05:00 +0000

Tired of running from my blog to FreshBlog, to Bloggeratto, to Hoctro, to Beautiful Beta, to Hackosphere, to PurpleMoggy, to others trying to find hacks? Enter the Blogger Hacks Wiki. Launched back in June with the collaboration of many hackers and bloggers, this Wiki is meant to be the Wikipedia of Blogger Hacks. Not all of the newest hacks are there, but the general available ones should be.

Since the Blogger BETA (now the new Blogger) launch, the wiki has been stagnating just a little bit. Hacks have been rolling out at record rate from many new players. I myself have been very lax at entering all my new hacks into the Wiki. One problem was that one could not tell from the wiki if a hack was for the old or new Blogger.

No longer. The main 'View Hacks' link now points to the Wiki Category for the New Blogger, and I have added categories to all the hacks' pages based on platform. We as hackers need to start adding our hacks back into this database -- everyone will benefit, even us! (Who wants to duplicate work if there's an easy way to find out someone else already did it?) There is also a category for hacks which I was unsure what platforms they would work on. I need help going through and recategorising the pages in the Platform Unknown category.

I have also done some work on the Request Hacks page. New hack requests should now be added to the top section 'Undiscussed Requests'. After the community has posted some feedback it gets moved to under the 'Discussed Requests' heading. Requests which have been solved (ie, had hacks created for them) move to the Solved Requests page.

The Wiki benefits both hackers (easier to find our hacks, find other's hacks, and get ideas for hacks from the requests page) and the general people (find hacks so much easier!) I would really like to keep it up-to-date and maintained :)

Peek-a-boo and Scrolling

Sat, 23 Dec 2006 13:53:00 +0000

With some more inspiration from this man, and some help from this post I have created alternate versions of my peek-a-boo links lists and peek-a-boo HTML widgets. These ones, when expanded, are a 200-pixel-high box with a scrollbar. For those extra-long lists ;)Link List (Click Title to Expand)Note about installation : if you put this code into your template more than once at a time (for multiple lists) you must change the id='ALIST' (bold in the code) to id='BLIST' on the second list, etc. This code should go inside the section for your sidebar. Then, after saving, go to 'Page Elements' to customise its contents.     

Link List (Click [+/-] to Expand)Note about installation : if you put this code into your template more than once at a time (for multiple lists) you must change the id='ALIST' (bold in the code) to id='BLIST' on the second list, etc. This code should go inside the section for your sidebar. Then, after saving, go to 'Page Elements' to customise its contents.