UWriter - Manual Pages
Application commands
quit
Exits application.
his {which}
Displays the history buffer (previously run commands). Adding a number
after the word will execute the corresponding command. Example: his 4 will run command stored in history buffer's position 4.
copy {where}
Copy will either copy the last outputed rewrite to the clipboard or append it to
a file. So options are: clip, file. The file is placed in application's root path. Example: copy file will append last rewrite to the file.
Clipboard copy is not functional yet
clear {what}
Clears either the contents of the history buffer or the contents of the file. You will be warned before
the command is executed. Options are: file, his. Example: clear his will empty history buffer.
conf
Displays run-time configuration variables.
Rewriting commands
red_v {page_a page_b}
Writes a simple redirect with the new URL showing in the adress bar.
Example: red_v old.html new.html.
red_h {page_a page_b}
Writes a simple redirect without showing the new URL in the adress bar.
Example: red_h old.html new.html
hotlink {domain ext,ext,...,ext}
Writes the rules necessary to stop hotlinking files from your domain.
Parameter 1 is your domain name (or magic word me), parameter 2 are extension names seperated with comma. If you want to
use jpeg and jpg, write only jpg and application will write it for both.
Example 1: hotlink example.com jpg,mpg,gif
Example 2: hotlink me jpg,mpg,gif
lynx {page_a page_b page_c}
A rewrite if you want to serve different pages for Mozilla compatible browsers and Lynx.
Parameter 1 is page name for Mozilla browsers, parameter 2 is page name for Lynx browser and parameter 3 is the default page name for other browsers.
Example: lynx full.html minimal.html default.html
seo_l {actual url} (in free version)
Rewrites your URL in a search engine friendly way. Regex is a kinda loose and accepts everything.
Example: seo_l index.php?action=do
seo_s {actual url} (in free version)
Rewrites your URL in a search engine friendly way. Regex is more strict here.
Example: seo_s index.php?id=10
Configuration variables
line_ends (win | nix)
Windows or Unix line feeds when writing to the file.
domain (example.com)
Default domain to operate on (used by the magic word me).
Changing configuration variables
As of this time variables can be changed directly from the file (conf.xml). The file exists in applications's root path.
Magic word me
Some commands use a domain name. The one stored in the configuration variable domain can be called by writing me. This is handy if you rewriting many URLs for the same domain.
