publish::write_multiple_files (private)

 publish::write_multiple_files url text [ root_path ]

Defined in packages/acs-content-repository/tcl/publish-procs.tcl

Parameters:
url (required)
Relative URL of the file to write
text (required)
A string of text to be written to the URL
root_path (optional)
Use this root path (default empty)
See Also:

Testcases:
No testcase defined.
Source code:
    ns_log debug "publish::write_multiple_files: root_path = $root_path"
  foreach_publish_path $url {
    mkdirs $filename
    template::util::write_file $filename $text
    ns_chmod $filename 0764
    ns_log debug "publish::write_multiple_files: Wrote text to $filename"
  } $root_path
Generic XQL file:
packages/acs-content-repository/tcl/publish-procs.xql

PostgreSQL XQL file:
packages/acs-content-repository/tcl/publish-procs-postgresql.xql

Oracle XQL file:
packages/acs-content-repository/tcl/publish-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: