Log in

No account? Create an account
RSS Skip Back, See Comments - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

RSS Skip Back, See Comments [Aug. 3rd, 2005|01:35 pm]
LiveJournal Client Discussions


Hi. I am developing a Wordpress plugin to make it a lot easier to import LJ posts (for those who prefer LJ to lonely WP :) To get user posts, I'm using the RSS feed e.g.
[Error: Irreparable invalid markup ('<a [...] http://www.livejournal.com/users/vodex/data/rss/</a>') in entry. Owner must fix manually. Raw contents below.]

Hi. I am developing a Wordpress plugin to make it a lot easier to import LJ posts (for those who prefer LJ to lonely WP :) To get user posts, I'm using the RSS feed e.g. <A href="http://www.livejournal.com/users/vodex/data/rss/>http://www.livejournal.com/users/vodex/data/rss/"

First, whilst I think of it, is there any difference in me choosing rss over atom, apart from the schema?

And now for the biggie:

Is there a way to skip back posts, or get comments, with the feed? (?skip=20 doesn't work).

Apart from that wishlist, it works like a charm: <A href="http://www.vodex.me.uk/projects/lj_feed_import/">http://www.vodex.me.uk/projects/lj_feed_import/</A>


[User Picture]From: acolyte13
2005-08-24 12:51 am (UTC)

chimes in

so i know this may be a stupid question but what is the mark up code for the scroll bar to use that effect on lj? hopefully i worded that right.heh. i want to use it on mine.
(Reply) (Thread)
[User Picture]From: decadence1
2005-08-24 12:41 pm (UTC)

Re: chimes in

No, it's not a stupid question. :o)

It's kind've off-topic to the entry itself though and/or the community (about writing software programs - 'clients', that people can download+use to update their journals; or otherwise interface with the LJ site), which the entry's in though. You'd probably generally have more luck with getting an answer if you tried a community search to locate communities that discuss HTML, to ask there about the markup code needed for a scroll bar/whatever. Otherwise you're reliant on the original poster a) receiving comment emails and b) deciding to reply, assuming c) they know the answer; or, someone else reading the older entry and replying to your comment.
Generally, you can also view page source in your browser, to find out 'how did they do that?'. Because the poster of this entry had a HTML error in their entry the scrollbar wasn't deliberate on their part... so that wouldn't be that helpful. A window with a scroll-bar is a pretty common sight on userinfo pages though, so you could view source at a page like that to see the code. HTML tutorials on the web e.g. lissaexplains.com are helpful too.

Since I'm commenting already... and I know I wondered how people did those scrolling textboxes for ages :)...you can do what you want using the textarea element. E.g:

<textarea rows="4" cols="20">
line 1
line 2 etc.
(Reply) (Parent) (Thread)
[User Picture]From: acolyte13
2005-08-24 04:24 pm (UTC)

Re: chimes in

thank you so much!! sorry it was off topic but you explained it perfectly.
(Reply) (Parent) (Thread)
[User Picture]From: jdstroy
2006-01-22 08:59 pm (UTC)

Re: chimes in

I don't recommend using TextArea to display your data with a scrollbar... it's plain-text only. Instead, use cascading style sheets (CSS) on a block element, such as DIV, with fixed width and height attributes and an overflow attribute, like so:

<div style="width: 30px; height: 40px; overflow: scroll">content</div>
(Reply) (Parent) (Thread)