[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: HTML-Info design

From: Steinar Bang
Subject: Re: HTML-Info design
Date: Fri, 26 Dec 2014 12:07:57 +0100
User-agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3 (windows-nt)

>>>>> Richard Stallman <address@hidden>:

> Using the existing HTML output is not the idea I have in mind.
> The idea is to develop an HTML-based format which has all the data
> needed to provide all the features of Info.

There is a format/practice/convention called RDFa (Resource Description
Format in attributes)[1] that can be used to add semantic information to
HTML pages in a machine readable form.

Perhaps that can be of help? Something that could be used by shr/eww
when navigating the pages?

Basically RDFa consists of adding the properties "property" and
sometimes also "content", to HTML elements.  If there are no elements, a
piece of text can be surrounded by a <span> elment with "property" and
"content" attributes.  The "property" attribute is a URL identifying a
property type, and "content" may be used to present a more machine
friendly form of the element content (e.g. the date in a more easily
parsed form).

[1] http://en.wikipedia.org/wiki/RDFa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]