||[Jul. 22nd, 2005|11:52 am]
LiveJournal Client Discussions
I am working on basically a specialized RSS feed aggregator that is aimed toward blogs. Basically I am trying to make a universal friends page that works on any site with an rss feed. What I would like to do is retrieve at least the number of comments for each entry.
Is there anyway to do this? I am writing this whole thing with php/mysql.
2005-07-22 05:42 pm (UTC)
Of course there is a way to do that. It works like every other rss agregator out there. If you don't want to program anything, you find an existing rss agregator, and just plugin the URLs of the feeds you want to subscribe to. Are you looking for something more complicated or different than that? If so, let us know.
What I am trying to do is get the comments specifically. Livejournal (and the other blogs) don't sydicate the comments. So I'm trying to find a better way to get them that doesn't involve page scraping.
I don't believe that the RSS standard handles comments in any way. So you'll need to make up your own syndication format, and get everything to support it. May I suggest using NNTP? :)
2005-07-24 11:33 pm (UTC)
Unless the systems offer the comments in another way, you will have to either have the user visit the comments page itself or scrape the comments. What I might suggest is to open up an iframe with the comments page.
Generally I try to avoid frames, but in this case that might not be a bad idea. Thanks!
Dianoga is also looking for a way to show private entries for people.
if you check the RSS feed under users/username/data/rss you'll see there isn't any info on comments, just another link to the article. what we are trying to get is the # of comments, or a link that only shows IF there ARE comments. not just the 'add comments' section.
I've been looking for the xml stuff for loging in with a client, but it a bit complicated to jump into that part straight off without anything else. anyone have any advice for 'logging in' without ever actually sending the user to LJ?