buttons: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(added concrete suggestion of using CC-by-3.0 license)
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(40 intermediate revisions by 17 users not shown)
Line 1: Line 1:
= Microformats Buttons =
{{DISPLAYTITLE:Microformats Buttons}}


There have been requests for buttons for various microformats. Either badges, or buttons that do something with the specific microformats. This page keeps a list of buttons, and requests as well. - [http://tantek.com/log/ Tantek]
There have been requests for buttons for various microformats. Either badges, or buttons that do something with the specific microformats. This page keeps a list of buttons, and requests as well. - [http://tantek.com/log/ Tantek]


Added hosted buttons for all the microformats, including the draft ones, as well as instructions on how to make your own buttons. (14 May 2006) - [http://www.wackomenace.co.uk/ Ruben]
==Licensing==
If you add <del>links to</del> buttons you have designed, '''please
*'''upload them to this wiki''' to guard against ending up with tons of broken images on this page
*'''also include a statement''' that you do one of the following:
**release them into the public domain
**hold copyright, but release all rights as to it use
**license them under a specified free license, e.g. consider using a [http://creativecommons.org/ Creative Commons] license, such as [http://creativecommons.org/licenses/by/3.0 cc-by-3.0].


==Licensing==
Thank you.
 
* Images below hosted at boogdesign.com are available under [http://creativecommons.org/licenses/by/2.0/ CC Attribution 2.0 License], see [http://www.boogdesign.com/buttons.html my buttons page] for the Photoshop files if you need them. - [[User:RobCrowther|Rob Crowther]]


If you add links to buttons you have designed, '''please also include a statement''' that you do one of the following:
* Images below hosted at rbach.priv.at are available under [http://creativecommons.org/licenses/by/3.0 cc-by-3.0 license]. - [[User:RobertBachmann|Robert Bachmann]]
*release them into the public domain
*hold copyright, but release all rights as to it use
*license them under a specified free license, e.g. consider using a [http://creativecommons.org/ Creative Commons] license, such as [creativecommons.org/licenses/by/3.0 cc-by-3.0].


Thank you.
* Images below hosted at hauntedpalace.net and flickr.com/photos.hauntedpalace (POSH logos and palette cheatsheet) are available under the [http://creativecommons.org/licenses/by-sa/3.0/ Creative Commons Attribution-ShareAlike 3.0 license]. &#8212; [[:User:CarlaHufstedler|Carla Hufstedler]]


== Buttons ==
== Buttons ==


=== Microformat Banner ===
=== Microformat Button ===
I've made a banner for microformats. Since there are so many microformats and with more to come, just indicating support/ use of might be a good generic approach. The image is free to use. Please copy it to your own hosting account and not link to it.
{{main|spread-microformats}}
 
Simple microformats logo-text:


http://www.crowley.nl/images/microformats.png
small transparent PNG:
http://microformats.org/wiki/skins/Microformats/images/logo.gif


I already have a "I use
large transparent PNG:
http://www.crowley.nl/images/microformats.png" on my blog: http://doncrowley.blogspot.com/
http://simplebits.com/bits/microformats/microformats-logo.png


See [[spread-microformats]] for SVG and more.
<blockquote>
I've made a button for microformats. Since there are so many microformats and with more to come, just indicating support/ use of might be a good generic approach. The image is free to use. Please copy it to your own hosting account and not link to it.<br>
<br>
http://web.archive.org/web/20070119204356if_/http://www.crowley.nl:80/images/microformats.png<br>
<br>
I already have a "I use http://web.archive.org/web/20070119204356if_/http://www.crowley.nl:80/images/microformats.png" on my blog: http://doncrowley.blogspot.com/ <br>
<br>
- Don Crowley
- Don Crowley
</blockquote>


* https://pin13.net/badges/microformats.png - by aaronpk, released under public domain
* http://www.boogdesign.com/images/buttons/microformat.png
* http://www.boogdesign.com/images/buttons/microformat.png
* http://www.boogdesign.com/images/buttons/microformat_enabled.png
* http://www.boogdesign.com/images/buttons/microformat_enabled.png
Line 65: Line 84:
* http://www.boogdesign.com/images/buttons/microformat_hcard.png
* http://www.boogdesign.com/images/buttons/microformat_hcard.png
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]
* CSS-powered button, as evidenced at [http://re-run.com/about/microformat-badges microformat badges @ re-run]
* http://notizblog.org/wp-content/plugins/save-microformats/icon-hcard.png


=== [[rel-license]] ===
=== [[rel-license]] ===
Line 94: Line 114:
* http://rbach.priv.at/2006/buttons/xoxo.png
* http://rbach.priv.at/2006/buttons/xoxo.png
* http://www.boogdesign.com/images/buttons/microformat_xoxo.png
* http://www.boogdesign.com/images/buttons/microformat_xoxo.png
===CSS Styles for microformats===
I'm not sure wether this can be under buttons, but I don't know where else to put it. This is a stylesheet containing styles for most microformats. And, it's automatic. I release it under the cc by-sa. Please note that I am new to microformats, and if you can improve this, please do. [[User:Mac Lover|Mac Lover]] 13:25, 13 Apr 2007 (PDT)
[http://creativecommons.org/licenses/by-sa/3.0/us/ License]
[http://alyosha.bendebury.net/microformat-css.zip Zip]
== CSS Buttons ==
As there are new microformats happening all the time I set about making a CSS button that looks like the ''handmade'' versions. This is the result.
The file with the CSS and the two images required (logo and background) can be downloaded from [http://thebeastlybeasts.co.uk/css/microformat_css.zip The Beastly Beasts].
Extract the microformat directory and the files in it to /css so that you have:<br />
/css/microformat/microformat.css<br />
/css/microformat/background.png<br />
/css/microformat/logo.png
If your paths are different a bit of editing is needed.
The XHTML to create a button is:
<pre><tag class="microformat-button microformat-type"><span></span>microformat-type</tag></pre>
For example, an hCard button with a link to the spec:
<pre><a href="http://microformats.org/wiki/hcard" title="Microformat enabled" class="microformat-button hcard"><span></span>hcard</a></pre>


== Buttons for draft formats ==
== Buttons for draft formats ==
Line 107: Line 151:
=== [[hatom|hAtom]] ===
=== [[hatom|hAtom]] ===
* http://rbach.priv.at/2006/buttons/hatom.png
* http://rbach.priv.at/2006/buttons/hatom.png
* http://files.synaesthetic.net/common/images/buttons/hatom.png


=== [[hresume|hResume]] ===
=== [[hresume|hResume]] ===
Line 146: Line 189:
* Left box text: &gt;&gt;&gt;
* Left box text: &gt;&gt;&gt;
* Left box background: #000000
* Left box background: #000000
* Left box text colour: #ffffff
* Left box text color: #ffffff
* Left box text start: 7 pixels from the left
* Left box text start: 7 pixels from the left
* Right box text: (The name of the microformat goes here)
* Right box text: (The name of the microformat goes here)
* Right box background: #31757b
* Right box background: #31757b
* Right box text colour: #ffffff
* Right box text color: #ffffff
* Right box text start: 3 pixels from the bar
* Right box text start: 3 pixels from the bar


Line 170: Line 213:
</pre>
</pre>


=== Style 3 ===
= Microformats Logos =
 
Example: http://files.synaesthetic.net/common/images/buttons/hatom.png


# Get the font [http://www.kottke.org/plus/type/silkscreen/ Silkscreen]
# Install [http://www.imagemagick.org/ ImageMagick]
# Get the blank icon (http://files.synaesthetic.net/public/microformats/button2-blank.png)
# Type:
<pre>convert button2-blank.png
-fill white
-font Silkscreen
-pointsize 8
+antialias 
-draw "text 20,10 'button label'"
output.png
</pre>
= Microformats Logos =
Rohit is a very poor CSS hacker, but gave it his best shot. He also [http://labs.commerce.net/~rohit/µf-logo.html  rendered it at 72 and 18 points.]  
Rohit is a very poor CSS hacker, but gave it his best shot. He also [http://labs.commerce.net/~rohit/µf-logo.html  rendered it at 72 and 18 points.]  


Line 204: Line 231:
</div>
</div>


The above logo as a transparent PNG (linked here from my own server; if you use it, please copy it for yourself):


http://files.synaesthetic.net/public/microformats/microformats1.png
== Palette ==
 
 
<div style="background-color:#AEE219; width:8em; height: 4ex;">#AEE219</div>
 
<div style="background-color:#85BC07; width:8em; height: 4ex;">#85BC07</div>
 
<div style="background-color:#679A06; width:8em; height: 4ex;">#679A06</div>
 
<br />
I created a cheatsheet using [http://bighugelabs.com/flickr/ Big Huge Lab]'s Badgemaker:<br />
[http://flickr.com/photos/hauntedpalace/1296783076/ http://farm2.static.flickr.com/1231/1296783076_1d6fe8a1f8_m_d.jpg]
--[[User:CarlaHufstedler|Carla]] 12:11, 1 Sep 2007 (PDT)
 
 


=Wiki buttons=
=Wiki buttons=
Line 219: Line 259:


* When someone has time, these should be repeated on the page for each respective format.
* When someone has time, these should be repeated on the page for each respective format.
==See also==
{{branding-see-also}}
* <span class="POSH logos">[[posh#Spread_POSH|POSH logos and buttons]]</span>

Latest revision as of 16:21, 18 July 2020


There have been requests for buttons for various microformats. Either badges, or buttons that do something with the specific microformats. This page keeps a list of buttons, and requests as well. - Tantek

Licensing

If you add links to buttons you have designed, please

  • upload them to this wiki to guard against ending up with tons of broken images on this page
  • also include a statement that you do one of the following:
    • release them into the public domain
    • hold copyright, but release all rights as to it use
    • license them under a specified free license, e.g. consider using a Creative Commons license, such as cc-by-3.0.

Thank you.

Buttons

Microformat Button

Main article: spread-microformats

Simple microformats logo-text:

small transparent PNG: logo.gif

large transparent PNG: microformats-logo.png

See spread-microformats for SVG and more.

I've made a button for microformats. Since there are so many microformats and with more to come, just indicating support/ use of might be a good generic approach. The image is free to use. Please copy it to your own hosting account and not link to it.

microformats.png

I already have a "I use microformats.png" on my blog: http://doncrowley.blogspot.com/

- Don Crowley

  • microformats.png - by aaronpk, released under public domain
  • microformat.png
  • microformat_enabled.png
  • emf_green.png
  • mfe_green.png
  • mwmf_green.png
  • smf_green.png
  • emf_white.png
  • mfe_white.png
  • mwmf_white.png
  • smf_white.png

hCalendar

››› hCalendar


Code (white space added for readability):

<span class="badge" 
      style="float: left; font: 9px Geneva, Verdana, sans-serif; padding: 0 1em 1px 0;
      border: 1px solid #000; background: #D1940C; color: #fff; text-decoration: none;
      text-align: center;">
 <span style="background: #000; border-right: 1px solid #000; color: #fff; padding: 1px 0.75em; 
       margin-right: 0.1em;">
 &#8250;&#8250;&#8250;
 </span> 
 hCalendar
</span>

hCard

rel-license

  • license.png
  • microformat_rellicense.png

rel-nofollow

  • nofollow.png
  • microformat_relnofollow.png

rel-tag

  • rel-tag.png
  • tag.png
  • microformat_reltag.png

VoteLinks

  • votelinks.png
  • microformat_votelinks.png

XFN

  • xfn.png
  • microformat_xfn.png

XMDP

  • xmdp.png
  • microformat_xmdp.png

XOXO

  • xoxo.png
  • microformat_xoxo.png

CSS Styles for microformats

I'm not sure wether this can be under buttons, but I don't know where else to put it. This is a stylesheet containing styles for most microformats. And, it's automatic. I release it under the cc by-sa. Please note that I am new to microformats, and if you can improve this, please do. Mac Lover 13:25, 13 Apr 2007 (PDT)

License Zip

CSS Buttons

As there are new microformats happening all the time I set about making a CSS button that looks like the handmade versions. This is the result.

The file with the CSS and the two images required (logo and background) can be downloaded from The Beastly Beasts.

Extract the microformat directory and the files in it to /css so that you have:
/css/microformat/microformat.css
/css/microformat/background.png
/css/microformat/logo.png

If your paths are different a bit of editing is needed.

The XHTML to create a button is:

<tag class="microformat-button microformat-type"><span></span>microformat-type</tag>

For example, an hCard button with a link to the spec:

<a href="http://microformats.org/wiki/hcard" title="Microformat enabled" class="microformat-button hcard"><span></span>hcard</a>

Buttons for draft formats

These may be subject to change if the names of the formats change when they are released.

adr

  • adr.png

geo

  • geo.png

hAtom

  • hatom.png

hResume

  • hresume.png
  • microformat_hresume.png

hReview

  • hreview.png

rel-directory

  • directory.png

rel-enclosure

  • enclosure.png

rel-home

  • rel-home.png
  • home.png

rel-payment

  • payment.png

Robots Exclusion

  • robots.png

xFolk

  • xfolk.png

Make your own buttons

Style 1

Example: hcard.png

Use the Kalsey Button Maker with the following settings:

  • Outer border: #666666
  • Inner border: #ffffff
  • Bar position: 25 pixels from the left
  • Left box text: >>>
  • Left box background: #000000
  • Left box text color: #ffffff
  • Left box text start: 7 pixels from the left
  • Right box text: (The name of the microformat goes here)
  • Right box background: #31757b
  • Right box text color: #ffffff
  • Right box text start: 3 pixels from the bar

Style 2

Example: hcal.png

  1. Get the font Silkscreen
  2. Install ImageMagick
  3. Get the blank icon (blank.png)
  4. Type:
convert blank.png 
 -fill white 
 -font Silkscreen 
 -pointsize 8 
 +antialias  
 -draw "text 28,10 'button label'" 
 output.png

Microformats Logos

Rohit is a very poor CSS hacker, but gave it his best shot. He also rendered it at 72 and 18 points.

logo.gif

microformats


Palette

#AEE219
#85BC07
#679A06


I created a cheatsheet using Big Huge Lab's Badgemaker:
1296783076_1d6fe8a1f8_m_d.jpg --Carla 12:11, 1 Sep 2007 (PDT)


Wiki buttons

For use on this wiki.

  • new! - {{NewMarker}}
  • Success! - {{SuccessMarker}}
  • updated! - {{UpdateMarker}}

Requests

  • Logos for all microformats
  • When someone has time, these should be repeated on the page for each respective format.

See also