Message-ID: <50C6724D.6090500@tsmchughs.com>
On 12/10/12 12:57 PM, Ian Hickson wrote:
> On Mon, 10 Dec 2012, Brian Tremblay wrote:
>> On 12/10/12 11:07 AM, Ian Hickson wrote:
>>> On Mon, 10 Dec 2012, Brian Tremblay wrote:
>>>>
>>>> What I'm trying to do is associate "Napa Valley" in the
>>>> element with the winery in the header, as that winery's
>>>> addressRegion.
>
> Fundamentally the issue there is that you have data from different
> items overlapping; there's not much you can do about that.
>
> I don't think there's a good solution that doesn't involve duplication
> when a single element is a property for one item and contains a property
> for another; as it stands today there's no way to exclude a subtree from
> an item other than making it an item itself. If you wanted to do that, you
> could do something like this:
>
>
>
> Join us for a special wine event featuring
> itemprop="addressRegion" id="napa">Napa Valley's
> Franciscan Estate Winery.
>
>
> What this does is introduce an anonyous item which blocks out the
> addressRegion property from the outer FoodEvent item.
That indeed does the trick. And I would not have thought of that, so thanks.
> In the future we might introduce a way to explicitly exclude a subtree
> from an ancestor, if this is a common issue.
It seems like it would be, even in less complicated cases than mine.
> By the way, as far as I can tell addressRegion isn't a valid schema.org
> value for a Winery item. Looks like you need another item just for the
> addressRegion or something.
Yes, but I wanted to keep the example as simple as possible. In the live
version, the item included via itemref has itemprop="location", and an
itemtype which is set to PostalAddress.
> This is quite the elaborate vocabulary. :-/
Yes, a bit more complicated than needed, I suppose. In the end,
including the addressRegion of the winery was hardly crucial, but I
wanted to know if it was possible.
By contrast, everything else is necessary: a restaurant, with an event,
hosted by a person, employed by a winery. I don't know if anyone does
anything with events microdata right now. But if they did, they might
search for wine events at Seattle restaurants, or search for events
featuring a winery they like, or wines from a region they like.
I dunno. Maybe this whole thing is a waste of effort on my part. :-/
--
Brian Tremblay
From ian at hixie.ch Mon Dec 10 15:49:06 2012
From: ian at hixie.ch (Ian Hickson)
Date: Mon, 10 Dec 2012 23:49:06 +0000 (UTC)
Subject: [html5] microdata itemref
In-Reply-To: <50C6724D.6090500@tsmchughs.com>
References: <50C626BA.9000907@tsmchughs.com>
<50C63E9F.4010801@tsmchughs.com>
<50C6724D.6090500@tsmchughs.com>
Message-ID:
On Mon, 10 Dec 2012, Brian Tremblay wrote:
> >
> > In the future we might introduce a way to explicitly exclude a subtree
> > from an ancestor, if this is a common issue.
>
> It seems like it would be, even in less complicated cases than mine.
I haven't seen many examples of it, but it's definitely something I'll
keep an eye open for.
> By contrast, everything else is necessary: a restaurant, with an event,
> hosted by a person, employed by a winery. I don't know if anyone does
> anything with events microdata right now. But if they did, they might
> search for wine events at Seattle restaurants, or search for events
> featuring a winery they like, or wines from a region they like.
>
> I dunno. Maybe this whole thing is a waste of effort on my part. :-/
If you're getting something out of it (e.g. prettier search results
snippets in search engines), then it's worth it. If not... I generally
don't recommend solving problems that don't yet exist. :-)
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
From webmaster at tsmchughs.com Mon Dec 10 16:06:23 2012
From: webmaster at tsmchughs.com (Brian Tremblay)
Date: Mon, 10 Dec 2012 16:06:23 -0800
Subject: [html5] microdata itemref
In-Reply-To:
References: <50C626BA.9000907@tsmchughs.com>
<50C63E9F.4010801@tsmchughs.com>
<50C6724D.6090500@tsmchughs.com>
Message-ID: <50C678FF.7010901@tsmchughs.com>
On 12/10/12 3:49 PM, Ian Hickson wrote:
> On Mon, 10 Dec 2012, Brian Tremblay wrote:
>
>> everything else is necessary: a restaurant, with an event, hosted
>> by a person, employed by a winery. I don't know if anyone does
>> anything with events microdata right now. But if they did, they
>> might search for wine events at Seattle restaurants, or search for
>> events featuring a winery they like, or wines from a region they
>> like.
>>
>> I dunno. Maybe this whole thing is a waste of effort on my part.
>
> If you're getting something out of it (e.g. prettier search results
> snippets in search engines), then it's worth it.
Only rarely -- with specific searches -- do I see rich snippets in
search results. It's so rare, that I can't duplicate those results.
> If not... I generally don't recommend solving problems that don't yet
> exist. :-)
That's certainly good advice.
I keep waiting for Google to include my rich snippets more consistently.
I'd also think that there would be a market for restaurant searches
where my microdata could prove useful, perhaps to find restaurants
serving a certain cuisine. But there's no way to know if *anyone* is
using it.
There are browser tools to help users process data (to add an event to
their calendar, for example), but they seem to be limited to
microformats right now. And how many people actually use such tools?
In the end, you're probably right: there's no point in doing this
without knowing whether it's useful.
--
Brian Tremblay
From ian at hixie.ch Mon Dec 10 20:44:29 2012
From: ian at hixie.ch (Ian Hickson)
Date: Tue, 11 Dec 2012 04:44:29 +0000 (UTC)
Subject: [html5] microdata itemref
In-Reply-To: <50C678FF.7010901@tsmchughs.com>
References: <50C626BA.9000907@tsmchughs.com>
<50C63E9F.4010801@tsmchughs.com>
<50C6724D.6090500@tsmchughs.com>
<50C678FF.7010901@tsmchughs.com>
Message-ID:
On Mon, 10 Dec 2012, Brian Tremblay wrote:
>
> I keep waiting for Google to include my rich snippets more consistently.
> I'd also think that there would be a market for restaurant searches
> where my microdata could prove useful, perhaps to find restaurants
> serving a certain cuisine. But there's no way to know if *anyone* is
> using it.
>
> There are browser tools to help users process data (to add an event to
> their calendar, for example), but they seem to be limited to
> microformats right now. And how many people actually use such tools?
One thing you might be able to do to determine if anyone is using it is
use a unique URL for some image property and see if you get any hits for
it. It wouldn't catch all uses, but...
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
From ian at hixie.ch Thu Dec 13 14:48:13 2012
From: ian at hixie.ch (Ian Hickson)
Date: Thu, 13 Dec 2012 22:48:13 +0000 (UTC)
Subject: [html5] Why HTML5 deprecated percentage defined coords?
In-Reply-To:
References:
Message-ID:
On Tue, 11 Sep 2012, Stefano Gargiulo wrote:
>
> https://developer.mozilla.org/en-US/docs/HTML/Element/area
>
> > *coords
> > *A set of values specifying the coordinates of the hot-spot region. The
> > number and meaning of the values depend upon the value specified for the *
> > shape* attribute. For a rect or rectangle shape, the *coords* value is
> > two x,y pairs: left, top, right, and bottom. For a circle shape, the
> > value is x,y,r where x,y is a pair specifying the center of the circle
> > and r is a value for the radius. For a poly or polygon< shape, the value
> > is a set of x,y pairs for each point in the polygon: x1,y1,x2,y2,x3,y3,and
> > so on. I
> > *In HTML4, the values are numbers of pixels or percentages, if a percent
> > sign (%) is appended; in HTML5, the values are numbers of CSS pixels.*
>
> Why HTML5 deprecated percentage coords definition in the area tag?
Because after some 6 years, browsers still hadn't implemented it.
> In my case, I'm trying to implement a pure DOM clickable pie-slices (not
> with Canvas or SVG just because it need to be a cross browser app).
Since percentages don't work in many browsers, while canvas and SVG do, I
think I would recommend using canvas or SVG. :-)
(In this case, probably SVG.)
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
From penny.lane.mini at gmail.com Thu Dec 13 18:45:36 2012
From: penny.lane.mini at gmail.com (Tom Fulcher)
Date: Fri, 14 Dec 2012 13:45:36 +1100
Subject: [html5] WOFF Fonts outlined at small sizes
Message-ID:
Hi All, I've found a funny situation with the bulk of the icons I've
tested.. browsers using the woff format (best seen in ff) will show an
outlined version of icons if the font size is below a certain amount of ems
but all other browsers work fine. I increase the font size and they then
become coloured.. see here for an example..
http://hashbang.envoyat.com/testpage.html - this will use svg in most
browsers but woff in firefox which will result in outlined icons if you
display the same page without svg icons in any browser:
http://hashbang.envoyat.com/testpage-no-svg.html
you'll notice icon number 4 is outlined until it reaches a certain font
size.
notice the build and iterate icon.. bump up the font size in firebug to
4.3em and it is fully coloured again?
Just wondering if anyone had a way around this as I need them at the
smaller size!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From artzone_1 at comcast.net Sun Dec 16 18:22:58 2012
From: artzone_1 at comcast.net (Mary Nelson)
Date: Sun, 16 Dec 2012 21:22:58 -0500
Subject: [html5] please help me get off these lists
Message-ID:
I am dyslexic and even though I wish I could I cannot handle all the emails I am getting. Hard to admit but true I can't find the emails I really need to find so please if your information is very technical especially script I would appreciate help getting off. Sorry for the inconvience.
From kdeamndl at gmail.com Mon Dec 17 03:03:51 2012
From: kdeamndl at gmail.com (Kevin Deamandel)
Date: Mon, 17 Dec 2012 12:03:51 +0100
Subject: [html5] please help me get off these lists
In-Reply-To:
References:
Message-ID:
send unsubscribe to help-request at lists.whatwg.org
-Kevin
On Mon, Dec 17, 2012 at 3:22 AM, Mary Nelson wrote:
> I am dyslexic and even though I wish I could I cannot handle all the emails I am getting. Hard to admit but true I can't find the emails I really need to find so please if your information is very technical especially script I would appreciate help getting off. Sorry for the inconvience.
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
From yillkid at gmail.com Fri Dec 21 11:25:12 2012
From: yillkid at gmail.com (=?Big5?B?tsCrVLe2?=)
Date: Sat, 22 Dec 2012 03:25:12 +0800
Subject: [html5] SVG lineTo in a loop
Message-ID:
Hi all.
I can coding as blow to draw a polygonal line:
var ctx = canvas.getContext("2d");
ctx.beginPath();
ctx.moveTo(0,126);
{ data in loop }
ctx.lineTo(x , {{data}});
{ endfor }
ctx.stroke();
ctx.closePath();
But if I want to set a moveto one time and multi times lineto with a loop,
how I should do with SVG ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From cabanier at gmail.com Fri Dec 21 11:58:39 2012
From: cabanier at gmail.com (Rik Cabanier)
Date: Fri, 21 Dec 2012 11:58:39 -0800
Subject: [html5] SVG lineTo in a loop
In-Reply-To:
References:
Message-ID:
This seems more like a question for www-svg.
Can you also post a jsfiddle so we can see what you're trying to accomplish?
On Fri, Dec 21, 2012 at 11:25 AM, ??? wrote:
> Hi all.
>
> I can coding as blow to draw a polygonal line:
>
> var ctx = canvas.getContext("2d");
> ctx.beginPath();
>
> ctx.moveTo(0,126);
>
> { data in loop }
> ctx.lineTo(x , {{data}});
> { endfor }
>
> ctx.stroke();
> ctx.closePath();
>
> But if I want to set a moveto one time and multi times lineto with a loop,
> how I should do with SVG ?
>
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From webmaster at tsmchughs.com Sun Dec 30 08:55:36 2012
From: webmaster at tsmchughs.com (Brian Tremblay)
Date: Sun, 30 Dec 2012 08:55:36 -0800
Subject: [html5] the case for a element
Message-ID: <50E07208.1050807@tsmchughs.com>
I'm using markup for a restaurant menu, and have added product
microdata markup from schema.org. Because items in a are defined
implicitly -- - element(s) followed by
- element(s) -- there's no
easy way to scope them individually. What I'm left doing is adding 2 id
attributes for each menu item, and using itemref:
http://tsmchughs.com/test/dessert
If we had a element, to scope each item in a description list, the
markup needed to add microdata (or microformats) would be much simpler.
Here's an example:
http://tsmchughs.com/test/dessert-test
Note that these are test examples derived from a real world example.
Here's the dessert menu for the restaurant:
http://tsmchughs.com/menus/dessert
Because the list is short, I've added the necessary id and itemref
attributes. But I have not for longer menus, e.g.:
http://tsmchughs.com/menus/lunch
http://tsmchughs.com/menus/dinner
The authoring costs -- maintaining 2 unique ids for each menu item --
are too high for anything more than a few items. Using
markup
for a menu is much easier:
http://www.tenmercer.com/menu/dinner
Therefore, I think we need a element. This has come up in the
past. If I understand correctly, the editor has declined, saying that
the need for is only to make styling easier, so the problem should
be solved in css. But I think the problem here is not styling, it's
creating natural, discrete items in a description list, which might be
used for styling, or for microdata, or perhaps for other reasons which I
haven't thought of. Without , use of becomes much harder to
use even though it may be the best markup choice.
--
Brian Tremblay