[uf-discuss] Marking up properties (buildings) as hCard
In my day job I develop a property listings database that contains a large number of records of commercial property available to let/buy. We're undergoing a big rewrite and it's a good opportunity for me to inject some microformats into the equation. When looking at the details page for of a property, the following are present: * A description, headline, lots of info about availability, square-footage, price etc. * Contact details for the agent responsible (which can be an hCard) * The address of the property (ADR?) * (for some) The co-ordinates of the property (GEO?) The last two seem primed for grouping together into an hCard for the property itself, but I have the following issues: * Does marking up a property as an hCard make sense? * hCard requires either an FN or an ORG, from what I can tell. I'm not clear which of these is preferable for a property. Commercial properties are generally referred to by either the building name (i.e. Microformats House) or the number/street (10 Microformats St.). These are both usually also the first line of the address, do I just have span class=adrspan class=street-address org1 Madeup St./span/span ? Any guidance would be appreciated. -Ciaran McNulty ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Marking up properties (buildings) as hCard
Ciaran McNulty wrote: * Does marking up a property as an hCard make sense? Absolutely! * hCard requires either an FN or an ORG, from what I can tell. I'm not clear which of these is preferable for a property. Commercial properties are generally referred to by either the building name (i.e. Microformats House) or the number/street (10 Microformats St.). These are both usually also the first line of the address, do I just have span class=adrspan class=street-address org1 Madeup St./span/span ? That's how I've approached it in the past if I don't have a proper name for the location. I'd lean toward using fn instead of org, but someone with a bit more know-how might have better insight than I. Jason [EMAIL PROTECTED] ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Marking up properties (buildings) as hCard
On 4/3/07, Jason Garber [EMAIL PROTECTED] wrote: That's how I've approached it in the past if I don't have a proper name for the location. I'd lean toward using fn instead of org, but someone with a bit more know-how might have better insight than I. I wasn't sure if I included an FN, isn't there a requirement for an N as well? -Ciaran McNulty ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Marking up properties (buildings) as hCard
Ciaran McNulty wrote: I wasn't sure if I included an FN, isn't there a requirement for an N as well? It looks like it depends [1]. Maybe in this case ORG would be the appropriate solution. I (potentially) stand corrected. :-P Jason [EMAIL PROTECTED] [1] http://microformats.org/wiki/hcard#Implied_.22n.22_Optimization ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss
Re: [uf-discuss] Marking up properties (buildings) as hCard
In message [EMAIL PROTECTED], Ciaran McNulty [EMAIL PROTECTED] writes In my day job I develop a property listings database that contains a large number of records of commercial property available to let/buy. * Does marking up a property as an hCard make sense? * hCard requires either an FN or an ORG, from what I can tell. You can use adr as a stand-alone uF; then you won't need to worry about the fn/org. -- Andy Mabbett * Say NO! to compulsory ID Cards: http://www.no2id.net/ * Free Our Data: http://www.freeourdata.org.uk * Are you using Microformats, yet: http://microformats.org/ ? ___ microformats-discuss mailing list microformats-discuss@microformats.org http://microformats.org/mailman/listinfo/microformats-discuss