blog-description-format-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
m (Reverted edit of MvmHhj, changed back to last version by Tantek)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[http://redobsession.freehostia.com/web/cover-buoni.htm cover buoni e cattivi]] [[http://roaliano.125mb.com/content/view/archos-gmini.htm archos gmini xs 100 pink]] [[http://tomems.125mb.com/html/luxat/ luxat]] [[http://tomems.125mb.com/html/isola-femmina/ isola femmina]] [[http://roaliano.125mb.com/content/view/access-point.htm access point pcmcia]] [[http://tomems.125mb.com/html/dissipatori-cpu/ dissipatori cpu per amd]] [[http://curti2iag.125mb.com/description/lib/scubapro/ scubapro]] [[http://curti2iag.125mb.com/description/lib/typhoon/ typhoon]] [[http://tomems.125mb.com/html/forest-whitaker/ forest whitaker]] [[http://curti2iag.125mb.com/description/lib/mobili-giardino/ mobili giardino design]] [[http://ginger-tea.freehostia.com/topic/rtl/ rtl 2]] [[http://edmei.125mb.com/html/audio-cassette.htm audio cassette 90]] [[http://behaverf.125mb.com/view/new/hp-officejet/ hp officejet 9130 all-in-one]] [[http://ginger-tea.freehostia.com/topic/benassi-brothers/ benassi brothers hit my heart]] [[http://behaverf.125mb.com/view/new/vini-primitivo/ vini primitivo]] [[http://roaliano.125mb.com/content/view/final-fantasy.htm final fantasy x2]] [[http://curti2iag.125mb.com/description/lib/hotel-cavallino/ hotel cavallino bianco lido del cavallino]] [[http://curti2iag.125mb.com/description/lib/hir-aj/ hir aj kam an hir i go]] [[http://curti2iag.125mb.com/description/lib/lavoro-new/ lavoro new york]] [[http://roaliano.125mb.com/content/view/lionel-atwill.htm lionel atwill]] [[http://tomems.125mb.com/html/volo-rio/ volo rio de janeiro]] [[http://edmei.125mb.com/html/lancia-musa.htm lancia musa 1 3 multijet platino]] [[http://oooohhnnnooooo.freehostia.com/content/view/deskjet.htm deskjet 510]] [[http://redobsession.freehostia.com/web/la-tragedia.htm la tragedia del titanic]] [[http://roaliano.125mb.com/content/view/no.htm no 380]] [[http://tomems.125mb.com/html/nino-de/ nino de angelo senza e cravatta giacca]] [[http://ginger-tea.freehostia.com/topic/albergo-lipari/ albergo lipari]] [[http://ginger-tea.freehostia.com/topic/nokia-atx/ nokia atx]] [[http://tomems.125mb.com/html/corse-cavalli/ corse cavalli videogiochi]] [[http://oooohhnnnooooo.freehostia.com/content/view/tesi-di.htm tesi di geografia]] [[http://redobsession.freehostia.com/web/the-nice.htm the nice]] [[http://ginger-tea.freehostia.com/topic/niente-di/ niente di personale]] [[http://tomems.125mb.com/html/yoko-kanno/ yoko kanno i do video]] [[http://behaverf.125mb.com/view/new/promesse-di/ promesse di marinaio]] [[http://ginger-tea.freehostia.com/topic/videocamera-sony/ videocamera sony handycam]] [[http://oooohhnnnooooo.freehostia.com/content/view/punto-.htm punto 1.2 16v]] [[http://roaliano.125mb.com/content/view/dragonball-xx.htm dragonball xx]] [[http://curti2iag.125mb.com/description/lib/ati-sapphire/ ati sapphire x550]] [[http://redobsession.freehostia.com/web/strategie.htm strategie]] [[http://ginger-tea.freehostia.com/topic/mr-vegas/ mr vegas]] [[http://curti2iag.125mb.com/description/lib/logitech-driving/ logitech driving force usb]] [[http://redobsession.freehostia.com/web/concessionario-porsche.htm concessionario porsche torino]] [[http://redobsession.freehostia.com/web/mtv-awards.htm mtv awards]] [[http://edmei.125mb.com/html/agriturismo-orta.htm agriturismo orta]] [[http://edmei.125mb.com/html/siti-del.htm siti del principe william]] [[http://redobsession.freehostia.com/web/il-silenzio.htm il silenzio ninni rosso]] [[http://redobsession.freehostia.com/web/laura-bush.htm laura bush]] [[http://oooohhnnnooooo.freehostia.com/content/view/el-cable.htm el cable]] [[http://tomems.125mb.com/html/maturo-e/ maturo e giovane]] [[http://redobsession.freehostia.com/web/mandrake-linux.htm mandrake linux cd 1]] [[http://curti2iag.125mb.com/description/lib/da-incasso/ da incasso]] [[http://curti2iag.125mb.com/description/lib/computer-amd/ computer amd xp 2000]] [[http://ginger-tea.freehostia.com/topic/el-cun/ el cun cun]] [[http://tomems.125mb.com/html/processori-amd/ processori amd 3000]] [[http://curti2iag.125mb.com/description/lib/tra-palco/ tra palco e realta]] [[http://behaverf.125mb.com/view/new/zywall/ zywall 5]] [[http://roaliano.125mb.com/content/view/gift-certificate.htm gift certificate]] [[http://oooohhnnnooooo.freehostia.com/content/view/pavilion-computer.htm pavilion computer]] [[http://behaverf.125mb.com/view/new/padova-argento/ padova argento]] [[http://tomems.125mb.com/html/samsung/ samsung 120]] [[http://ginger-tea.freehostia.com/topic/l-aria/ l aria sulla quarta corda]] [[http://behaverf.125mb.com/view/new/supporto-tv/ supporto tv 30]] [[http://curti2iag.125mb.com/description/lib/concessione-prestito/ concessione prestito]] [[http://behaverf.125mb.com/view/new/piedras-negras/ piedras negras (messico)]] [[http://ginger-tea.freehostia.com/topic/morgan-car/ morgan car]] [[http://behaverf.125mb.com/view/new/eros-e/ eros e galmour]] [[http://oooohhnnnooooo.freehostia.com/content/view/gps-per.htm gps per treo]] [[http://roaliano.125mb.com/content/view/senza-dubbio.htm senza dubbio articolo31]] [[http://roaliano.125mb.com/content/view/africa-strilla.htm africa strilla]] [[http://roaliano.125mb.com/content/view/pianoforti-digitali.htm pianoforti digitali]] [[http://tomems.125mb.com/html/barbie-lago/ barbie lago dei cigni]] [[http://roaliano.125mb.com/content/view/locali-a.htm locali a parma]] [[http://tomems.125mb.com/html/una-magnifica/ una magnifica avventura]] [[http://ginger-tea.freehostia.com/topic/batterie-panasonic/ batterie panasonic g50]] [[http://ginger-tea.freehostia.com/topic/traduzione-testi/ traduzione testi on line]] [[http://redobsession.freehostia.com/web/seixas.htm seixas]] [[http://behaverf.125mb.com/view/new/il-bandito/ il bandito fantasma]] [[http://curti2iag.125mb.com/description/lib/i-don/ i don t want yuo back]] [[http://tomems.125mb.com/html/clone-dvd/ clone dvd serial]] [[http://redobsession.freehostia.com/web/big-black.htm big black cocks]] [[http://behaverf.125mb.com/view/new/ivor-novello/ ivor novello]] [[http://redobsession.freehostia.com/web/samsung-cordless.htm samsung cordless]] [[http://ginger-tea.freehostia.com/topic/tomtom/ tomtom 3]] [[http://roaliano.125mb.com/content/view/condizionatore-a.htm condizionatore a parete 12000 btu]] [[http://redobsession.freehostia.com/web/hp-dvea.htm hp dv4023ea]] [[http://behaverf.125mb.com/view/new/debussy/ debussy]] [[http://edmei.125mb.com/html/farsetti-arte.htm farsetti arte]] [[http://tomems.125mb.com/html/www-laopinion/ www laopinion com mx]] [[http://redobsession.freehostia.com/web/video-morte.htm video morte di baldoni]] [[http://tomems.125mb.com/html/converse-t/ converse t shirt]] [[http://behaverf.125mb.com/view/new/ati-x/ ati x600 256mb pro ddr pci-e]] [[http://edmei.125mb.com/html/peugeot-expert.htm peugeot expert]] [[http://redobsession.freehostia.com/web/gonna-in.htm gonna in raso]] [[http://curti2iag.125mb.com/description/lib/drums/ drums]] [[http://curti2iag.125mb.com/description/lib/occhiali-sole/ occhiali sole oakley five]] [[http://oooohhnnnooooo.freehostia.com/content/view/seagate-momentus.htm seagate momentus 2 5]] [[http://roaliano.125mb.com/content/view/c-driver.htm c650 driver]] [[http://ginger-tea.freehostia.com/topic/pelli-mesh/ pelli mesh]] [[http://behaverf.125mb.com/view/new/lella-de/ lella de angelis]] [[http://redobsession.freehostia.com/web/fodera-antiacaro.htm fodera antiacaro]] [[http://ginger-tea.freehostia.com/topic/mini-cooper/ mini cooper automatica]] [[http://tomems.125mb.com/html/gasper/ gasper 3]] [[http://redobsession.freehostia.com/web/opel-frontera.htm opel frontera firenze]] [[http://ginger-tea.freehostia.com/topic/telecamera-jvc/ telecamera jvc 25]] [[http://ginger-tea.freehostia.com/topic/il-maglione/ il maglione]] [[http://curti2iag.125mb.com/description/lib/frasca-capo/ frasca, capo della-]] [[http://tomems.125mb.com/html/fivizzano-music/ fivizzano music world]] [[http://tomems.125mb.com/html/last-minute/ last minute reisen]] [[http://tomems.125mb.com/html/eve-angeli/ eve angeli nue]] [[http://tomems.125mb.com/html/diam-s/ diam s]] [[http://ginger-tea.freehostia.com/topic/linguaggio-e/ linguaggio e regole del diritto privato]] [[http://edmei.125mb.com/html/jimi-jamison.htm jimi jamison]] [[http://roaliano.125mb.com/content/view/hentaimanga.htm hentaimanga]] [[http://edmei.125mb.com/html/foto-hard.htm foto hard gratis selen]] [[http://behaverf.125mb.com/view/new/clas/ clas]] [[http://behaverf.125mb.com/view/new/bentley-continental/ bentley continental]] [[http://curti2iag.125mb.com/description/lib/creative-zen/ creative zen portable]] [[http://roaliano.125mb.com/content/view/mare-italia.htm mare italia last minute]] [[http://behaverf.125mb.com/view/new/moana-e/ moana e morta]] [[http://tomems.125mb.com/html/guerra-aerea/ guerra aerea]] [[http://roaliano.125mb.com/content/view/pavilion.htm pavilion 14 1]] [[http://oooohhnnnooooo.freehostia.com/content/view/vietnamnet-com.htm vietnamnet com]] [[http://ginger-tea.freehostia.com/topic/fax-leonardo/ fax leonardo telecom inchiostro]] [[http://edmei.125mb.com/html/traduzione-in.htm traduzione in italiano di fack it]] [[http://oooohhnnnooooo.freehostia.com/content/view/paul-stratan.htm paul stratan beau]] [[http://oooohhnnnooooo.freehostia.com/content/view/brian-adams.htm brian adams please forgive me]] [[http://curti2iag.125mb.com/description/lib/gran-thef/ gran thef auto santandreas]] [[http://ginger-tea.freehostia.com/topic/mac-os/ mac os x box tools]] [[http://redobsession.freehostia.com/web/ddr-.htm ddr2 1 gb]] [[http://redobsession.freehostia.com/web/turismo-rimini.htm turismo rimini]] [[http://oooohhnnnooooo.freehostia.com/content/view/maxicono.htm maxicono]] [[http://curti2iag.125mb.com/description/lib/p-/ p4 640 2mb]] [[http://redobsession.freehostia.com/web/cinema-multisala.htm cinema multisala pieve fissiraga]] [[http://roaliano.125mb.com/content/view/crimson-rom.htm crimson rom]] [[http://roaliano.125mb.com/content/view/itineraire-metro.htm itineraire metro]] [[http://ginger-tea.freehostia.com/topic/testo-angeli/ testo angeli nel ghetto]] [[http://curti2iag.125mb.com/description/lib/giubbotto-per/ giubbotto per moto]] [[http://redobsession.freehostia.com/web/direngrey.htm direngrey]] [[http://roaliano.125mb.com/content/view/de-grenet.htm de grenet]] [[http://tomems.125mb.com/html/giochi-pc/ giochi pc98]] [[http://ginger-tea.freehostia.com/topic/a-/ a          g      r]] [[http://oooohhnnnooooo.freehostia.com/content/view/tango-del.htm tango del mare]] [[http://edmei.125mb.com/html/annuncio-toscana.htm annuncio toscana]] [[http://roaliano.125mb.com/content/view/fever-testo.htm fever testo]] [[http://curti2iag.125mb.com/description/lib/nv-gs/ nv gs17]] [[http://curti2iag.125mb.com/description/lib/iomega-hd/ iomega hd esterno 160 gb]] [[http://roaliano.125mb.com/content/view/bella-da.htm bella da vivere]] [[http://curti2iag.125mb.com/description/lib/petacchi/ petacchi]] [[http://edmei.125mb.com/html/strength-clamp.htm strength clamp x]] [[http://edmei.125mb.com/html/donna-wrestling.htm donna wrestling nuda]] [[http://ginger-tea.freehostia.com/topic/mp-muvo/ mp3 muvo]] [[http://tomems.125mb.com/html/documenti-di/ documenti di vendita]] [[http://edmei.125mb.com/html/tema-svolto.htm tema svolto sull adolescenza]] [[http://curti2iag.125mb.com/description/lib/asus-a/ asus a730 gps]] [[http://edmei.125mb.com/html/reminder.htm reminder]] [[http://roaliano.125mb.com/content/view/thermaltake-hardcano.htm thermaltake hardcano 9]] [[http://edmei.125mb.com/html/zelda.htm zelda5]] [[http://edmei.125mb.com/html/all-in.htm all in wonder agp]] [[http://curti2iag.125mb.com/description/lib/msimg-dll/ msimg32 dll]] [[http://redobsession.freehostia.com/web/beat-the.htm beat the all]] [[http://ginger-tea.freehostia.com/topic/toughbook-cfm/ toughbook cf-m34]] [[http://curti2iag.125mb.com/description/lib/hauppauge/ hauppauge 150]] [[http://behaverf.125mb.com/view/new/kn-diamond/ k8n diamond 939 sli]] [[http://oooohhnnnooooo.freehostia.com/content/view/obiettivi-nikon.htm obiettivi nikon d50]] [[http://edmei.125mb.com/html/pompini-in.htm pompini in usa]] [[http://behaverf.125mb.com/view/new/kerulen/ kerulen]] [[http://behaverf.125mb.com/view/new/www-trieste/ www trieste]] [[http://edmei.125mb.com/html/oakley.htm oakley 02]] [[http://curti2iag.125mb.com/description/lib/el-hombre/ el hombre perfecto la india]] [[http://curti2iag.125mb.com/description/lib/talenta/ talenta]] [[http://redobsession.freehostia.com/web/canzoni-da.htm canzoni da ascoltare]] [[http://behaverf.125mb.com/view/new/bernier-nicolas/ bernier, nicolas]] [[http://edmei.125mb.com/html/lyric-hoobstank.htm lyric hoobstank]] [[http://redobsession.freehostia.com/web/una-notte.htm una notte a lisbona]] [[http://tomems.125mb.com/html/eminem/ eminem]] [[http://curti2iag.125mb.com/description/lib/dvd-terzo/ dvd terzo reich]] [[http://tomems.125mb.com/html/pantaloni-militare/ pantaloni militare uomo abbigliamento]] [[http://ginger-tea.freehostia.com/topic/hot-ragazzi/ hot ragazzi]] [[http://edmei.125mb.com/html/stand-up.htm stand up blue]] [[http://ginger-tea.freehostia.com/topic/prima-super/ prima super 155]] [[http://ginger-tea.freehostia.com/topic/lego-/ lego - ferrari]] [[http://edmei.125mb.com/html/isabella-alunni.htm isabella alunni del sole]] [[http://edmei.125mb.com/html/monitor-videoseven.htm monitor videoseven]] [[http://ginger-tea.freehostia.com/topic/gioventu-nel/ gioventu nel mondo]] [[http://roaliano.125mb.com/content/view/nothing-to.htm nothing to do bottlefly]] [[http://behaverf.125mb.com/view/new/d-l/ d l vo 23 05 2000 n 164]] [[http://edmei.125mb.com/html/yaesu-vx.htm yaesu vx]] [[http://tomems.125mb.com/html/i-nuovi/ i nuovi centurioni]] [[http://behaverf.125mb.com/view/new/www-basi/ www basi musica it]] [[http://behaverf.125mb.com/view/new/pramette-peg/ pramette peg perego]] [[http://roaliano.125mb.com/content/view/calendario-personalizzato.htm calendario personalizzato]] [[http://oooohhnnnooooo.freehostia.com/content/view/albergo-.htm albergo 4 stelle cannes]] [[http://curti2iag.125mb.com/description/lib/sessoanale/ sesso-anale]] [[http://behaverf.125mb.com/view/new/sesso-giovane/ sesso giovane]] [[http://ginger-tea.freehostia.com/topic/orgoglio/ orgoglio]] [[http://ginger-tea.freehostia.com/topic/the-very/ the very best of simply red]] [[http://edmei.125mb.com/html/robot-da.htm robot da cucina - potenza 350 watt]] [[http://ginger-tea.freehostia.com/topic/majordomo/ majordomo]] [[http://roaliano.125mb.com/content/view/dc.htm dc 0 360]] [[http://tomems.125mb.com/html/copertine-giochi/ copertine giochi ps2]] = Blog description format (brainstorming)=
= Blog description format (brainstorming)=
__TOC__
__TOC__


Line 5: Line 5:


=== Editors ===
=== Editors ===
* [http://bs-markup.de Bj
* [http://bs-markup.de Björn Seibert], [http://rbach.priv.at/ Robert Bachmann]
 
=== Authors ===
* [http://bs-markup.de Björn Seibert], [http://rbach.priv.at/ Robert Bachmann]
 
== Purpose ==
A microformat to describe the contents of a (we)blog. It provides a specific set of information to categorize a (we)blog. Enables easier search for humans and efficient collection of information by machines.
 
Here are some of examples for information that might be provided:
 
* Details about the blog
* Blog name (e.g: "John Doe's Blog")
** Blog URI (e.g: <nowiki>http://example.org/</nowiki> )
** Lanuage used for the blog, read-able by machines (e.g: "en-US" or "de")
** Topics covered by the blog
** A short description
** Available feeds (RSS, Atom, etc.)
** A small logo image
* Details about the author(s)
** Name (e.g: "John Doe")
** Organisation
** Contact details
** Geographical Location
 
== Theoretical examples ==
 
<pre><nowiki>
<div class="blogformat" xml:lang="en">
  <p><img class="logo" alt="" src="http://rbach.priv.at/Misc/2005/Smiley.gif" />
  <a class="author" href="http://example.org/jdoe">My</a>
  <a class="bookmark" href="http://example.org/blog" title="John Doe's Blog">blog</a>
  about
  <span class="description">
  <a rel="tag" href="http://technorati.com/tags/web+standards">Web standards</a>,
  <a rel="tag" href="http://technorati.com/tags/css">CSS</a>,
  <a rel="tag" href="http://technorati.com/tags/xhtml">XHTML</a>
  and topics releated to web development.</span></p>
  <p>There are
  <a rel="alternate" type="application/atom+xml" href="http://example.org/feeds/atom">Atom</a> and
  <a rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss">RSS 2.0</a>
  feeds available.</p>
</div>
</nowiki></pre>
 
See [http://rbach.priv.at/Misc/2005/BlogDescriptionMicroformat/ExamplesForBrainstorming.html#example2 here] or [http://www.bs-markup.de/info.php there] for a rendered version of this example.
 
== Strawman proposal ==
 
Text in ''italics'' is used as reference to the comments below.
 
=== Blog information container ===
 
The blog information container element contains all other elements of the blog description.
 
It '''must''' have a class attribute which includes the value <code>blogformat</code>.
 
=== Language ===
 
The blog information container element or an ancestor element ''(langanc)'' of it '''must''' include
a language code using the <code>xml:lang</code> attribute to indicate the language used for the blog.
 
If the document type used by the author allows the usage of the <code>lang</code>
attribute, it must be used to specify the language code.
The value '''must''' be equal to the one used for <code>xml:lang</code>. ''(langequ)''
 
Example 1:
<pre><nowiki>
<!-- A blog written in English as spoken in the US -->
<div class="blogformat" lang="en-US" xml:lang="en-US">
    <!-- child elements -->
</div>
</nowiki></pre>
 
Example 2:
<pre><nowiki>
<!-- A blog written in French -->
<div class="blogformat" lang="fr" xml:lang="fr">
    <!-- child elements -->
</div>
</nowiki></pre>
 
=== Blog URI ===
 
The blog URI element '''must''' be an <code>&lt;a&gt;</code> element and '''must''' contain a <code>rel</code> attribute which includes the value <code>bookmark</code>.
 
It must link to the blog's mainpage using an absolute URI ''(absuri)''.
 
This element '''should''' provide the name of the blog in its <code>title</code> attribute.
 
If no <code>title</code> attribute is provided agents ''(agents)'' '''must''' use the text value of the blog URI element ''(meta)''.
 
=== Blog description and topics ===
 
It contains the main categories covered by the blog.
 
The categories are marked up within anchors ''(cat)'' that (may) refer to technorati-tags.
 
Example:
<pre><nowiki><a rel="tag" href="http://technorati.com/tags/xhtml">XHTML</a></nowiki></pre>
 
In addition authors can write up a short introduction.
 
=== Author information ===
 
Information about the author '''should''' be provided.
 
The author information element '''must''' have a class attribute which includes the value <code>author</code>. This element '''should''' provide the name of the author
in its <code>title</code> attribute.
 
Example:
<pre><nowiki><span class="author" title="John Doe">John's</span> Blog.</nowiki></pre>
 
If no <code>title</code> attribute is provided agents ''(agents)'' '''must''' use the text value of the author information element ''(meta'').
 
The author information element may be an <code>&lt;a&gt;</code> element which links
to the author's page using an absolute URI ''(absuri)'' or may be some other element containing
an [[hcard]].
 
Example:
<pre><nowiki>
<a class="author" title="John Doe"
  href="http://example.org/~johnd/">John's</a> Blog.
</nowiki></pre>
 
=== Feeds ===
 
''To be done.''
 
Perhaps using 
<a rel="alternate" type="application/atom+xml" href="http://example.org/feeds/atom">Atom</a> 
<a rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss">RSS 2.0</a>
 
(Maybe the already used 
<link rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss" title="RSS 2.0" />
is enough? --RobertBachmann
)
=== Image ===
 
''To be done.''
 
=== Comments ===
* (langanc): There are XHTML documents which already have their language specified in the &lt;html&gt; tag. In this case it would be redundant to require having it twice. --[[User:RobertBachman |RobertBachmann]]
 
* (langequ): See http://microformats.org/discuss/mail/microformats-discuss/2005-July/000440.html. --[[User:RobertBachman |RobertBachmann]]
 
* (absuri): As long as we are parsing blog information from the original URI, handling relative URIs isn't a big problem. I think we should recommend the use of absolute URIs ("absolute URIs '''should''' be used") but I'm not sure if we should require them. --[[User:RobertBachman |RobertBachmann]]
 
* (agent): Is agent the right term?  --[[User:RobertBachman |RobertBachmann]]
 
* (meta): Perhaps agent would want to extract information from <code>&lt;head&gt;</code> if no information can be found within "blogformat"
**<code>&lt;link rel="author" href="http://example.org/~jdoe" /&gt;</code>
**<code>&lt;meta name="author" value="John Doe" /&gt;</code>
**<code>&lt;title&gt;John Doe's Blog&lt;/title&gt;</code>
--[[User:RobertBachman |RobertBachmann]]
 
* (cat): '''May''', '''should''' or '''must''' they be within anchors. What are the options where they can point to? --[[User:BjoernSeibert |BjoernSeibert]]
 
 
 
== See also ==
* [[blog-description-format]] (background research)

Latest revision as of 23:10, 2 October 2007

Blog description format (brainstorming)

Discussion Participants

Editors

Authors

Purpose

A microformat to describe the contents of a (we)blog. It provides a specific set of information to categorize a (we)blog. Enables easier search for humans and efficient collection of information by machines.

Here are some of examples for information that might be provided:

  • Details about the blog
  • Blog name (e.g: "John Doe's Blog")
    • Blog URI (e.g: http://example.org/ )
    • Lanuage used for the blog, read-able by machines (e.g: "en-US" or "de")
    • Topics covered by the blog
    • A short description
    • Available feeds (RSS, Atom, etc.)
    • A small logo image
  • Details about the author(s)
    • Name (e.g: "John Doe")
    • Organisation
    • Contact details
    • Geographical Location

Theoretical examples

<div class="blogformat" xml:lang="en">
   <p><img class="logo" alt="" src="http://rbach.priv.at/Misc/2005/Smiley.gif" />
   <a class="author" href="http://example.org/jdoe">My</a> 
   <a class="bookmark" href="http://example.org/blog" title="John Doe's Blog">blog</a>
   about 
   <span class="description">
   <a rel="tag" href="http://technorati.com/tags/web+standards">Web standards</a>,
   <a rel="tag" href="http://technorati.com/tags/css">CSS</a>,
   <a rel="tag" href="http://technorati.com/tags/xhtml">XHTML</a>
   and topics releated to web development.</span></p>
   <p>There are 
   <a rel="alternate" type="application/atom+xml" href="http://example.org/feeds/atom">Atom</a> and 
   <a rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss">RSS 2.0</a>
   feeds available.</p>
</div>

See here or there for a rendered version of this example.

Strawman proposal

Text in italics is used as reference to the comments below.

Blog information container

The blog information container element contains all other elements of the blog description.

It must have a class attribute which includes the value blogformat.

Language

The blog information container element or an ancestor element (langanc) of it must include a language code using the xml:lang attribute to indicate the language used for the blog.

If the document type used by the author allows the usage of the lang attribute, it must be used to specify the language code. The value must be equal to the one used for xml:lang. (langequ)

Example 1:

<!-- A blog written in English as spoken in the US -->
<div class="blogformat" lang="en-US" xml:lang="en-US">
    <!-- child elements -->
</div>

Example 2:

<!-- A blog written in French -->
<div class="blogformat" lang="fr" xml:lang="fr">
    <!-- child elements -->
</div>

Blog URI

The blog URI element must be an <a> element and must contain a rel attribute which includes the value bookmark.

It must link to the blog's mainpage using an absolute URI (absuri).

This element should provide the name of the blog in its title attribute.

If no title attribute is provided agents (agents) must use the text value of the blog URI element (meta).

Blog description and topics

It contains the main categories covered by the blog.

The categories are marked up within anchors (cat) that (may) refer to technorati-tags.

Example:

<a rel="tag" href="http://technorati.com/tags/xhtml">XHTML</a>

In addition authors can write up a short introduction.

Author information

Information about the author should be provided.

The author information element must have a class attribute which includes the value author. This element should provide the name of the author in its title attribute.

Example:

<span class="author" title="John Doe">John's</span> Blog.

If no title attribute is provided agents (agents) must use the text value of the author information element (meta).

The author information element may be an <a> element which links to the author's page using an absolute URI (absuri) or may be some other element containing an hcard.

Example:

<a class="author" title="John Doe"
   href="http://example.org/~johnd/">John's</a> Blog.

Feeds

To be done.

Perhaps using

<a rel="alternate" type="application/atom+xml" href="http://example.org/feeds/atom">Atom</a>   
<a rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss">RSS 2.0</a>

(Maybe the already used

<link rel="alternate" type="application/rss+xml" href="http://example.org/feeds/rss" title="RSS 2.0" />

is enough? --RobertBachmann )

Image

To be done.

Comments

  • (langanc): There are XHTML documents which already have their language specified in the <html> tag. In this case it would be redundant to require having it twice. --RobertBachmann
  • (absuri): As long as we are parsing blog information from the original URI, handling relative URIs isn't a big problem. I think we should recommend the use of absolute URIs ("absolute URIs should be used") but I'm not sure if we should require them. --RobertBachmann
  • (meta): Perhaps agent would want to extract information from <head> if no information can be found within "blogformat"
    • <link rel="author" href="http://example.org/~jdoe" />
    • <meta name="author" value="John Doe" />
    • <title>John Doe's Blog</title>

--RobertBachmann

  • (cat): May, should or must they be within anchors. What are the options where they can point to? --BjoernSeibert


See also