Wikipedia talk:WikiProject Microformats

From Wikipedia, the free encyclopedia

Miscellany for deletion This page was nominated for deletion on February 3, 2008. The result of the discussion was Keep.
WikiProject Microformats is part of 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.


Contents

[edit] Archives

[edit] Microformat Icons

Pardon if this is a silly question, but I see the icons for microformats on your example pages (the little green rectangles with a label) and I am wondering if those are supposed to show on pages somehow? Because your Project page is the only place I am seeing them. When {{coord}} gets used on a page, it just expands out into the actual numbers with no icon button in sight. I am wondering if the icon could function as a "hide/show toggle" clickable link such as what we see in navboxes? Then the visual of the little green labelled icon up in the upper right corner of the article would trigger a recognition response in the user and if we wanted to expand that information, one click would toggle the box to "show" and unpack its contents. BeeTea 14:36, 11 July 2007 (UTC)

It could be used like that, if someone were to write the necessary code; but there was a lot of hostility to using the icon at all, even on non- article pages. Andy Mabbett | Talk to Andy Mabbett 09:30, 27 July 2007 (UTC)

[edit] Infobox Theatre

I've recently implemented {{Infobox Theatre}}, and was more or less able to code the necessary things into hCard. I was having some problems, however, getting the url to code properly. I'm trying to code it such that all that would need to be entered is the website, that the theatre's name will code into the brackets, and it would display like this: Majestic Theatre. Any help at all would be greatly appreciated. —  MusicMaker5376 02:40, 27 July 2007 (UTC)

The web address seems to be happening already. I've also tweaked the microformat mark-up; see the template's talk page. Thank you for using microformats. Andy Mabbett | Talk to Andy Mabbett 09:28, 27 July 2007 (UTC)
Thanks for your quick attention! However, when I click "Export Contact" in my Firefox, only the name of the theatre and the city show up in Outlook: no street address, no url. Also, I removed the "nickname" tags from the "othernames" field -- it's a field for historical names, not other names in common usage. Thanks again! —  MusicMaker5376 21:29, 27 July 2007 (UTC)
There is currently no way to add an "adr" class around all the sub-fields of the address, in a wiki-table; and tehre is no way, in wiki code, to add class="url" to an anchor element, unless you show the raw URL, wrapped in a span. "nickname" is still the appropriate class to use, for former names; please restore it. Andy Mabbett | Talk to Andy Mabbett 21:38, 27 July 2007 (UTC)
The way I had it before, the street address and the city both appeared in Outlook. And I don't understand why anyone would want to download a name that hasn't been used for 90 years into their address book, but I'll restore it.... —  MusicMaker5376 22:01, 27 July 2007 (UTC)
They don't have to import nicknames - they can omit them at the point of saving. The way you had it before, three *different* addresses were saved, one with just a street address, one with just a city, and one with just a country. Andy Mabbett | Talk to Andy Mabbett 22:10, 27 July 2007 (UTC)
Note how the address is marked up on {{Infobox Education in Canada}}. Andy Mabbett | Talk to Andy Mabbett 11:54, 31 July 2007 (UTC)
Oh, okay. I see what you're saying. If I included the entire address in one field, it would probably work. —  MusicMaker5376 22:06, 31 July 2007 (UTC)

[edit] Commons:Geocoding

Maybe there should be crosslinks with Commons:Geocoding. (SEWilco 15:59, 27 July 2007 (UTC))

[edit] Time label

Is there a microformat for Time? I'm labeling my images with their location, but haven't noticed a way to label their coordinates in the time dimension. That could be automagically picked up from camera info, although one has to allow manual override (a bot could supply a default time template which could be manually altered). (SEWilco 16:32, 27 July 2007 (UTC))

Not yet, though it has been mentioned previously. The necessary methodology is in place, because there are date/ time components in several microformats already. There are other use-cases, also, such as allowing user-agents to display dates in the user's preferred style, as Wikipedia does, but on any site. there are also issues, such as the problems currently encountered with use of the "abbr" element's title to hold (in this case) the machine readable ISO date format. I'll re-raise the idea on the microformats wiki and mailing list in an hour or two - I'm just about to step out to eat. Andy Mabbett | Talk to Andy Mabbett 17:04, 27 July 2007 (UTC)
On reflection is there any reason why you couldn't use hCalendar? As a minimum, it takes a (start) date-time, and a "summary", which could be the image file name or the location or coordinates; and you can wrap the coordinates in its "location" property. Can you give a URL for one of your pictures, and I'll mark it up as an example. Andy Mabbett | Talk to Andy Mabbett 19:33, 27 July 2007 (UTC)
So far all the images have been in Commons so they're using Commons templates, but at Robert_E._Lee#Monuments the footnote after "attended this dedication" has a cooordinate, while the image of the statue being unveiled has a Commons Location template. I'd like to tag the image with the date of the event (not that anything uses the time yet, although I see Google Earth has added time sequence abilities). (SEWilco 03:05, 28 July 2007 (UTC))

