Converting/reparsing HTML/CSS/PHP

Discussion in 'Programming' started by dulcificum, Oct 2, 2009.

  1. #1
    How possible is it to reparse the last.fm events pages?

    I want to be able to copy the code from e.g. http://www.last.fm/user/irvinebrown/events and put it in a new website. And then use php/css trickery to convert it into a different form. Like a more minimalist calendar with just the bands, venue, date and none of the information about date, attendees, reviews, shouts etc. It also has to look different and be displayed differently.

    How possible is this? How would I go about starting?
     
    dulcificum, Oct 2, 2009 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    I'm sorry, I don't think thats legal. I could be wrong.
     
    crath, Oct 3, 2009 IP
  3. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #3
    Why isn't it legal? It would be my own data, just displayed in a different way.

    Anyway, my question is, is it possible? If so, how? I'm willing to spend money to do it.
     
    dulcificum, Oct 3, 2009 IP
  4. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #4
    Are you trying to pull the event data from it live? Or you just want to download the list of dates and events?
     
    crath, Oct 3, 2009 IP
  5. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #5
    Doesn't need to be live. No screen scraping.

    Just copy and paste the source into a new page and reformat with CSS.
     
    dulcificum, Oct 4, 2009 IP
  6. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #6
    Doesn't need to be live. No screen scraping.

    Just copy and paste the source into a new page and reformat with CSS.
     
    dulcificum, Oct 4, 2009 IP
  7. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #7
    Too bad their RSS feed doesn't work :p
     
    crath, Oct 4, 2009 IP
  8. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #8
    I'm happy to import the code manually as it only needs doing yearly. I'm concerned about reformatting/reparsing.
     
    dulcificum, Oct 4, 2009 IP