Log in

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

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

[May. 18th, 2005|05:42 pm]
LiveJournal Client Discussions


Hello! I'm going to implement off-line lj client which supposed to consolidate information from friend's journals, store it on pocket pc and allow to read journals when client is disconnected. But I've read some posts in this community and it made me wonder - Does such programm behaviour permitted by policy?
ps: sorry for English

[User Picture]From: jproulx
2005-05-19 08:40 pm (UTC)
Not using the protocol. But, you can use any of the syndication formats that we offer and show journal entries that way: http://www.livejournal.com/bots/

Alternatively, there's a patch in zilla that creates a syndication view of anyone's friends page, so you could probably use that instead when it is approved/applied/live.
(Reply) (Thread)
[User Picture]From: clayfoot
2005-05-19 10:23 pm (UTC)
I'm already using the friend RSS feeds in my external script, but the current RSS feeds only have the public entries. The friends page (http://www.livejournal.com/users/username/friends) has all of the recent entries, including friends-only entries. I'm looking for a way to create an RSS feed that has the same content as the friends page.
(Reply) (Parent) (Thread)
[User Picture]From: jproulx
2005-05-19 10:46 pm (UTC)
Our RSS feeds will show friends only posts if you use HTTP digest authentication when fetching them.
(Reply) (Parent) (Thread)
[User Picture]From: clayfoot
2005-05-20 01:02 am (UTC)
Huh. I'll try it. I don't suppose you have a link to give me a boost...?
(Reply) (Parent) (Thread)
[User Picture]From: clayfoot
2005-05-25 09:03 pm (UTC)
Thanks! I did find those same links buried somewhere on LiveJournal. Now, I've got Perl script that generates an authenticated RSS friends feed with caching. I'm working on getting it up to a web server (I've already got a version hosted that doesn't do caching or authentication). How would you handle getting the username and password for the web version? Would you use a form to pick it up, or create a small digest authorization front end that just passes the username and password along to LiveJournal?

And as long as I'm asking, why in the world does the atom feed have different information than the RSS feed? For example, the atom feed has the username and contact email in the <author> section of the feed. The RSS feed has the contact email as the author. If the user doesn't have a contact email on file, the RSS feed item doesn't even include the <author> section. For example:


    <title mode="escaped">A Title</title>
    <link rel="alternate" type="text/html" href="http://www.livejournal.com/users/exampleusername/99999.html"/>
    <content type="text/html" mode="escaped">
        <p>Example entry</p>


    <guid isPermaLink="true">
    <pubDate>Wed, 25 May 2005 13:00:00 GMT</pubDate>
    <title>A Title</title>
        <p>Example entry</p>
(Reply) (Parent) (Thread)
From: snej
2005-05-23 03:54 am (UTC)
Any ETA on when that friends-RSS-feed patch might go live? That would be a wonderful thing for newsreaders everywhere. (I used Safari RSS for reading my friends' posts for a while, but hitting 50+ RSS feeds every half hour is kind of wasteful.)
(Reply) (Parent) (Thread)
[User Picture]From: recompiler
2005-05-19 09:02 pm (UTC)
you can do the same thing now using avantgo, just create a custom chanel with ur www.livejournal.com/~isapioff/friends
(Reply) (Thread)