block-list-brainstorming: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(drafted a simple brainstormed I proposed during the microformats weekly meetup dinner)
 
(noted proposal at event)
Line 4: Line 4:


== simple container of hCards ==
== 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.
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.


Line 14: Line 13:


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.
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 [[User:Tantek|Tantek]] during [[events/2008-08-12-weekly-meetup-dinner]].


=== example ===
=== example ===

Revision as of 07:41, 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>

see also