Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
tools:spec-processor [2012/10/05 09:03] – created fantasaitools:spec-processor [2014/12/09 15:48] – external edit 127.0.0.1
Line 1: Line 1:
 ==== CSSWG and other post processing ==== ==== CSSWG and other post processing ====
 +
 +**NOTE**: Most CSSWG specs are now edited with [[http://wiki.csswg.org/tools/bikeshed|Bikeshed]], a more advanced preprocessor with virtually all of the features of the old preprocessor.
 +
 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 17:
 === 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 27:
 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 38:
   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.)
  
  
Line 59: Line 56:
  TR.html  TR.html
 </code> </code>
- 
 
tools/spec-processor.txt · Last modified: 2023/07/06 13:08 by tabatkins
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki