• Home
  • Blogger
  • Github
  • Travel
  • The Tank Project
skip to main | skip to sidebar

Steven Occhipinti

A braindump.

XKCD + BeyondPod

On my Android phone, I use an app called "BeyondPod".

BeyondPod is great because unlike Google Reader and Pulse (which are other great RSS readers), BeyondPod will download video and audio podcasts on a schedule.

What this means for me, is that at 2:30 AM, my phone will use my home ADSL2's off-peak downloads and fetch a bunch of regular podcasts so when I wake up and make my way into work, I will have all the latest episodes of my favourite shows to watch and listen to on the train.

One of the feeds that I'm subscribed to is XKCD. If you look at the comics online, you probably already know that if hover your mouse over the image, you get to see an extra message about the comic.

On Google Reader, you can tap and hold the image and use the menu to get to the tooltip, but with BeyondPod, there is no such option.

This means that the tooltip is actually included in the feed, so I thought it would be pretty easy to write a little proxy that pulls out the "title=" attribute and appends it to the body.

Before I started coding, I thought that surely someone would have already done this, so after a quick Google search I came across a Yahoo! Pipe from "Benjamin Cook" that does exactly that.

Ben's Pipe appends a "<br />" and then the tooltip, but the "<br />" seems to be getting escaped, so I copied the pipe and removed the "<br />" and the end result was exactly what I wanted.

If you have a similar problem, you can add my version of the pipe to your reader and here's what it'll look like:


Posted by Steve at 15:10
Labels: android Email This BlogThis! Share to X Share to Facebook

0 comments:

Post a Comment

Newer Post Older Post Home

Blog Archive

  • ►  2013 (4)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
    • ►  January (1)
  • ▼  2012 (17)
    • ►  December (1)
    • ►  October (1)
    • ►  September (2)
    • ►  August (2)
    • ►  July (1)
    • ►  May (2)
    • ►  April (2)
    • ▼  March (3)
      • Rooting the HTC Desire HD & Cyanogenmod 7
      • Spam defence
      • XKCD + BeyondPod
    • ►  February (3)
  • ►  2011 (33)
    • ►  December (1)
    • ►  November (3)
    • ►  October (3)
    • ►  September (4)
    • ►  August (3)
    • ►  July (4)
    • ►  June (6)
    • ►  May (6)
    • ►  April (3)

Labels

android (5) apache (1) arch linux (1) arduino (1) bash (11) calendar (1) compiz (1) design (1) diff (1) email (1) gimp (1) git (3) github (2) gnome3 (1) Google (2) hacking (1) hardware (4) howto (1) htpc (1) java (1) lamp (1) linux (28) Mac (2) minecraft (2) mysql (1) netduino (1) nfs (1) parallel port (1) patch (1) photography (4) php (1) pidgin (2) printer (1) programming (6) python (1) rails (1) regex (5) review (3) ruby (3) Samsung Galaxy S3 (2) Samsung Series 9 (1) security (1) sed (3) ssh (1) sudo (1) tank (2) Toshiba Portege (1) troubleshooting (1) ubuntu (16) ui (2) unity (2) vim (5) webcam (1) websites (3) xbmc (1) xclip (1) xul (1)

Total Pageviews

Sparkline
 
Copyright (c) 2010 Steven Occhipinti. Designed by Conveyancing
High Deductible Health Insurance, Purchase Beats