Successfully reported this slideshow.

Hacking a friends list feed for LiveJournal

3,153 views

Published on

Presentation about hacking a friends list for Live Journal in Perl, by Paula Valença.

Published in: Technology
  • Be the first to comment

Hacking a friends list feed for LiveJournal

  1. 1. Hacking a friends list feed for LiveJournal Paula Valença aka phantas
  2. 2. Because procrastination is an art ... and we all have more than 143 friends on LiveJournal (some of which we have actually met) ... WHERE IS THE RSS FEED BUTTON ON THE LJ FRIENDS PAGE??? Woteva, I’ll do a script of my own... I mean, how long can that take, right?
  3. 3. $ cvs ... *scared scream* erm, what do you mean that you can’t access friends’ entries via the API? (nor much anything related) ARG ARG BML ARG ARG S2 ARG ARG solution: fix style, clean (X)HTML, XPath, plain old dirty parsing and extraction, LWP for authentication
  4. 4. Problems and ToDos tidy + HTML::Tidy (HUGE) why LJ does not provide a feed bad bad code... no cookie CGI (see above)? cookies? still... it works... [DEMO]
  5. 5. http://www.paulavalenca.org/tech/

×