Log in

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

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

Reading journals [May. 16th, 2003|11:20 pm]
LiveJournal Client Discussions
Is there any rational way to read any journal and it's comments programmatically? I've looked at the protocol, but my experiements indicate you can only use it to fetch your own entries, etc.

[User Picture]From: benzado
2003-05-18 07:23 pm (UTC)
Your experiments are correct. You can use getevents to read posts from community journals of which you are a member, but that's it. To do any more, support would have to be added server side.
(Reply) (Thread)
[User Picture]From: sprote
2003-05-19 10:42 pm (UTC)
You can retrieve the journal's RSS newsfeed (do an HTTP GET on /users/____/rss.xml) and parse it using an XML parser; that will get you most of the useful info, but only of the most recent entries.
(Reply) (Thread)
[User Picture]From: vzaliva
2003-05-21 10:35 am (UTC)
If you fetch via RSS paid user journal, you will get
full text of entries. However for free user, you will get
just first line or two of each entry.

In both cases URL to full article included and could be
fetched directly.

(Reply) (Parent) (Thread)
From: lisaparratt
2003-05-21 11:22 am (UTC)
Yeah, I'd thought of that. The problem is that the actual pages differ in structure due to custom ctyles, which makes programmtically extracting the articles a mite tricky :(
(Reply) (Parent) (Thread)