?

Log in

No account? Create an account
Hello! I'm going to implement off-line lj client which supposed to… - 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

lj_clients

[isapioff]
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
linkReply

Comments:
[User Picture]From: jproulx
2005-05-19 04: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 06: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 06: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-19 09:02 pm (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 05: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:

Atom:

<entry>
    <title mode="escaped">A Title</title>
    <id>urn:lj:livejournal.com:atom1:exampleusername:99999</id>
    <link rel="alternate" type="text/html" href="http://www.livejournal.com/users/exampleusername/99999.html"/>
    <issued>2005-05-25T12:00:00</issued>
    <modified>2005-05-25T13:00:00Z</modified>
    <author>
        <name>exampleusername</name>
        <email>exampleusername@mail.com</email>
    </author>
    <content type="text/html" mode="escaped">
        <p>Example entry</p>
    </content>
</entry>

RSS:

<item>
    <guid isPermaLink="true">
        http://www.livejournal.com/users/exampleusername/99999.html
    </guid>
    <pubDate>Wed, 25 May 2005 13:00:00 GMT</pubDate>
    <title>A Title</title>
    <author>exampleusername@mail.com</author>
    <link>
        http://www.livejournal.com/users/exampleusername/99999.html
    </link>
    <description>
        <p>Example entry</p>
    </description>
    <comments>
        http://www.livejournal.com/users/exampleusername/99999.html
    </comments>
</item>
(Reply) (Parent) (Thread)
From: snej
2005-05-22 11:54 pm (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 05: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)