<?xml encoding="ISO-8859-1" version="1.0"?>
<!-- OPML generated by OPML Editor v0.75 on 5/20/2013; 1:43:50 PM -->
<opml version="2.0">
	<head>
		<title>1/2/12 by DW</title>
		<ownerName>Dave Winer</ownerName>
		<ownerEmail>dave.winer@gmail.com</ownerEmail>
		<windowTop>200</windowTop>
		<windowLeft>200</windowLeft>
		<windowBottom>600</windowBottom>
		<windowRight>800</windowRight>
		</head>
	<body>
		<outline created="Mon, 02 Jan 2012 15:28:45 GMT" pgfnum="4172" text="CSS cleanup" type="blogpost">
			<outline created="Mon, 02 Jan 2012 15:28:52 GMT" pgfnum="4173" text="It's very hard to construct layers of code that generates CSS-styled text because the ability to override is organized exactly backward from the way you need it to be. The closest-in declarations are impossible to override. But you need to have some defaults. Why should every application have to specify every detail about how every object displays. It's exactly the wrong way. (Makes a lot of sense for documents though.)"></outline>
			<outline created="Mon, 02 Jan 2012 15:30:36 GMT" pgfnum="4174" text="So, to keep my sanity while developing object type code, I keep the style declarations with the code that generates the HTML. But after a while, when the code isn't being developed so much, I need to have some control over the look of things, so it makes sense to then move the style declarations out of the code genereation. "></outline>
			<outline created="Mon, 02 Jan 2012 15:31:51 GMT" pgfnum="4175" text="Just to say that's where I am now. For example, I just moved the styles out of the code that's generated for the relatively new outline nodetype. This means for example that you can change the arrangement of the outline on the page. Clearly something you need to be able to do."></outline>
			<outline created="Mon, 02 Jan 2012 15:32:32 GMT" pgfnum="4176" text="Wanted to document this change. If you don't understand I wouldn't worry about it too much."></outline>
			</outline>
		<outline created="Mon, 02 Jan 2012 13:48:37 GMT" pgfnum="4164" text="Where do titles belong?" type="blogpost">
			<outline created="Mon, 02 Jan 2012 13:48:53 GMT" pgfnum="4165" text="We have two levels of templates in the worldoutline."></outline>
			<outline created="Mon, 02 Jan 2012 13:49:18 GMT" pgfnum="4166" text="There's a template for each type, one of blogpost, code, howto, outline, photo, river, rss, thumbList."></outline>
			<outline created="Mon, 02 Jan 2012 13:49:48 GMT" pgfnum="4167" text="And there's an overall template for the page. "></outline>
			<outline created="Mon, 02 Jan 2012 13:50:00 GMT" pgfnum="4168" text="Right now we have the titles in the type template. But I'm wondering if that's the right way to go."></outline>
			<outline created="Mon, 02 Jan 2012 13:50:25 GMT" pgfnum="4169" text="It seems every page has a title, and uniformity in the way they are displayed is a good thing. Also having them appear in just one place makes it easy to change them in all pages. Further, the crumbtrail is in the page template. What sense does it make to have the crumbtrail in one place and the title in the other?"></outline>
			<outline created="Mon, 02 Jan 2012 13:51:26 GMT" pgfnum="4170" text="I'm leaning toward making the change, and moving the title into the main template."></outline>
			<outline created="Mon, 02 Jan 2012 13:51:39 GMT" pgfnum="4171" text="Since all templates are user-editable, it's possible to do it a different way from the way I do it. Even if that doesn't happen very often."></outline>
			<directiveCache>
		</body>
	</opml>
