?

Log in

No account? Create an account

Dan Brickley

Recent Entries

Dan Brickley

View

Navigation

Skipped Back 10

September 15th, 2006

LJ Jabber support is great

Share
I've only just read about LJ's support for Jabber, announced back in July. This is fantastic, and the most under-reported bit of tech news of the summer.

May 1st, 2004

Random Sentence.

Share
1. Grab the nearest book.
[Conceptual Physics, 3rd Edition, by Paul Hewitt]
2. Open the book to page 23.
[Chapter 2, Linear Motion]
3. Find the fifth sentence.
[1, 2, 3, 4, 5.. ah there it is!]
4. Post the text of the sentence in your journal along with these instructions

(via mags)

Memorizing pairs of nonsense syllables is easy for a computer.
(Artificial Intelligence 2nd Ed., Rich Knight et al.)

February 19th, 2004

XHTML happy

Share
Thanks to the folks in #lj_dev, this journal is now wrapped in proper XHTML boilerplate. So assuming I don't type any silly markup in my articles, the whole thing should be in XHTML format. To do this, I got myself a paid account (well, the US dollar is cheap!) and learnt a bit about configuring LJ. This is done with a minor tweak to the 'Magazine' layout. Briefly, under advanced customisation, create a new child "layout-specific layer" for Magazine.
Choose "Theme" and "Magazine". Then edit and paste in a bunch of content, tweak to emit XHTML, save and then switch my theme to the new one. Details on request.

Chris: S2 is an object oriented language, so the main code that your style uses is layersource.bml?id=15.
What we did is replace the Page::print() function with one of our own. Any functions that aren't there come from the parent layer (which in the case of magazine is the core) available at layersource.bml?id=1.


Page::print() is the main function for a page.

getting to know LiveJournal

Share
OK so I have an account, haven't really got to grips with what I can do yet.
Powered by LiveJournal.com