Re: [whatwg] Ping + Ping-prefix meta element.
On Mon, 26 Apr 2010, Roger Hågensen wrote: Idea originally posted at https://bugzilla.mozilla.org/show_bug.cgi?id=409508 META name=Ping-prefix content=/trackout/ If the browser see this meta tag it will behave as if ping attribute was applied to all externally leading hrefs with the prefix added to the start. This is an interesting idea, but I think we should probably wait until ping= is widely implemented before trying to add any more features on this front. This is a somewhat sensitive area. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] Ping + Ping-prefix meta element.
On 26.04.2010 22:17, Roger Hågensen wrote: ... Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? ... If by HTML5 list you happen to mean the mailing list of the W3C HTML WG...: the WG decided to remove the ping attribute earlier this year; it's gone from the W3C spec draft. Best regards, Julian
Re: [whatwg] Ping + Ping-prefix meta element.
On Tue, 4 May 2010, Julian Reschke wrote: On 26.04.2010 22:17, Roger Hågensen wrote: ... Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? ... If by HTML5 list you happen to mean the mailing list of the W3C HTML WG...: the WG decided to remove the ping attribute earlier this year; it's gone from the W3C spec draft. It's still in the WHATWG draft, however. Roger: Your input has been added to the list of proposals to consider. There's no ETA on how long that will take, sometimes it takes me many months to get to each last piece of feedback. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Re: [whatwg] Ping + Ping-prefix meta element.
On 2010-04-27 00:41, Aryeh Gregor wrote: On Mon, Apr 26, 2010 at 4:17 PM, Roger Hågensenresca...@emsai.net wrote: Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? This *is* the HTML5 list -- or one of them, anyway. The editor reads this list as well as public-html, and responds to all points made on this list (albeit sometimes months after the fact). Ah! That was a copy paste. (corrected a brainfart typo, aside from that it's a duplicate of the text on the bugzilla database, I just didn't strip out that part of the text). -- Roger Rescator Hågensen. Freelancer - http://EmSai.net/
[whatwg] Ping + Ping-prefix meta element.
Idea originally posted at https://bugzilla.mozilla.org/show_bug.cgi?id=409508 META name=Ping-prefix content=/trackout/ If the browser see this meta tag it will behave as if ping attribute was applied to all externally leading hrefs with the prefix added to the start. In the example above this would be how the browser should treat it as if it was: This tracking script has a url rewrite to it so it looks nice in log parsers etc. The behavior would be similar to doing this: a href=http://example.com; ping=/trackout/http://example.com;Example.com/a a href=links/Links/a a href=http://mozilla.org; ping=/trackout/http://mozilla.org;Mozilla.org/a if the meta tag isMETA name=Ping-prefix content=http://yoursite.com/trackout/; the behavior would be similar to this: a href=http://example.com; ping=http://yoursite.com/trackout/http://example.com;Example.com/a a href=links/Links/a a href=http://mozilla.org; ping=http://yoursite.com/trackout/http://mozilla.org;Mozilla.org/a Here is an alternative tracking script (no url rewrite on this one). META name=Ping-prefix content=/trackout?url= This results in a behavior similar to doing: a href=http://example.com; ping=/trackout?url=http://example.com;Example.com/a a href=links/Links/a a href=http://mozilla.org; ping=/trackout?url=http://mozilla.org;Mozilla.org/a This new meta tag would allow even more rapid adoption as web developers would not need to add a ping attribute to hundreds of pages with maybe dozens of links on each page, and it would be very easy to add such a meta tag to various template scripts/frameworks with just a line of code. To the web developer AND the end user it would also mean no size increase, whereas using the ping attribute would potentially double the number of bytes per href.. Alternatively the body tag could be used instead of a meta tag. In which case the implementation could be: body ping=/trackout/ and body ping=/trackout?url= and so on... This may actually be more fitting. (consideringbody target= attribute behaves in a similar way to my idea) Firefox 3 team has the chance to test this out and see which is more popular. ping attributes in individual a href tags or a single ping attribute in the body tag. With a possible saving of bytes due to a single ping attribute being used there would be no need to use javascript hacks nor redirect urls, nor ping attributes per url. How can one go wrong? I am already testing ping attributes for urls on my site, but damn adding that ping to all those pages is a pain. abody ping= to set a default prefix and have the url appended to it would allow adding url ping by just a single line in the sites template. PS! individual ping attributes would override the global one obviously, just like a target attribute would. Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? -- Roger Rescator Hågensen. Freelancer - http://EmSai.net/
Re: [whatwg] Ping + Ping-prefix meta element.
On Mon, Apr 26, 2010 at 4:17 PM, Roger Hågensen resca...@emsai.net wrote: Oh, and could someone on the HTML5 list poke some of the guys over there and see if a ping attribute for the body tag in a similar vein could be considered? This *is* the HTML5 list -- or one of them, anyway. The editor reads this list as well as public-html, and responds to all points made on this list (albeit sometimes months after the fact).