learnedax ([personal profile] learnedax) wrote2005-04-04 01:16 pm

Auto cut-tagging achieved

Well, that was easy. I've been fiddling a bit with making my friends view block quizlets, which involves a bunch of string parsing that the LJ style language does not already include, and [livejournal.com profile] laurion commented that it would be handy to chop entries over a certain length. I realized that I could do that by adding two lines to the basic layout, so now my friends page auto-cuts after 1000 characters. (That number is actually rather smaller than I want for regular use, but works well for demonstration purposes.)

Take that, overlong uncut entries.
tpau: (Default)

[personal profile] tpau 2005-04-04 05:51 pm (UTC)(link)
wow. doe sthis only work for S2?

[identity profile] learnedax.livejournal.com 2005-04-04 05:57 pm (UTC)(link)
Yes. I can't think of a way to overlay it on S1, although you don't need to code your own style for this, so you can switch to S2 relatively easily and keep pretty much everything as it was in S1.
tpau: (Default)

[personal profile] tpau 2005-04-04 06:00 pm (UTC)(link)
hmm, ok. well iam using s2 for here, and s1 on greatestjournal, so i cna certanly do it here