Next revision | Previous revisionNext revisionBoth sides next revision |
tools:spec-processor [2012/10/05 09:03] – created fantasai | tools:spec-processor [2014/04/21 17:56] – Point to Bikeshed tabatkins |
---|
==== 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> |
=== 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 === |
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.) |
TR.html | TR.html |
</code> | </code> |
| |