Wikipedia talk:WikiProject Microformats

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Microformats
WikiProject Microformats is part of, or of interest to, WikiProject Microformats, which encourages the deployment of microformats in Wikipedia, and documents them in the article space. If you would like to participate, visit the project page.
 

Archives
Archive 1 Archive 2

Contents

[edit] Template:Microformat

Hello, I've taken the initiative to create a generic {{microformat}} mbox template for use on templates which use microformats, as a more visual warning to accompany the text-only one typically buried in the documentation. However, it's still a draft, and could use some attention from individuals who actually know something about microformats and their use on Wikipedia. =) Any takers? ···「ダイノガイ千?!? Talk to Dinoguy1000 18:03, 27 May 2009 (UTC)

*nudge* ダイノガイ千?!? · Talk⇒Dinoguy1000 17:59, 20 July 2009 (UTC)

[edit] 504165 coordinate transclusions

The template transclusion counter found 504165 transclusions of {{Coord}} just now! Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 17:48, 8 September 2009 (UTC)

Now 679652 transclusions. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 12:39, 20 March 2011 (UTC)

[edit] Microformats in stubs

A number of stub templates already emit microformats. I have made a request for a change to {{Asbox}} to facilitate their use with less inline HTML markup, but a couple of editors have expressed concerns. Additional input (at that page, please) would help. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 15:31, 10 September 2009 (UTC)

[edit] Abbreviations

The <abbr/> element for abbreviations can now be used. See also {{abbr}}. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 20:26, 17 September 2009 (UTC)

[edit] Birth date and related templates

{{Birth date}} and related templates only have syntax to accept one date. In writing a biography of a person who lived in a time and place where the Julian calendar was used, it is conventional to give birth and death dates in the Julian calendar. However, microformats requires ISO 8601, which in turn requires the Gregorian calendar. So what is the appropriate thing to do with these templates that contain Julian dates?

  1. Delete the template and type the date in plain text in the appropriate format or
  2. Replace the template with something from the {{Birth-date}} family, specifying the Julian date for display and the Gregorian date for the microformat (even though this will change the microformat from hCard to hCalendar)? --Jc3s5h (talk) 19:36, 13 December 2009 (UTC)
The former; the latter is broken behaviour by that template. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:19, 21 February 2010 (UTC)

[edit] UF-hcard-place

Hi, I've updated a template which uses vcard. I noticed the template {{UF-hcard-place}} mentions "county-name" - shouldn't this be "country-name" (under the "adr" class), or have I got that wrong? Also, I'd be very happy if someone could check the template I changed - {{Infobox UK constituency (former)}}. Thanks --h2g2bob (talk) 23:55, 30 December 2009 (UTC)

The former was a typo; now fixed. Thank you. The latter looks fine. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 21:18, 21 February 2010 (UTC)

[edit] How to view hCard data in browser

