cjsmith: (b&w fancy rob)
cjsmith ([personal profile] cjsmith) wrote2002-08-01 11:07 am

Grr

I'm getting really tired of my Friends page being seriously screwed up by badly-formatted entries people make. Today I'm guessing it's quiz results. An entry I can't see makes everything below itself almost completely unreadable.

Friends filters work, but to use them I have to find out who the problem child is. This is particularly difficult to narrow down when multiple people have the same problem; searching the solution space becomes slow! The slowness is aggravated by LJ's "optimization" on Friends page loading, such that I have to hit "reload" to get actual results from each experiment. (I wasted a lot of time getting nonsensical and conflicting results before I learned this.)

Today two or three iterations with existing friends groups showed me a subgroup of ten people I could remove just to get a viewable page. I re-added them one by one, a process taking about fifteen minutes with all the clicking around and reloading, and came up with two people filtered out.

*sigh* And I wonder why LJ takes up so much of my time.

[identity profile] joedecker.livejournal.com 2002-08-01 11:35 am (UTC)(link)
I know the feeling. A related gripe is with HTML--there's no particuarly good way to "contain" the damage entries can do to the
"infrastructure HTML" -- HTML just doesn't have that kind of structure.
Even worse, entries that work with some LJ styles will break others (again, blame HTML) so even well-intentioned entries, when the user has checked that their version of the page looks right, can fall victim to this.


Ick. I don't have a great solution, but I've done precisely what you just described.