(outdent) It's not as straightforward as I'd imagined, because of the use of templates. What would be needed (on Commons, at least) would be a version of the location template, which would output something like:


<div class="vevent">
  <span class="summary">Unveiling of the Equestrian Statue of Robert E. Lee.</span>
  <span class="dtstart">1890-05-29</span>
  <span class="location geo">37.553861;-77.460194</span>
</div>

Giving:

 Unveiling of the Equestrian Statue of Robert E. Lee.
 1890-05-29
 37.553861;-77.460194

I've raised that on commons, with additional examples and commentary. Andy Mabbett | Talk to Andy Mabbett 08:39, 28 July 2007 (UTC)

[edit] hCalendar - first attempts

I've started to apply hCalendar markup to a couple of templates; see Category:Templates generating hCalendars and Apollo 11. The issues I've found so far are to do with:

  • end dates are "non-inclusive" which complicates the required mark-up
  • no HH:MM:SS component in {{Start date}} or {{End date}} as yet

Because of these, it's probably best if we stick to events with a single, whole-day date, at present.

Any helpful suggestions will be welcome! Andy Mabbett | Talk to Andy Mabbett 18:33, 31 July 2007 (UTC)

[edit] Infobox templates

FYI: Category:Infobox templates. Many of these have (and others could have), hCard microformats; some could have hCalendar. Andy Mabbett | Talk to Andy Mabbett 11:34, 1 August 2007 (UTC)

[edit] Wikinews

Hi, just an idea: does Wikinews use geotags? I have just seen a website which places news items on a map. It would be interesting if Wikinews would support something like that. --Tgr 13:28, 1 August 2007 (UTC)

I'm not aware of it yet. Check if they have Template:coord or Template:Location defined. I've been geotagging my items in Commons, but don't think Wikinews and search engines are using that info yet. (SEWilco 04:46, 6 August 2007 (UTC))
I've raised the issue of microformats on WikiNews on their "water cooler" (like Village Pump) page. Andy Mabbett | Talk to Andy Mabbett 14:09, 6 August 2007 (UTC)

[edit] Logo Deletion Discussion

The Microformat logo images on Wikimedia Commons have been nominated for deletion due to possible copyright violation.


See : http://commons.wikimedia.org/wiki/Commons:Deletion_requests/Microformat_logos#Microformat_logos

--Ozhiker 22:54, 7 August 2007 (UTC)

[edit] hCard use on Wikipedia

hCard use on Wikipedia was requested for examination on Template talk:Coord#Untangling. Does the microformat project have any design plans on microformat implementation on Wikipedia, such as which types of templates generate microformat elements, which need the contents wrapped to construct the element, and which need a complete external microformat wrapper through a template or otherwise? If none exist, could the participants of the project please create some? Such a list would be useful to untangle the dependencies of these seemingly ad hoc implementations. Thanks. --Para 16:24, 8 August 2007 (UTC)

[edit] GreaseMap

I haven't tried it, but I stumbled across a GreaseMonkey tool GreaseMap. It adds a map which shows coordinates on the currently displayed page. (SEWilco 04:35, 13 August 2007 (UTC))

[edit] Coord RfC

Related to the previous request for microformat design plans, there is now a request for comment at Template_talk:Coord#Request for Comment to annotate coordinates on Wikipedia for use as a title in map services and microformat readers. As it's related to this wikiproject, opinions would be appreciated. --Para 10:51, 19 August 2007 (UTC)

The proposal is redundant and broken. Andy Mabbett | Talk to Andy Mabbett 13:52, 19 August 2007 (UTC)

[edit] Biographical metadata

The hcard-person functionality should have been implemented in Persondata, not in every infobox that could possibly be included in a biography. What a mess. We don't need redundant metadata guys. Kaldari 22:49, 27 August 2007 (UTC)

Please see Wikipedia talk:Metadata standardization for broader discussion of this problem. Kaldari 23:26, 27 August 2007 (UTC)

[edit] Template Vgrelease

Shouldn't Vgrelease be implemented instead of Infobox CVG ? [1] « FMF » 16:31, 20 October 2007 (UTC)

[edit] Template:Infobox

In case anyone's still monitoring this WikiProject, I figured I should mention that I've just enhanced the {{Infobox}} template to make it easy to add vcard classes to infoboxes generated using it. I think I've covered all the bases, but if anyone has any suggestions I'm keen to hear them. Bryan Derksen (talk) 20:30, 13 March 2008 (UTC)

See User_talk:Omegatron#hCarding_and_vCarding_._._._.3F for a discussion about another infobox — Omegatron 00:32, 4 April 2008 (UTC)