Andrew (ex_cloak) wrote in component_help,

  • Mood:

Any ideas on how to use the get_url function?

I’ve looked this up everywhere I can think and none of it seems to go anywhere:

So I’ve been trying to think of ways to post my AudioScrobbler recently-played list in a component on my journal. I was quite disheartened when I read that LJ doesn’t allow any ways to import an external page, but then I came across this Component Help thread that gave me a little bit of hope.

So I created a syndicated user that included the feed. But here’s where I get stuck, since none of the users who have written ANYTHING about the get_url function have given any means of using it to grab data from that user. For that matter, I can’t seem to find any information anywhere on how to import data even from another LJ user to post in one’s own journal.

So I guess my question is this: How can I use the get_url function to grab entries from another user? I suppose that a secondary question would thus be how can I then take that XML data and format it using the XML tags? I suppose that, given the formatting of the feed, I may only need the header of each one, but I’m completely at a loss.

Has anybody at all had luck with this? It’s a great feature that I would love to implement into my own journal. I’m absolutely certain there has to be a way to do it, but I tried reading the documentation for S2 and almost literally went crosseyed.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened