block-list-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (xen)
m (→‎Friends, Enemies: votelinks)
Line 31: Line 31:
== Friends, Enemies ==
== Friends, Enemies ==


If friends can be imported from a page bearing [[XFN]] links, then why not also import block lists using [http://xen.adactio.com/ XEN]?
If friends can be imported from a page bearing [[XFN]] links, then why not also import block lists using [http://xen.adactio.com/ XEN]? Or [[VoteLinks|<code>rev="vote-against"</code>]]?


== see also ==
== see also ==

Revision as of 08:04, 13 August 2008

block list brainstorming

Brainstorm proposals for a block list microformat. Part of the effort to enable greater social network portability.

simple container of hCards

On sites that present an interface to view and edit a block list (see block-list-examples), they nearly always have a containing list, div or table element that surrounds all the names (and/or URLs) of those that are blocked.

Thus:

  • root classname: blocklist

individually blocked people, users, accounts etc are represented by hCards inside the element with classname "blocklist".

Thus an individual may be represented by name, or by URL (e.g. a user profile URL), or both, and thus a site can block specific user profiles, or perhaps "fuzzy" block any individual that matches a given name, or perhaps even provide an interface to manage blocking of specific accounts that appear to match just a name in a block list.

Proposed by Tantek during events/2008-08-12-weekly-meetup-dinner.

example

Here is a simple example of a block list using this brainstormed format:

<ul class="blocklist">
 <li class="vcard">
  <a class="fn url" href="/people/boarsunderabridge">boarsunderabridge</a>
 </li>
 <li class="vcard">
  <a class="fn url" href="/people/flyinlentils">Flyin Lentils</a>
 </li>
</ul>

Friends, Enemies

If friends can be imported from a page bearing XFN links, then why not also import block lists using XEN? Or rev="vote-against"?

see also