hreview-parsing: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
(reverting spam)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[http://it.rigour.info/topic/de-ce/ de ce na minti]] [[http://it.rigour.info/topic/digitale-sat/ digitale sat]] [[http://up.rigour.info/description/lib/isola-dellarte.htm isola dellarte]] [[http://note.rigour.info/content/view/tavolo-pranzo.htm tavolo pranzo]] [[http://blog.rigour.info/web/confort-trio/ confort trio]] [[http://online.rigour.info/mp-cruzer/ mp3 cruzer]] [[http://down.rigour.info/blog/server-fujitsu.htm server fujitsu siemens primergy econel]] [[http://online.rigour.info/telescopio-usato/ telescopio usato]] [[http://here.rigour.info/blog/lezioni-ballo.htm lezioni ballo on line]] [[http://pagina.rigour.info/assicurazione-san/ assicurazione san donato milanese]] [[http://milano.rigour.info/motorola-e.htm motorola e1]] [[http://italy.rigour.info/blog/inno-haka.htm inno haka]] [[http://online.rigour.info/spy-the/ spy the gost]] [[http://gratis.rigour.info/content/view/monitor-l.htm monitor l768]] [[http://gratis.rigour.info/content/view/goldenberg.htm goldenberg]] [[http://pagina.rigour.info/brother-t/ brother t-104]] [[http://load.rigour.info/view/new/abortire.htm abortire]] [[http://gratis.rigour.info/content/view/gioghi-dei.htm gioghi dei pokemon]] [[http://pagina.rigour.info/testina-stampante/ testina stampante canon]] [[http://italy.rigour.info/blog/la-gata.htm la gata brasilera]] [[http://italy.rigour.info/blog/jungle-bubble.htm jungle bubble]] [[http://up.rigour.info/description/lib/brigitte-bui.htm brigitte bui kocsis]] [[http://content.rigour.info/html/divisa-marina/ divisa marina militare]] [[http://here.rigour.info/blog/bmw-.htm bmw 320 blu cabrio]] [[http://speed.rigour.info/foto-italiane.htm foto italiane]] [[http://blog.rigour.info/web/idrocefalia/ idrocefalia]] [[http://gratis.rigour.info/content/view/giubbini-uomo.htm giubbini uomo]] [[http://gratis.rigour.info/content/view/estee-lauder.htm estee lauder creme]] [[http://speed.rigour.info/download-gioco.htm download gioco computer]] [[http://note.rigour.info/content/view/attaccapanni-titti.htm attaccapanni titti]] [[http://up.rigour.info/description/lib/james-senese.htm james senese]] [[http://up.rigour.info/description/lib/suteki-da.htm suteki da ne]] [[http://paga.rigour.info/divinacommedia/ divinacommedia]] [[http://blog.rigour.info/web/sapphire-radeon/ sapphire radeon x850 pro]] [[http://dir.rigour.info/omicidio-per/ omicidio per vocazione]] [[http://online.rigour.info/notre-dame/ notre dame des paris]] [[http://note.rigour.info/content/view/jesolo-case.htm jesolo case affitto]] [[http://paga.rigour.info/mappe-concettuali/ mappe concettuali per geometri]] [[http://all.rigour.info/marcia-nuziale/ marcia nuziale mendelssohn]] [[http://content.rigour.info/html/jewel-lyrics/ jewel lyrics spirit]] [[http://blog.rigour.info/web/temi-svolti/ temi svolti pena morte]] [[http://pagina.rigour.info/dikom-secure/ dikom secure digital]] [[http://here.rigour.info/blog/foto-helene.htm foto helene swedin]] [[http://speed.rigour.info/midnight-invaders.htm midnight invaders]] [[http://it.rigour.info/topic/le-posizioni/ le posizioni dell amore]] [[http://uve.rigour.info/blog/puntoedu.htm puntoedu]] [[http://pagina.rigour.info/oooh-gem/ oooh gem boy]] [[http://uve.rigour.info/blog/profumo-romeo.htm profumo romeo gigli]] [[http://it.rigour.info/topic/la-ragazza/ la ragazza delle bolle]] [[http://dir.rigour.info/xbox-media/ xbox media player]] [[http://content.rigour.info/html/michael-lehmann/ michael lehmann]] [[http://uve.rigour.info/blog/scopare-biella.htm scopare biella]] [[http://online.rigour.info/quick-time/ quick time for windows]] [[http://uve.rigour.info/blog/group-sex.htm group sex]] [[http://milano.rigour.info/il-prigioniero.htm il prigioniero. disco 04]] [[http://paga.rigour.info/oralb-professional/ oral-b professional care]] [[http://pagina.rigour.info/noway-in/ noway in hell]] [[http://online.rigour.info/diario-segreto/ diario segreto da un carcere femminile]] [[http://it.rigour.info/topic/r-g/ r g v 22]] [[http://content.rigour.info/html/testi-canzoni/ testi canzoni matia bazar]] [[http://pagina.rigour.info/i-got/ i got five on it]] [[http://gratis.rigour.info/content/view/masa-que.htm masa que mas aplauda]] [[http://online.rigour.info/configurazione-mms/ configurazione mms philips 350]] [[http://it.rigour.info/topic/fax-brother/ fax brother 8070p]] [[http://uve.rigour.info/blog/centro-ufficio.htm centro ufficio]] [[http://dir.rigour.info/paese-by/ paese by nicola di bari]] [[http://gratis.rigour.info/content/view/definicion-de.htm definicion de coordenadas cartesianas]] [[http://speed.rigour.info/tu-e.htm tu e cosi sia midi]] [[http://dir.rigour.info/vernice/ vernice]] [[http://it.rigour.info/topic/internet/ internet]] [[http://speed.rigour.info/lo-siento.htm lo siento mp3]] [[http://online.rigour.info/karan-goran/ karan goran stay with me]] [[http://note.rigour.info/content/view/dinosaurs.htm dinosaurs]] [[http://load.rigour.info/view/new/la-nave.htm la nave fantasma]] [[http://note.rigour.info/content/view/luomo-mascherato.htm luomo mascherato contro i pirati]] [[http://uve.rigour.info/blog/il-primo.htm il primo king of iron fist tournament italiano]] [[http://it.rigour.info/topic/nuovo-amore/ nuovo amore brigitte nielsen]] [[http://up.rigour.info/description/lib/lasciami-sognare.htm lasciami sognare - il canto dell uomo solitario]] [[http://all.rigour.info/agenzia-traduzione/ agenzia traduzione bologna]] [[http://guest.rigour.info/library/html/software/ software 730 2006]] [[http://down.rigour.info/blog/torres.htm torres]] [[http://guest.rigour.info/library/html/gprs-cellulari/ gprs cellulari telit]] [[http://web.rigour.info/home-theater/ home theater wireless]] [[http://uve.rigour.info/blog/memory-card.htm memory card sd hp]] [[http://guest.rigour.info/library/html/testi-chella/ testi chella la]] [[http://online.rigour.info/telefax-a/ telefax a trasferimento termico]] [[http://up.rigour.info/description/lib/tv-plasma.htm tv plasma 42 panasonic]] [[http://paga.rigour.info/heat-street/ heat street]] [[http://it.rigour.info/topic/annuncio-donne/ annuncio donne]] [[http://speed.rigour.info/centri-assistenza.htm centri assistenza omnitel]] [[http://down.rigour.info/blog/coniglio-non.htm coniglio, non scappare]] [[http://guest.rigour.info/library/html/il-treno/ il treno ha fischiato di pirandello]] [[http://down.rigour.info/blog/decoder-e.htm decoder e satellite]] [[http://load.rigour.info/view/new/sfondo-cascata.htm sfondo cascata]] [[http://milano.rigour.info/vmpeg.htm vmpeg]] [[http://up.rigour.info/description/lib/monitor-lcd.htm monitor lcd samsung 730bf]] [[http://up.rigour.info/description/lib/digitale-decoder.htm digitale decoder dreambox]] [[http://gratis.rigour.info/content/view/i-gemelli.htm i gemelli cramp]] [[http://gratis.rigour.info/content/view/marco-miglia.htm marco miglia]] [[http://pagina.rigour.info/battista/ battista]] [[http://speed.rigour.info/lg-rh.htm lg rh-7800 160 gb dvd- divx]] [[http://blog.rigour.info/web/in-mezzo/ in mezzo scorre]] [[http://blog.rigour.info/web/io-troia/ io troia chatta con me e daniela]] [[http://web.rigour.info/musulman/ musulman]] [[http://web.rigour.info/eva-ferrari/ eva ferrari]] [[http://italy.rigour.info/blog/estreme.htm estreme]] [[http://here.rigour.info/blog/barra-per.htm barra per porta]] [[http://load.rigour.info/view/new/sli-platinum.htm sli platinum]] [[http://guest.rigour.info/library/html/giusto-pio/ giusto pio giardino segreto mp3]] [[http://down.rigour.info/blog/letture-divina.htm letture divina commedia]] [[http://milano.rigour.info/advanced-crc.htm advanced crc utility 1.1.0]] [[http://dir.rigour.info/www-lapecoranera/ www lapecoranera it]] [[http://it.rigour.info/topic/dusty-springfield/ dusty springfield son of a preacher man]] [[http://paga.rigour.info/opel-corsa/ opel corsa 1.4 swing]] [[http://here.rigour.info/blog/labar-srl.htm labar srl]] [[http://italy.rigour.info/blog/morpheus.htm morpheus]] [[http://all.rigour.info/elicotteri/ elicotteri]] [[http://pagina.rigour.info/if-god/ if god will send his angels]] [[http://blog.rigour.info/web/pixma-ipr/ pixma ip4000r]] [[http://speed.rigour.info/circoncisione.htm circoncisione]] [[http://note.rigour.info/content/view/pelle-moda.htm pelle moda]] [[http://pagina.rigour.info/nikon-coolpix/ nikon coolpix 7900 nital]] [[http://online.rigour.info/televisioni-lcd/ televisioni lcd sony]] [[http://blog.rigour.info/web/disco-di/ disco di avvio xp]] [[http://speed.rigour.info/cuffia-plantronics.htm cuffia plantronics audio 30]] [[http://uve.rigour.info/blog/magic-cd.htm magic cd dvd burner]] [[http://gratis.rigour.info/content/view/ventole-intel.htm ventole intel amd]] [[http://content.rigour.info/html/saeco-professionale/ saeco professionale]] [[http://online.rigour.info/patria-podesta/ patria podesta]] [[http://dir.rigour.info/hp-workstation/ hp workstation]] [[http://web.rigour.info/babyliss/ babyliss 8310]] [[http://italy.rigour.info/blog/jeffbuckley.htm jeffbuckley]] [[http://paga.rigour.info/linsey-dawn/ linsey dawn mckenzie]] [[http://blog.rigour.info/web/attrezzi-accessori/ attrezzi accessori auto e moto]] [[http://dir.rigour.info/sigle-di/ sigle di telefilm]] [[http://uve.rigour.info/blog/lacie-ek.htm lacie 300750ek]] [[http://italy.rigour.info/blog/letras.htm letras]] [[http://dir.rigour.info/biglietto-aereo/ biglietto aereo lamezia-roma]] [[http://blog.rigour.info/web/venditore-tecnico/ venditore tecnico - brindisi (regione puglia - brindisi provincia)]] [[http://it.rigour.info/topic/major-tom/ major tom]] [[http://italy.rigour.info/blog/encarta-enciclopedia.htm encarta enciclopedia]] [[http://all.rigour.info/gioco-golf/ gioco golf minigolf]] [[http://web.rigour.info/konica-minolta/ konica minolta dimage xg]] [[http://blog.rigour.info/web/frasi-auguri/ frasi auguri 50 anni matrimonio]] [[http://gratis.rigour.info/content/view/uccelli-di.htm uccelli di rovo]] [[http://here.rigour.info/blog/nike-auricolari.htm nike auricolari]] [[http://pagina.rigour.info/fleuve-regione/ fleuve, regione-]] [[http://italy.rigour.info/blog/ferrari-immagini.htm ferrari immagini]] [[http://blog.rigour.info/web/gianni-danny/ gianni danny]] [[http://here.rigour.info/blog/vado-al.htm vado al massimo]] [[http://up.rigour.info/description/lib/love-erotic.htm love erotic love]] [[http://web.rigour.info/libero-mappa/ libero mappa]] [[http://all.rigour.info/max-trio/ max trio cordless]] [[http://here.rigour.info/blog/legend.htm legend]] [[http://speed.rigour.info/belami.htm belami]] [[http://down.rigour.info/blog/ragazze-.htm ragazze 18 anni porno]] [[http://note.rigour.info/content/view/morte-di.htm morte di un commesso viaggiatore]] [[http://pagina.rigour.info/pirollo/ pirollo]] [[http://down.rigour.info/blog/punto-gt.htm punto gt]] [[http://up.rigour.info/description/lib/driver-video.htm driver video da 3dfx]] [[http://guest.rigour.info/library/html/adsl-linea/ adsl linea adsl]] [[http://content.rigour.info/html/laura-betti/ laura betti]] [[http://load.rigour.info/view/new/hp-pavillon.htm hp pavillon]] [[http://dir.rigour.info/awz/ awz 6516]] [[http://it.rigour.info/topic/quando-passavano/ quando passavano i lenti]] [[http://gratis.rigour.info/content/view/il-maresciallo.htm il maresciallo rocca. stagione 3. episodio 1]] [[http://guest.rigour.info/library/html/hotel-economico/ hotel economico brescia]] [[http://web.rigour.info/miele-lav/ miele lav]] [[http://speed.rigour.info/la-strana.htm la strana coppia]] [[http://down.rigour.info/blog/ragazzi-brasiliani.htm ragazzi brasiliani]] [[http://load.rigour.info/view/new/dtv.htm dtv 407]] [[http://paga.rigour.info/ripiani-scaffale/ ripiani scaffale]] [[http://online.rigour.info/napolincanto/ napolincanto]] [[http://load.rigour.info/view/new/un-samurai.htm un samurai di nome kitano]] [[http://uve.rigour.info/blog/thienbong-net.htm thienbong net]] [[http://note.rigour.info/content/view/cima-camillo.htm cima, camillo]] [[http://blog.rigour.info/web/il-viaggio/ il viaggio del koala]] [[http://guest.rigour.info/library/html/barbie-sfilate/ barbie sfilate]] [[http://milano.rigour.info/rendimiento-en.htm rendimiento en encofrados metalicos]] [[http://italy.rigour.info/blog/fiat-usata.htm fiat usata torino]] [[http://italy.rigour.info/blog/ramare.htm ramare]] [[http://online.rigour.info/wuhan/ wuhan]] [[http://online.rigour.info/fax-internet/ fax internet]] [[http://up.rigour.info/description/lib/www-nordicknives.htm www nordicknives com]] [[http://note.rigour.info/content/view/daledon-dale.htm daledon dale]] [[http://down.rigour.info/blog/lecablocco.htm lecablocco]] [[http://uve.rigour.info/blog/pedagogia-clinica.htm pedagogia clinica]] [[http://online.rigour.info/gianni-garko/ gianni garko]] [[http://uve.rigour.info/blog/monitor-samsung.htm monitor samsung]] [[http://down.rigour.info/blog/un-silenzio.htm un silenzio particolare stefano rulli]] [[http://all.rigour.info/laura-pausini/ laura pausini lyrics]] [[http://milano.rigour.info/portatili-toshiba.htm portatili toshiba m60]] [[http://pagina.rigour.info/t-compatibili/ t0441 compatibili]] [[http://web.rigour.info/amplificatore/ amplificatore 5]] [[http://guest.rigour.info/library/html/milano-manila/ milano manila biglietti aerei]] [[http://blog.rigour.info/web/stampanti-brother/ stampanti brother fronte retro]] [[http://paga.rigour.info/il-tempo/ il tempo di un addio]] [[http://uve.rigour.info/blog/samsung-usb.htm samsung usb 1gb]] [[http://gratis.rigour.info/content/view/linvasione.htm linvasione]] [[http://dir.rigour.info/macchina-fotografica/ macchina fotografica on line]] <h1>hReview parsing</h1>
<h1>hReview parsing</h1>


by [http://tantek.com/log/ Tantek Çelik]
by [http://tantek.com/log/ Tantek Çelik]

Latest revision as of 18:47, 20 December 2008

hReview parsing

by Tantek Çelik

introduction

When hReview was first being developed, it was clear to me from experience with developing hCard and hCalendar that each property, value, and structure being introduced into hReview was unambiguously parsable, both for the existence of hReviews in arbitrary (X)HTML (and anywhere that arbitrary (X)HTML can be embedded, e.g. RSS, Atom, "generic XML"), and properties and values in general.

The purpose of this document is to capture the specifics of how to parse hReview and all its properties in order to increase interoperability of the format.

status

This document is an incomplete draft. Use the hcard-parsing document for guidance where holes exist. In fact, much of this will be clearly recognized by anyone familiar with hcard-parsing as having been copypasted from that source. At some point (perhaps after writing hcalendar-parsing), I will abstract the common aspects of compound-microformat parsing and write a separate parsing document which will handle all general aspects such as URL handling, looking for the root class name, looking for properties, treating embedded microformats as wrappers etc.

scope

Although this page is written specifically to explain how to parse hReview, the concepts and algorithms contained therein serve as an example for how other compound microformats are to be parsed.

URL handling

An hReview parser may begin with a URL to retrieve.

If the URL lacks a fragment identifier, then the parser should parse the entire retrieved resource for hReview.

If the URL has a fragment identifier, then the parser should parse only the node indicated by the fragment identifier and its descendants, looking for hReviews, starting with the indicated node, which may itself be a single hReviews.

root class name

Each compound microformat starts with a root element with a relatively unique class name. By that I mean a class name which isn't simply a common word, and is unlikely to have been used outside the context of the microformat. By choosing such a root class name the microformat avoids (for all practical purposes) colliding with existing class names that may exist within the (X)HTML context. This is essential to enabling such compound microformats to be embedded inside current, existing content, as well as future content.

Related pages