Updated… Add Bookmarklets to Mobile Safari for iPhone / iPad
Posted: November 21, 2011 | Author: tech0x20 | Filed under: javascript, mobile | Tags: iphone bookmarklet javascript | Comments Off on Updated… Add Bookmarklets to Mobile Safari for iPhone / iPadToday’s iPhone has a nice article on adding bookmarklets to mobile Safari:
TiPs & Tricks: Add bookmarklets to mobile Safari
However, with iOS5, I found that the steps are a little more convoluted:
- Add a dummy bookmark using the [->] button in the middle of Safari
- Copy the code for the bookmarklet
- Tap the Bookmark button (second from the right in Safari).
- Tap the [Edit] button
- Tap on the dummy bookmark you created
- (x) out the URL on the second line
- Paste the bookmarklet code on the second line.
- (x) out the title and name the bookmarklet appropriately
- Tap [Done] when finished.
UPDATED 01/27/2012 bufferapp has new code.
javascript:void(location.href='bufferapp://?u='+encodeURIComponent(location.href))
I also found that the Buffer code was missing, so I captured it and posted it below:
javascript:(function(){
var%20a=document.getElementsByTagName('head')[0],
b=document.createElement('script');
b.type='text/javascript';
b.src='http://bufferapp.com/js/bookmarklet.v1.js?'
+Math.floor(Math.random()*99999);
a.appendChild(b);
})();void%200
Getting an RSS feed of a user’s Twitter timeline
Posted: November 12, 2011 | Author: tech0x20 | Filed under: twitter | Tags: rss, twitter | Comments Off on Getting an RSS feed of a user’s Twitter timelineI like to keep a few Twitter feeds in my RSS reader, but can never remember how to get them from Twitter.
I found “Creating an RSS feed of a users Twitter timeline“…
However, I found there is a simpler method (for now)–replace USERNAME with the twitter name. This probably fails when a user changes names, but for stable usernames, this seems to work:
http://twitter.com/statuses/user_timeline/USERNAME.rss