[ See: File:Microformat from Doncaster Minster on Wikipedia.png; Microformat rendering made from St George's Minster, Doncaster and Tails Export 0.3.9. ]

Wikipedia:WikiProject Microformats#What are microformats? indicates the Firefox browser supports microformats. Are there ways a Firefox user can make the hCard data visible on wikipedia pages? Are there plug-ins the project members reccommend? Can CSS be used to visualise the data in the same way that it can for Wikipedia:Persondata? It would be useful for the project page to list some viewing tools so that editors can check the hCard data created is correct. -84user (talk) 07:49, 15 April 2010 (UTC)

Update: I am now testing Firefox add-on Tails Export 0.3.9. This add-on displays an orange stacked-card-like icon in the browser status bar on pages where it senses there is microformat metadata. When I click on the icon a side-bar panel opens listing the available metadata; for Main Page it lists two: a Creative Commons license with link to [1] and another license with link to [2].

The article St George's Minster, Doncaster has a third metadata item with links "html", "export" and "geo":

Clicking "html" pops up a Javascript window containing html code, which when saved to a file and viewed in a browser displays a compact version of an infobox (screenshot at right, note the strange text in the links).

Clicking "export" pops up a Javascript window containing html code for the following VCARD, and the add-on also offered to save it in file "export.vcf".

BEGIN:VCARD
PRODID:-//suda.co.uk//X2V 0.6.17 (BETA)//EN
SOURCE:(Best Practices states this should be the URL the calendar was transformed from)
NAME:
VERSION:3.0
N:Minster;Doncaster;;;;
FN:Doncaster Minster
NOTE:Dedication Saint George
NOTE:Parish Doncaster
ORG:Doncaster Minster
URL:www.doncasterminster.co.uk
END:VCARD

Clicking "geo" directs the browser directly to Google maps at [3] with a pin at Doncaster Minster.

While uploading the image I created Commons:Category:Microformat screenshots and placed some existing microformat images there. -84user (talk) 09:20, 15 April 2010 (UTC)

Testing a geocard example: I used Tails Export on Manchester Ship Canal: the first microformat item was "Eastham Locks" and the html button gave the following:

<span xmlns="http://www.w3.org/1999/xhtml" class="vcard"><span title="Maps, aerial photos, and other data for this location" class="geo-dec">53.321700°N 2.948150°W</span><span style="display: none;"> / <span class="geo">53.321700; -2.948150</span></span><span style="display: none;"> (<span class="fn org">Eastham Locks</span>)</span></span>

However, the export button produces a VCARD that was missing the coordinates "53.321700°N 2.948150°W". Is this intentional? -84user (talk) 09:30, 15 April 2010 (UTC)

Thanks for your interest. I believe the missing coordinates are a bug in Tails. A better Firefox add-on is Operator, which correctly includes the coordinates. I also use the Web Developer Toolbar, via its "Information"/"Display ID & Class Details" options, to check microformat mark-up in Wikipedia articles. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 09:38, 15 April 2010 (UTC)

[edit] New script for species microformat

Those of you using the Operator add-on in Firefox might like to know that there is an updated script to read the 'Species' microformat emitted by the Taxobox. More exciting developments soon! Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 16:41, 8 July 2010 (UTC)

[edit] Microformat for objects

The current discussion of a possible microformat for museum exhibits (and other man-made objects) may be of interest: http://museum-api.pbworks.com/Microformats It is intended to be for specific instances of an object ("the Mona Lisa", "the iPad on display in the British Museum") rather than generic objects ("Apple shops will sell you an iPad"), which are already catered for by hProduct. Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 13:53, 10 July 2010 (UTC)

[edit] RFC on Microformats

Please see Wikipedia:Requests for comment/Microformats, and comment. –xenotalk 13:47, 10 August 2010 (UTC)

[edit] Book titles and subtitles

I thought I'd draw attention to Template talk:Cite_book#Title and subtitle. 67.101.6.204 (talk) 22:08, 27 April 2011 (UTC)

[edit] RFC on coordinates in highway articles

There is currently a discussion taking place at WT:HWY regarding a proposal to change the MoS to prohibit the use of coordinates (which are currently emitted as metadata, using microformats) in articles about highways (aka roads/ motorways). Your input is welcomed. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:47, 27 December 2011 (UTC)

Closed with no consensus for any of the options, including those to remove coordinates, except an unrelated proposal to add separate KML files. So status quo pertains. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 17:01, 20 February 2012 (UTC)

[edit] Check please

I just merged two tables into one infobox: {{infobox UK ward}} (no article edits required). Can someone check if I put the vCard classes right? Didn't know how to enter the nested ones correctly. -DePiep (talk) 08:05, 19 January 2012 (UTC)

Checked and fixed in January. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:59, 20 February 2012 (UTC)

[edit] AWB

interesting, unanswered, question about making AWB understand microformats. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 16:57, 20 February 2012 (UTC)

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export