UserPreferences

SyntaxExtensionMechanism


Prior art :

See also :

[DannyAyers RefactorOk] There has been talk of using XML namespaces as an extension mechanism in Necho. But this on its own only allows other elements to be included in the feed/post. It says nothing about how they should be interpreted. See Purpose below for why this is an issue.

Description of approaches to extension mechanisms:

"Wrapping" or "boxing" extensions

Entities and Properties

Display unknown entities/properties by default
Don't display unknown entities/properties by default

Separate data to be displayed (logical content) from data not to be displayed (metadata)

Strawman proposal

1. Any elements outside of the Atom namespace within a <metadata> element will be interpreted as being about the parent element.

Example :

<feed>

</feed>

That single entry would be about football, the rest of the feed may be about something else.

2. Any other elements outside of the Atom namespace will be interpreted as secondary content associated with their parent element.

Example :

<feed>

</feed>

The image would be displayed in a viewer immediately following the content of the entry.

Purpose

For example, how might we use [WWW]Easy News Topics (ENT) :

<feed>

</feed>

Does this mean that the topic of that entry is Football? Probably. Ok then, how about :

<feed>

</feed>

Does this mean that the topic of the feed is Football? Probably. The topic of the last item is Football? Maybe.. The topic of the first item is Football? Possibly.

How about :

<feed>

</feed>

or

<feed>

... </feed>

It needs to be unambiguous!

Requirements

There are (at least) two kinds of relationships that need to be expressable :

(these correspond to properties and resource in RDF)

Discussion

Related was originally a simple linking mechanism. Maybe we should consider it as a simple use case of DefinedDataModel + SyntaxExtensionMechanism + ComponentBlog. Please help to refactor the issues there to better understand the issues facing the larger issue of Semantic Web Logs.


CategoryMetadata, CategorySyntax