1. 3
  1.  

  2. 1

    Parsing html is always a PITA, this seems like a nice way to get around having to deal with it yourself.