One thought:
The 'narrowing the problem' might be faster, in teh case where there are multiple problems, by temporarily decreasing the number of posts per page you allow on your friends page (it's configurable.) Just a thought.


*hugs*



[identity profile] mactavish.livejournal.com 2002-08-01 11:55 am (UTC)(link)
Let me know if my entries ever seem to be a problem, please.

Sometimes folks will post something with *many* exclamation points or asterices, and that'll usually screw things up width-wise.

[identity profile] cjsmith.livejournal.com 2002-08-01 03:28 pm (UTC)(link)
I've seen that too, from time to time, though it's not what hit me today. At least that one is easy to filter because I can SEE what did it! 8-D

[identity profile] sinboy.livejournal.com 2002-08-01 12:35 pm (UTC)(link)
I find myself wondering if there couldn't be some sort of warning system set up for the posting software, like "you have unclosed HTML tags in here. Do you wantto look like a dork?".

It'd save me from having to re-check entries with a lot of tags in them when I write them.

[identity profile] sinboy.livejournal.com 2002-08-01 12:36 pm (UTC)(link)
Point in case. Argh.

[identity profile] joedecker.livejournal.com 2002-08-01 12:45 pm (UTC)(link)
Yep, you could certainly require really clean HTML (to avoid a warning), that would help. Require some work, but people have done it before, like the various HTML validation sites.

Re:

[identity profile] sinboy.livejournal.com 2002-08-01 12:52 pm (UTC)(link)
There's a lot of thinkgs livejournal could do. I'm not sure they can afford the development costs, though. Before a validaor, though, I'd like a text search function for my journal. Or to be able to download it as a whole file, or set of files.

[identity profile] joedecker.livejournal.com 2002-08-01 01:30 pm (UTC)(link)
Oh, me too. I was just sayin' that what you proposed could be done.

[identity profile] hitchhiker.livejournal.com 2002-08-01 06:46 pm (UTC)(link)
Folding would be nice too. A 'fold all' tag that lj-cuts everything and regenerates the page, and a fold/unfold button next to each post. Prolly Expensive, but if we're playing fantasy-lj...

[identity profile] joedecker.livejournal.com 2002-08-01 07:25 pm (UTC)(link)
If you were willing to stick to a recent IE version or something, maybe that or Mozillia (and friends), and you were willilng to assume correct HTML, you might be able to get that visual effect... Still...

[identity profile] hitchhiker.livejournal.com 2002-08-01 07:43 pm (UTC)(link)
I was thinking more of a serverside option. Basically, the LJ pages you see are dynamically generated anyway, and bad HTML inside an LJ-cut entry doesn't affect the main page, so it would solve that particular problem neatly.

Besides, it'd be wonderful to have it fold per-user, frinstance, for all those people who ought to cut and don't, or per community, so that you could scan community posts by first line and expand only the ones you wanted to.

[identity profile] joedecker.livejournal.com 2002-08-01 08:00 pm (UTC)(link)
Sure--but it'll be peppier if you could do it client-side. Hmmm.
The 'deals with bad HTML' is a nice thing, fer sure.


Hmmm, there might be some tricks one could play with rewriting
the page using document.write(), and only writing the 'open' bits
and the infrastructure code but not the closed stuff. I think you
have to have JS code which writes itself to do this, which might
make it more challenging, but there might be a cute hack short
of self-expressing programming.

[identity profile] cjsmith.livejournal.com 2002-08-01 03:38 pm (UTC)(link)
Ooo, text search, yayuh! That'd be worth doing the development myself, although I can't right now spare the time for the learning curve.

[identity profile] klwalton.livejournal.com 2002-08-01 11:39 am (UTC)(link)
Definitely let me know if something I post munges your friends page. I'll delete it.

[identity profile] joedecker.livejournal.com 2002-08-01 11:50 am (UTC)(link)
me too

[identity profile] cjsmith.livejournal.com 2002-08-01 03:31 pm (UTC)(link)
You're one of the two who wound up filtered this morning, but I CAN'T. TELL. WHY. There's nothing even remotely weird-looking in your most recent posts! Don't delete a darn thing. I bet you were just adjacent to something else odd... oh, who knows.

Re:

[identity profile] klwalton.livejournal.com 2002-08-01 03:33 pm (UTC)(link)
I deleted the quiz result which was probably causing the problem. It wasn't important anyway :).

[identity profile] cjsmith.livejournal.com 2002-08-01 03:39 pm (UTC)(link)
You had a quiz result? I never saw it! Dee-dee-dee-dee, dee-dee-dee-dee...

[identity profile] tsjafo.livejournal.com 2002-08-01 05:58 pm (UTC)(link)
Me too.

[identity profile] wcg.livejournal.com 2002-08-01 11:50 am (UTC)(link)
I had to change to a different 'style' setting for my friends page last night when it got clobbered by something. My initial suspicion was bad HTML too, but now I think it might have been a corruption of the LJ database.

Anyhow, the 'indented' style is working pretty well for me. It's either the last or second to last of the style options available.

There's a separate LJ problem right now with some LJ cut text not coming up in the spawned window when you want to read it. I have a support request filed concerning that. There was some database maintenance scheduled for yesterday afternoon, which may be tied in with all this.

[identity profile] cjsmith.livejournal.com 2002-08-01 03:32 pm (UTC)(link)
I've seen the LJ cut issue too, once, earlier today. Ah well. Fortunately, at least there ARE workarounds for the friends page issues...

Thanks for the suggestion; I'll try it out some time!

[identity profile] thorswitch.livejournal.com 2002-08-01 12:28 pm (UTC)(link)
Lemme know if mine cause any problem!

[identity profile] cjsmith.livejournal.com 2002-08-01 03:36 pm (UTC)(link)
You're one of the two who wound up filtered this morning, and best I can figure, it's the "I'm a Poet" thing. My friends page got weird halfway down that post, and was much weirder after. (Cut tag?) But you weren't the only one, and I can't tell WHAT invisible thing was causing the other trouble. 'Cause it didn't by any means go away when you were filtered out. I needed to filter [livejournal.com profile] klwalton too - and she has nothing recent that should strain the bounds of HTML!
firecat: red panda, winking (Default)

[personal profile] firecat 2002-08-02 02:33 pm (UTC)(link)
It was trying to display an image as a background or something.

[identity profile] yoak.livejournal.com 2002-08-01 01:22 pm (UTC)(link)
<table> ;-)

[identity profile] cjsmith.livejournal.com 2002-08-01 03:33 pm (UTC)(link)
*schnerk*