n00b-Type RSS question
- soixantedeux
-
soixantedeux
- Member since: May. 28, 2005
- Offline.
-
- Forum Stats
- Member
- Level 23
- Blank Slate
I've never used RSS or anything of the sort before, but was wondering if it might be possible to put two and two together here:
I have a livejournal. I know that each livejournal has an automatically-updated RSS feed.
As far as I can tell, RSS would be putting raw data out there--journal entries and all their associated information.
Now what I'd like to do is get my LiveJournal entries to show up on a different page... is there any way that I might be able to grab RSS data and display it in a webpage?
Sorry for the dumb question. Even replies of "FAIL." linking to helpful tutorial-type things would help.
Thanks a lot!
- osto
-
osto
- Member since: Nov. 22, 2003
- Offline.
-
- Forum Stats
- Member
- Level 10
- Blank Slate
OKAY OKAY OKAY...OKAY OKAY
this is a really easy one "google" + "php rss parser" or "asp rss parser".
:D
- LordAba
-
LordAba
- Member since: Nov. 2, 2000
- Offline.
-
- Forum Stats
- Member
- Level 10
- Blank Slate
At 6/21/05 02:41 PM, 62bda02 wrote: I have a livejournal. I know that each livejournal has an automatically-updated RSS feed.
As far as I can tell, RSS would be putting raw data out there--journal entries and all their associated information.
Now what I'd like to do is get my LiveJournal entries to show up on a different page... is there any way that I might be able to grab RSS data and display it in a webpage?
As a slightly more helpful answer, RSS is in actuality XML. So all you have to do is open a stream to the RSS file, read in the data, and parse it. You should google up some help, but those are the basic steps.
I could do it easily in perl, except I don't wanna.
What may man within him hide, though angel on the outward side.
- BitMonkey
-
BitMonkey
- Member since: Jun. 23, 2005
- Offline.
-
- Forum Stats
- Member
- Level 03
- Blank Slate
Or, if you don't feel like writing or finding a PHP XML parser, you can get Feed2JS to do it for you. Go to http://jade.mcli.dist.maricopa.edu/feed/ and enter in the name of your feed along with some options, then link to the resulting JavaScript. I'll warn you right away, this is not nearly as powerful a tool as an XML parser on your server, but it is much simpler.
- omega3D
-
omega3D
- Member since: Mar. 27, 2004
- Offline.
-
- Forum Stats
- Member
- Level 04
- Blank Slate
Linux comes with a bult-in XML parser :P

