Hacking a friends list feed for LiveJournal

937 views

Published on

Lightning talk at Portuguese Perl Workshop, Braga 2008

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
937
On SlideShare
0
From Embeds
0
Number of Embeds
16
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

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/

×