Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:spec-processor [2012/10/05 09:03] – created fantasaitools:spec-processor [2023/07/06 13:08] (current) – Delete long-obsolete mention of Anolis tabatkins
Line 1: Line 1:
 ==== CSSWG and other post processing ==== ==== CSSWG and other post processing ====
 +
 +**NOTE: THIS PAGE IS MOSTLY OBSOLETE.**
 +Unless you're editting one of the handful of very old specs that haven't been converted to [[http://wiki.csswg.org/tools/bikeshed|Bikeshed]], you don't need any of the information on this page.
 +
 +-------
 +
 For the CSSWG and other groups, you'll likely be editing a file called: For the CSSWG and other groups, you'll likely be editing a file called:
 <code> <code>
Line 14: Line 20:
 === Using the web form === === Using the web form ===
  
-Go to: +  - Go to: http://www.w3.org/Style/Group/css3-src/bin/postprocess-file 
- +  Click (Choose File) and select the ''Overview.src.html'' file on your local machine that you want to post-process (you should do this when you're ready to check it in). 
-http://www.w3.org/Style/Group/css3-src/bin/postprocess-file +  Choose (*) Generated HTML - radio button 
- +  Click the (Submit) button 
-Click (Choose File) and select the ''Overview.src.html'' file on your local machine that you want to post-process (you should do this when you're ready to check it in). +  Save the page (e.g. in Firefox, choose the "Save Page as..." menu item from the "File" menu, be sure to choose "Web page, HTML only" from the "Save as" popup), name the file ''Overview.html'' (without the quotes), and save it right next your ''Overview.src.html'' - you'll likely be replacing an older version, that's ok, go ahead and confirm (command-R in the replace dialog).
- +
-Choose (*) Generated HTML - radio button +
- +
-Click the (Submit) button +
- +
-Save the page (e.g. in Firefox, choose the "Save Page as..." menu item from the "File" menu, be sure to choose "Web page, HTML only" from the "Save as" popup), name the file ''Overview.html'' (without the quotes), and save it right next your ''Overview.src.html'' - you'll likely be replacing an older version, that's ok, go ahead and confirm (command-R in the replace dialog).+
  
 === Using a command-line script === === Using a command-line script ===
Line 30: Line 30:
 If you're on a system with [[http://curl.haxx.se/|curl]] on it, just save the following line to a file somewhere in your executable path: If you're on a system with [[http://curl.haxx.se/|curl]] on it, just save the following line to a file somewhere in your executable path:
  
-  curl -u USERNAME:PASSWORD -F file=@Overview.src.html -F group=CSS -F output=html -F method=file http://cgi.w3.org/member-bin/process.cgi -o Overview.html+  curl -u USERNAME:PASSWORD -F file=@Overview.src.html -F group=CSS -F output=html -F method=file https://www.w3.org/Style/Group/process.cgi -o Overview.html
  
 (Replace the USERNAME:PASSWORD with your W3C username and password, the same that you would enter when visiting the web form linked above.) (Replace the USERNAME:PASSWORD with your W3C username and password, the same that you would enter when visiting the web form linked above.)
Line 41: Line 41:
   curl -u $W3C_USER:$(python -c "import keyring;print(keyring.get_password('Mercurial', '$W3C_USER@@https://dvcs.w3.org/hg/'))") -F file=@Overview.src.html -F group=CSS -F output=html -F method=file http://cgi.w3.org/member-bin/process.cgi -o Overview.html   curl -u $W3C_USER:$(python -c "import keyring;print(keyring.get_password('Mercurial', '$W3C_USER@@https://dvcs.w3.org/hg/'))") -F file=@Overview.src.html -F group=CSS -F output=html -F method=file http://cgi.w3.org/member-bin/process.cgi -o Overview.html
  
-(Before using this script you need to push at least once so that the password is in they keyring.) +(Before using this script you need to push at least once so that the password is in the keyring.)
- +
- +
-=== Other Working Groups === +
- +
-For the WebApps working group (e.g. for the Fullscreen specification), you have to install more tools: +
-  * [[http://wiki.whatwg.org/wiki/Anolis#Setting_up_Anolis_with_cross-specification_cross-references|Setting up Anolis with cross-specification cross-references]] +
-  * install lxml and html5lib (details unknown) +
-  * run make in directory of the spec, e.g. +
-<code> +
- cd /mirror/hg/dvcs.w3.org/fullscreen # or wherever you have it locally +
- make +
-</code> +
-  * you should now have updated files - check their mod dates to be sure: +
-<code> +
- Overview.html +
- TR.html +
-</code> +
 
tools/spec-processor.1349452996.txt.gz · Last modified: 2014/12/09 15:48 (external edit)
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki