|
Article on other languages:
|
Project aims
What are microformats?A Microformat (sometimes abbreviated μF or uF) is a way of adding simple semantic meaning to human-readable content which is otherwise, from a machine's point of view, just plain text. They allow data items such as events, contact details or locations, on HTML (or XHTML) web pages, to be meaningfully detected and the information in them to be extracted by software, and indexed, searched for, saved or cross-referenced, so that it can be reused or combined. More technically, they are items of semantic mark up, using just standard (X)HTML with a set of common class-names and rel-attributes (though the latter are not used on MediaWiki). They are open and available, freely, for anyone to use. For example, 52.48,-1.89 is a pair of numbers which may refer to anything; but in some contexts could be understood to be a set of geographic coordinates. By wrapping them in spans (or other HTML elements) with specific class names (in this case part of the geo microformat specification): <span class="geo"><span class="latitude">52.48</span>, <span class="longitude">-1.89</span></span> ...machines can be told exactly what each value represents, and can then index it, look it up on a map, export it to a GPS device, or whatever. Other microformats allow the encoding and extraction of events, contact information, social relationships, and so on. More are being developed. Version 3 of the Firefox browser [1][2] includes, and version 8 of Internet Explorer may include[3], native support for microformats. How can we use Microformats on Wikipedia?(and, more generally, in MediaWiki)? It is easier to apply them to templates rather than individual pages. That also means that individual authors need not know the intricacies of microformat mark-up, only how to use the relevant template. Many of the templates on Wikipedia require minimal changes, to use microformats to present their existing content with added meaning. While the functionality may already exist in the Wikipedia template, adding microformat mark-up will make that functionality available to people using the same tools they use when visiting other sites. Project membersButtonUse {{User Microformats}} to show your participation in this project. BannerPut {{ProjectMicroformats}} on the talk page of relevant articles. Meta templatesFor articles
For talk pagesFor templates
For template documentation
CategoriesParser functionsThe following may be of use.
RelatedTo doVolunteers needed!
Currently availableGeoGeo (shortcut: WP:GEOUF) is for WGS84 coordinates (latitude;longitude). Geo allows waypoints to be indexed ("find me all places within 2 km of X"), looked up on other websites, or uploaded to devices, such as GPS units. {{coord}} applies the Geo microformat to coordinates on Wikipedia. It is is intended to replace the "coor" family of templates and simplify data entry.
See also: Geo examples on WikipediaSee: Category:Templates generating Geo Examples:
ExtensionsThere are three active proposals, none mutually-exclusive, and all backwards-compatible, to extend the geo microformat:
Export to KMLPages marked with {{coord}} can be exported as KML (for use in Google Earth, for example) via Brian Suda's site, in this format: The same URL can be pasted into Google Maps as a search, and will show the locations, as push-pins on a map The template: {{kml}} has been created for this purpose (and was immediately nominated for deletion!). hCardhCard is for contact details of people (both article subjects and user profiles), organisations and venues. See Wikipedia:WikiProject Microformats/hcard for more. AdrThe adr microformat for postal addresses and their individual components is a sub-set of hCard. See the above page for more information, or Category:Templates generating ADR microformats. {{User:Coldacid/Templates/mf-adr}} generates an inline adr, either standalone or for placing within an existing HTML tag with class="adr" via the inadr paramter. hCalendarhCalendar is for events - so that they can be added directly to calendar or diary programmes or websites. See Category:Templates generating hCalendars (note also Wikipedia:Selected anniversaries). {{start date}} & {{ISO date}} now emit the required ISO8601 date with {{timeline-item}} (with {{timeline-start}} and {{timeline-end}}) generate a definition list for a series of dated events, each being wrapped in an hCalendar microformat. {{timeline-links}} passes a page's set of hCalendar events to external timeline-generating and other hCalendar-using websites. hAtomhAtom is for making feeds. It will not be possible to use hAtom in Wikipedia until it is possible to have an {{start date}} & {{ISO date}} now emit the required ISO8601 date with hReviewhReview is for marking up reviews, and could be used by, for example, Template:Infobox Album. OtherPseudo-microformatsThough not formally microformats (because they have not been developed using the "microformats process", and/ or involve hidden metadata), the following are related: ClassesSee /classes Under developmentSpeciesSee /Species ForthcomingCitationsThe proposed citation microformat will obviously be very relevant to Wikipedia, both for on-page citations and bibliographies, and for allowing people to cite Wikipedia, elsewhere. See Template talk:Cite book#Use in Bibliography and COinS in Wikipedia for work which is laying some of the groundwork for application of that microformat, once it is ready. Citation microformats would allow the look-up of cited articles or books in libraries or shops, and the extraction of citation data for the page being voted, if it is to be cited elsewhere. CurrencyThe proposed currency microformat may be useful, especially if the suggestion to include a date field for historical amounts is included., for example, on 1922 in Germany
Currency would allow automatic conversion of amounts into other currencies ("how much is that in dollars?") or time ("how much would that be today?") Other MediaWiki usesWikitravelWikitravel is using microformats, not least in Wikitravel listings MediaWiki issues
or:
or a combination of both, where "xxx" is a valid microformat attribute such as "url" and "yyy" is a valid rel attribute such as "directory", "tag" or "colleague" (the latter from XFN). For other issues encountered when adding microformats to Wikipedia and other pages, using Media Wiki mark-up, see [2] References
|
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net