Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Suggestion: html support

  1. Jun 13, 2009 #1
    Please add a BB code for
    HTML:
    .  This would also indirectly add support for other missing BB codes like strike through text, which could at least be done via html support.
     
  2. jcsd
  3. Jun 13, 2009 #2
    Allowing HTML can enable users to compromise PF's security.
     
  4. Jun 14, 2009 #3

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    What HTML features do you want? Unrestricted HTML would bring down the site as soon as someone does one of thousands of obvious hacks, but if all you want is (say) abbr title="blah" then perhaps something could be done.
     
  5. Jun 16, 2009 #4
    It would be cool to have javascript support; that way I can make posts be interactive. Or perhaps small javascript programs that take input and do math.

    But that will lead to cookie theft. But if you can have something like that it would be so cool
     
  6. Jun 16, 2009 #5

    CRGreathouse

    User Avatar
    Science Advisor
    Homework Helper

    I don't think there's any controlled way to allow javascript. It allows much more potential damage than (otherwise) unrestricted HTML.
     
  7. Jun 22, 2009 #6

    nvn

    User Avatar
    Science Advisor
    Homework Helper

    Where is a Help link to list or explain what BB tags or character entities we can hard-code ourselves (in Basic Editor) on PF when writing reply posts (using characters that are storable and portable across platforms in only a bare-bones, plain text editor)? If this link doesn't exist yet, could you please add a Help link to list the possible tags on PF? Thanks.

    EDIT: OK, I finally found it. I lucked into finding the PF https://www.physicsforums.com/misc.php?do=bbcode" [Broken] help page, using google, but could not find an easy way to access it from PF. Can you add the above link to the Basic Editor page for posting replies?

    I also lucked into finding you can enter certain, much-needed html, such as &# 8804; (without the space); but strangely, & le; currently fails. Why? It seems PF should accept the corresponding named character entities. Could you list the allowed tags on the above BB code page? And could you please make the named character entity tags (and & nbsp;) allowable, also? (They could easily be translated by your editor.)
     
    Last edited by a moderator: May 4, 2017
  8. Jun 22, 2009 #7

    robphy

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Sorry to hijack this thread...
    but here are some ideas for mathematical-graphic features
    • SVG support
      - simple example: http://www.december.com/html/demo/hellosvg.html
      - more complex example (generated by http://www.inkscape.org/" [Broken] )
    • LiveGraphics3D support
      look at the html-source of the various example pages:
      www.vis.uni-stuttgart.de/~kraus/LiveGraphics3D/examples.html
      Essentially, one can be allowed to insert PARAM tags between applet tags
      Code (Text):

      <APPLET ARCHIVE="live.jar" CODEBASE=".." CODE="Live.class" WIDTH=300 HEIGHT=300 ALIGN=LEFT HSPACE=10>
      <PARAM NAME=INPUT VALUE="
      Graphics3D[{{PointSize[0.0381], RGBColor[0.4392, 0.502, 0.5647],
            Point[{2.239, -2.685, 1.669}], PointSize[0.0381], ....
      ...
      </APPLET>
       
      The code is based on Mathematica.... but it looks easy enough to compose some simple code by hand... without having access to Mathematica. It seems that one can just use a PF-local copy live.jar. (Details on usage restrictions: http://www.vis.uni-stuttgart.de/~kraus/LiveGraphics3D/download.html )
     
    Last edited by a moderator: May 4, 2017
  9. Jun 27, 2009 #8
    Well as I mentioned in the original post, PF has a very limited subset of BB commands..one of the ones that's missing is strikethrough text, which is useful when you want to show how you're editing someone else's post.

    Another example is that uisng HTML code you can link to an image while automatically resizing it, so that it isn't gigantic
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Suggestion: html support
  1. Forum Suggestion! (Replies: 15)

  2. App suggestion (Replies: 3)

Loading...