Stephen Pair wrote:
> 
> Has anyone played around with converting plain HTML pages into the Swiki
> syntax?

        I did some conversions (take a look at http://sugar.swiki.net and
http://www.sugarweb.com, and to http://mathMorphs.swiki.net/20 and /1
and http://mate.dm.uba.ar/~caniglia/)

        i did it manualy, sorry.

        I tryed to use as much swiki syntax as possible, so I can tell you
some experiences:

        For tables (you'll se a lot in this pages), swiki syntax is not enough:
<table><tr>
  <td>hola!</td>
  <td>asta la vista!</td>
</tr></table>

        can be translated as:
|hola!|hasta la vista!

        but a field in the table has multiple lines, and/or has an image in it,
is
not very nice to write a long line with a lot of <br>s, I used <HTML>
insted of it.
Take a look at http://mathMorphs.swiki.net/20.edit for an example.

        I think that swiki syntax is a must for titles (headings), links to
pages in 
the same site, anchors inside (@section) a page, and probably, files in
.attachements, and is desirable for lists. Im thinking in future
possibilities for
procesing pages (like indexing them or something like it).
        It's also desirable to code tables in swiki syntax, but with todays
syntax,
there is no nice way ot avoid using <HTML> tags, like in:

|*+permutation.gif+*|<HTML>
      [Last updated: December 4, 1998] We, at the University of Buenos
Aires,
      are developing the MathMorph project in classroom. Download the
      </HTML>*MorphicWrappers*<HTML> and this
</HTML>*+Permutations.zip+*<HTML>.<br>
      Then fileIn the change set and read the Permutations Book. To
become a good
      pupil '-)you should work on the exercises of [section 5.1.1, The
Art of
      Computer Programming,  Volume 3, Sorting and Searching, Second
Edition, by
      D.E.Knuth]. Try, for example, exercises 6, 7, 8, 9, 10, 11, 12 and
28.
</HTML>

        look how I have to close and open <HTML> tags everytime. (is there a
better solution I don't know?)

        Converting Bye!
        Richie++

Reply via email to