?

Log in

No account? Create an account
May 24th, 2002 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

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

May 24th, 2002

(no subject) [May. 24th, 2002|12:49 am]
LiveJournal Development

lj_dev

[herbie]
Hi - I know I'm stupid and should know this, and where to find it, but I don't... is there an XML interface for getting friends pages? It'd be really handy if I could set up my computer to download my friends page in the morning, transform neatly into wml (format for my outdated REX6000) and sync with my rex...

Any takers?
link9 comments|post comment

Documentation! Wooohooo! [May. 24th, 2002|01:08 am]
LiveJournal Development

lj_dev

[bradfitz]
I'm so happy ... I've been whining for ages for somebody to lead the documentation project and it always kinda limped along.

Anyway, jproulx's been working on it and came up with this:

http://www.livejournal.com/doc/server/

A ton is missing (my fault), but the structure is there, and the build tools are there, and it's all pretty beautiful. (well, the file layout and such... the stylistic formatting we don't care about now... that's easy to change)

The point is: we finally have a good infrastructure for doing documentation!

So, if you want to help a ton, review the documentation and nit-pick. Find errors. Suggest new parts. Write more. Whatever.

If you don't know DocBook, just send jproulx the text and he'll DocBook-itize it.

I'll be working on the API and DB documentation over the next few days, and hope that everybody elses works on & tests the beginning parts (the installation / etc).

The next big part will be documenting how to run properly a derivative site, like DeadJournal. DeadJournal does it "wrong" now, only because all the English isn't scrubbed yet, which avva will be continuing to work on.

Then, 1.0 release.

P.S. Compiling the docs on your own machine (or your goathack) should be trivial... just run doc/raw/build/generate.pl and it'll complain if you're missing things it needs.
link5 comments|post comment

(no subject) [May. 24th, 2002|11:13 am]
LiveJournal Development
lj_dev
[miruku]
[mood |curiouscurious]

adding new words to the [web] spellchecker dictionary; whats the crack with that? is it like, really hard, or is the dictionary third party..? there was a recent sugestion asking for new words, but that seems to have gotten no where. cant see anything about the dictionary in the faq's either
link1 comment|post comment

The HTML Nazi strikes again! [May. 24th, 2002|12:55 pm]
LiveJournal Development

lj_dev

[erebrandir]

Abstract

The HTML cleaner is still cleaning a lot of HTML elements out of comments/responses that are non-harmful and useful to users. I'd like to add them to the list of accepted elements.

Introduction

While replying to some comments this morning, it hit me that the HTML cleaner is still cleaning elements out of comments that ought not to be cleaned. So I checked on it.

Group 1 – HTML 4.01 elements that are currently being cleaned: ABBR ACRONYM ADDRESS APPLET AREA BASE BASEFONT BDO BODY BUTTON CAPTION COL COLGROUP DEL DFN DIR FIELDSET FORM FRAME FRAMESET H4 H5 H6 HEAD HTML IFRAME INPUT INS ISINDEX KBD LABEL LEGEND LINK MAP MENU META NOSCRIPT OBJECT OPTGROUP OPTION PARAM Q SAMP SCRIPT SELECT STYLE TBODY TEXTAREA TFOOT THEAD TITLE VAR

Group 2 – HTML 4.01 Elements that are being cleaned that I can see a good reason for cleaning: APPLET BASE BASEFONT BODY BUTTON FIELDSET FORM FRAME FRAMESET HEAD HTML IFRAME INPUT ISINDEX LABEL LEGEND LINK META NOSCRIPT OBJECT OPTGROUP OPTION PARAM SCRIPT SELECT STYLE TITLE TEXTAREA

Group 3 – HTML 4.01 Elements that are being cleaned that are non-harmful and potentially useful: ABBR ACRONYM ADDRESS AREA BDO CAPTION COL COLGROUP DEL DFN H4 H5 H6 INS KBD MAP Q SAMP TBODY TFOOT THEAD VAR

This includes:

  • Most of the phrase elements: ABBR, ACRONYM, DFN, KBD, SAMP, VAR. —Very useful.
  • Inline quotations: Q. —Useful.
  • Many of the HTML 4 table elements: CAPTION, COL, COLGROUP, TBODY, TFOOD, THEAD. —Useful.
  • The lower end of the headings: H4, H5, H6. —Useful.
  • The document change elements: DEL, INS. —Don't see why anybody would need these, but don't see any reason to exclude them, either.
  • The image map elements: AREA, MAP. —If we're going to allow IMG, I see no reason to exclude these.
  • The address element: ADDRESS. —Why not?
  • The BiDi override: BDO. —I don't know much about how this works, but it seems to me that it might be useful for the non-English users, and I see no reason to exclude it.

Proposal

As I see no reason why the use of these elements should be prohibited, I would like to have each of these Group 3 elements approved and enabled for use in comments.

Patch: livejournal/cgi-bin/cleanhtml.pl

In the event that there are no objections to these additions, here is a patch adding all Group 3 elements to cleanhtml.pl's @comment_close and @comment_ok arrays.

cleanhtml.pl.126.diff

link16 comments|post comment

Tag Closing [May. 24th, 2002|01:21 pm]
LiveJournal Development

lj_dev

[dottey]
[music |Newsboys - Shine]

Is there someplace in the LJ code that closes tags at the end of each journal entry? Example: suppose a friend of mine forgot to close his/her <b> tag, it still ends up getting closed by something when it shows up on my friends page.

I'd like to know where this is, as I believe it exists, so that I can add closing of the <marquee> tag if possible.

Thank you to anyone who can help point me in the right direction.
link6 comments|post comment

navigation
[ viewing | May 24th, 2002 ]
[ go | Previous Day|Next Day ]