Log in

No account? Create an account
Comments - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Comments [Jul. 22nd, 2005|11:52 am]
LiveJournal Client Discussions


[mood |curiouscurious]

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.


From: evan
2005-07-22 09:42 pm (UTC)
(Reply) (Thread)
[User Picture]From: repalviglator
2005-07-23 07:17 am (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.
(Reply) (Thread)
[User Picture]From: dianoga7
2005-07-23 04:56 pm (UTC)
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.
(Reply) (Parent) (Thread)
[User Picture]From: dianoga7
2005-07-23 05:03 pm (UTC)
If you want to see an example of what I have so far, check out

http://omnifriend.3dgo.net - The project site
http://3dgo.net/blog - The working demo (user: demo pass: demo) Or create your own account
(Reply) (Parent) (Thread)
[User Picture]From: diffrentcolours
2005-07-24 11:37 am (UTC)
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? :)
(Reply) (Parent) (Thread)
From: (Anonymous)
2005-07-25 03:33 am (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.
(Reply) (Parent) (Thread)
[User Picture]From: dianoga7
2005-07-25 05:02 am (UTC)
Generally I try to avoid frames, but in this case that might not be a bad idea. Thanks!
(Reply) (Parent) (Thread)
[User Picture]From: drmastermind
2005-07-24 07:38 am (UTC)

Along with that...

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?
(Reply) (Thread)