Click here to show or hide the menubar.

Tweet nodetype


Background

I want the worldoutline to be able to display a Twitter conversation.

Tweets are nodes with type == "tweet" and an id attribute.

Tweets can contain tweets subordinate to them, reflecting the reply structure.

This is why something needs to change in op.render.viewoutline, because the existence of a type attribute causes the outlining to stop and it to link to the item. it assumes the onlly reason something has a type is that it's a document. but tweets are not documents, they fit into the outline structure.

Coding

Made changes to op.render.viewOutline, see the comment at the head of the routine. Here's an example.

Parts

op.render.viewOutline


Posted on Wednesday, July 25, 2012 at 8:34 PM by Dave Winer.