[vtkusers] Contributing text files to the Wiki

David Cole david.cole at kitware.com
Tue Dec 5 10:40:27 EST 2006


Well... I don't know about submitted files, but I do know you can usually
prevent the grief associated with the special html characters when you embed
the text by enclosing it with "<pre>" and "</pre>" (the html pre-formatted
tag).

I did that when I posted the script section of this Wiki page:
http://www.cmake.org/Wiki/CMake_Useful_Variables/Get_Variables_From_CMake_Dashboards...and
it seems to have preserved the special characters as I intended.

The only thing you have to worry about is if your text includes "</pre>" --
then you have some manual edits.

I think you can also fool the Wiki into accepting an uploaded text file
simply by giving it a ".jpg" extension when uploaded... That's also
inconvenient, though.

HTH,
David

On 12/4/06, Moreland, Kenneth <kmorel at sandia.gov> wrote:
>
> I've been trying to commit text-based files to the Kitware Wiki such as
> cmake files and xml material files.  Of course, the upload file feature
> does not let me upload files of these types.  I've resorted to embedding
> the files in a regular Wiki page.  However, this solution is
> inconvenient for both uploading and downloading the file.  It has also
> been giving me a lot of grief about special html characters like '<',
> '>', and '&'.
>
> Could someone add the file extensions .txt, .cmake, and .xml, as well as
> any other relevant text types, to the accepted list of Wiki uploads.  Or
> does someone have a better solution?
>
> -Ken
>
>    ****      Kenneth Moreland
>     ***      Sandia National Laboratories
> ***********
> *** *** ***  email: kmorel at sandia.gov
> **  ***  **  phone: (505) 844-8919
>     ***      fax:   (505) 845-0833
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061205/1bd06cdb/attachment.htm>


More information about the vtkusers mailing list