[WSG] Re: WSG Digest

2012-08-02 Thread Dominic Hey
joining the party a little late here.. unless i have misunderstood things
here this is a perfect situation to employ XSLT (
http://en.wikipedia.org/wiki/XSLT). you can assign whatever attributes you
require to the XML and then use XSLT to have the browser render the file as
XHTML.


On 2 August 2012 10:38, wsg@webstandardsgroup.org wrote:

 *
 WEB STANDARDS GROUP MAIL LIST DIGEST
 *


 From: Mathew Robertson mathew.blair.robert...@gmail.com
 Date: Wed, 1 Aug 2012 09:57:54 +1000
 Subject: Re: [WSG] XHTML5 polyglot markup and WAI-ARIA, is there a valid
 way?

 Hi Isabel,

 It sounds like you might be confusing/mixing your requirements... from the
 limited information you have provided, this sounds like perfect candidate
 to generate two separate files ie: HTML already has accessibility built
 in, and you get the XML file contain exactly what you require.

 regards,
 Mathew Robertson

 On 1 August 2012 09:29, Isabel Santos unboun...@gmail.com wrote:

  Hi Rob,
 
  thank you, and sorry for the delayed answer.
 
  The need for xml comes from the site being
  a web application for an academic work.
  The idea is to generate xml both to the site and for exchange purposes.
 
  I could generate both xml and html but that isn't very elegant,
  and would not optimise the resources.
  In fact, accessibility, validity, design and usability are my own
 concerns,
  they aren't part of the work, won't be evaluated,
  and are taking more time then they should.
 
  Anyway, as long as it is possible to do,
  the more difficult a work, the more one learns.
 
  I gess I've lost a good part of the WAI-ARIA development history,
  it's kind of hard to understand the excessive and aparently arbitrary
  strictness
  of xhtml in regards to ARIA.
 
  regards,
 
  isabel
 
 
 
  On Mon, Jul 30, 2012 at 10:56 AM, Rob Crowther robe...@boogdesign.com
 wrote:
 
 
  What XML content do you need to include?  If you just stick to regular
  HTML5 then all the ARIA stuff is valid (with some sanity restrictions)
 and
  you won't have to work around the strict parsing:
 
  http://www.whatwg.org/specs/**web-apps/current-work/**
  multipage/elements.html#wai-**aria
 http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria
 
 
  XML elements will be parsed into the HTML5 document tree, albeit
 slightly
  differently to how an XML document would be parsed, but maybe close
 enough
  for your purposes depending on what XML you'll be including.
 
  Rob
 
 
 
  ***
  List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
  Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
  Help: memberh...@webstandardsgroup.org
  ***


 *
 From: Rob Crowther robe...@boogdesign.com
 Date: Wed, 01 Aug 2012 02:01:34 +0100
 Subject: Re: [WSG] XHTML5 polyglot markup and WAI-ARIA, is there a valid
 way?

 On 01/08/12 00:29, Isabel Santos wrote:
  I could generate both xml and html but that isn't very elegant,
  and would not optimise the resources.

 Unless you serve the XHTML files with a MIME type of application/xml or
 application/xhtml+xml, which will break things in IE9, the browser will
 treat all the content as HTML anyway.  This is precisely because of
 XHTML's arbitrary strictness.


 http://wiki.whatwg.org/wiki/HTML_vs._XHTML#Differences_Between_HTML_and_XHTML

 Rob


 **
 Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 **





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

[WSG] AUTO: Out of office. (returning 09/08/2012)

2012-08-02 Thread Rohan Westbury


I am out of the office until 09/08/2012.

Urgent messages may be forwarded to Peter Mason, Senior Manager WoVG
Enterprise Architecture  Standards, Government Services Division, DTF (868
32899, peter.j.ma...@dtf.vic.gov.au).



Note: This is an automated response to your message WSG Digest sent on
03/08/2012 19:42:58.

This is the only notification you will receive while this person is away.



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



[WSG] Out of office

2012-08-02 Thread Kiama Web Design
I will be out of the office from Thursday 2nd until Monday 6th August. 
 
Cheers,
Mark New
Kiama Web Design



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***



Re: [WSG] how to force a cache bypass?

2012-08-02 Thread James Ducker
Append some junk querystring to the end of the URL, like
example.com/index.html?20120803132400. Every time it changes, stuff will be
refreshed. Wouldn't really recommend doing it for regular pages because it
makes the URLs look messy, but if you're trying to refresh scripts or
images, go nuts.

James


On 21 July 2012 03:22, Rob Crowther robe...@boogdesign.com wrote:

 On 20/07/2012 17:47, coder wrote:

 How can I make a web page appear as the latest version in all browsers,
 i.e., perform a cache bypass?  And I don't mean for me - I mean for all
 visitors to the page?  Is it possible?
 ??

 Once it's cached in the browser there's not much you can do about it, the
 browser will store the cache settings at the time when it cached the page
 and if those settings say don't check again for a month then, generally,
 it won't.

 If you want the page to never be cached then you need to set the expiry
 header.  With Apache servers this is quite straightforward and can usually
 be done in the directory's .htaccess file:

 ExpiresByType text/html access plus 0 seconds

 This is example was take from HTML5 BoilerPlate:

 https://github.com/h5bp/html5-**boilerplate/blob/**
 83f4f281866be1cf7f391738c53c44**8a5ac658e9/.htaccess#L233https://github.com/h5bp/html5-boilerplate/blob/83f4f281866be1cf7f391738c53c448a5ac658e9/.htaccess#L233


 Rob


 ***
 List Guidelines: 
 http://webstandardsgroup.org/**mail/guidelines.cfmhttp://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: 
 http://webstandardsgroup.org/**join/unsubscribe.cfmhttp://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberhelp@webstandardsgroup.**orgmemberh...@webstandardsgroup.org
 ***




-- 
*James Ducker*
james.duc...@gmail.com
 +61 404 838 470


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***

Re: [WSG] how to force a cache bypass?

2012-08-02 Thread Emmanuel Negri
Sometimes a random query string does not work.

Changing the filename itself works 100% of the time. 

Eg. style-scm-revision-number.css

Manu

On 03/08/2012, at 1:25 PM, James Ducker james.duc...@gmail.com wrote:

 Append some junk querystring to the end of the URL, like 
 example.com/index.html?20120803132400. Every time it changes, stuff will be 
 refreshed. Wouldn't really recommend doing it for regular pages because it 
 makes the URLs look messy, but if you're trying to refresh scripts or images, 
 go nuts.
 
 James
 
 
 On 21 July 2012 03:22, Rob Crowther robe...@boogdesign.com wrote:
 On 20/07/2012 17:47, coder wrote:
 How can I make a web page appear as the latest version in all browsers,
 i.e., perform a cache bypass?  And I don't mean for me - I mean for all
 visitors to the page?  Is it possible?
 ??
 Once it's cached in the browser there's not much you can do about it, the 
 browser will store the cache settings at the time when it cached the page and 
 if those settings say don't check again for a month then, generally, it 
 won't.
 
 If you want the page to never be cached then you need to set the expiry 
 header.  With Apache servers this is quite straightforward and can usually be 
 done in the directory's .htaccess file:
 
 ExpiresByType text/html access plus 0 seconds
 
 This is example was take from HTML5 BoilerPlate:
 
 https://github.com/h5bp/html5-boilerplate/blob/83f4f281866be1cf7f391738c53c448a5ac658e9/.htaccess#L233
 
 
 Rob
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***
 
 
 
 
 -- 
 James Ducker
 james.duc...@gmail.com
  +61 404 838 470
 
 
 
 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***


Re: [WSG] how to force a cache bypass?

2012-08-02 Thread James Ducker
Second that. If you can version the filenames that's definitely the
most sure-fire way to make sure users don't cache old copies.

James


On 3 August 2012 14:39, Emmanuel Negri nna...@gmail.com wrote:

 Sometimes a random query string does not work.

 Changing the filename itself works 100% of the time.

 Eg. style-scm-revision-number.css

 Manu

 On 03/08/2012, at 1:25 PM, James Ducker james.duc...@gmail.com wrote:

 Append some junk querystring to the end of the URL, like
 example.com/index.html?20120803132400. Every time it changes, stuff will
 be refreshed. Wouldn't really recommend doing it for regular pages because
 it makes the URLs look messy, but if you're trying to refresh scripts or
 images, go nuts.

 James


 On 21 July 2012 03:22, Rob Crowther robe...@boogdesign.com wrote:

 On 20/07/2012 17:47, coder wrote:

 How can I make a web page appear as the latest version in all browsers,
 i.e., perform a cache bypass?  And I don't mean for me - I mean for all
 visitors to the page?  Is it possible?
 ??

 Once it's cached in the browser there's not much you can do about it, the
 browser will store the cache settings at the time when it cached the page
 and if those settings say don't check again for a month then, generally,
 it won't.

 If you want the page to never be cached then you need to set the expiry
 header.  With Apache servers this is quite straightforward and can usually
 be done in the directory's .htaccess file:

 ExpiresByType text/html access plus 0 seconds

 This is example was take from HTML5 BoilerPlate:

 https://github.com/h5bp/html5-**boilerplate/blob/**
 83f4f281866be1cf7f391738c53c44**8a5ac658e9/.htaccess#L233https://github.com/h5bp/html5-boilerplate/blob/83f4f281866be1cf7f391738c53c448a5ac658e9/.htaccess#L233


 Rob


 ***
 List Guidelines: 
 http://webstandardsgroup.org/**mail/guidelines.cfmhttp://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: 
 http://webstandardsgroup.org/**join/unsubscribe.cfmhttp://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberhelp@webstandardsgroup.**orgmemberh...@webstandardsgroup.org
 ***




 --
 *James Ducker*
 james.duc...@gmail.com
  +61 404 838 470



 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: memberh...@webstandardsgroup.org
 ***




-- 
*James Ducker*
james.duc...@gmail.com
 +61 404 838 470


***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
***