Alpha Video Training
Results 1 to 12 of 12

Thread: Using HTML editor for simple HTML

  1. #1

    Default Using HTML editor for simple HTML

    I am trying to use the HTML editor for individual parts of a webpage, but everything I enter into the editor has text added to it. This is the HTML I enter:

    HTML Code:
    <h3>Applications</h3>
    <p>The Dual-Lite EZ-2 is a unique and efficient self-contained emergency 
    lighting unit designed to meet a variety of needs. It is constructed of 
    injection-molded, flame-rated thermoplastic. Available in standard and damp 
    location models.</p>
    <h3>Features</h3>
    <ul>
      <li>Easy to install 
      <li>Flame-rated, UV-stable thermoplastic housing 
      <li>Damp location listed 
      <li>Standard 5.4 incandescent lamp 
      <li>Textured, bright-white finish 
      <li>Universal wall mounting pattern 
      <li>Universal 120/277 VAC operation 
      <li>Maintenance-free lead-calcium battery 
      <li>Available with Spectron® self-testing/self-diagnostic 
      electronics with time-delay retansfer (TDR) standard 
      <li>UL 924 Listed 
      <li style="PADDING-TOP: 10px" class=no-bullet><b>Temperature Range</b>
      <li>Standard 20°C - 30°C (68°F - 86°F) 
      <li>Damp location models: 0°C - 40°C (32°F - 104°F)</li></ul>
    <p>Source: <a 
    href="http://www.dual-lite.com/products/ez2/">http://www.dual-lite.com/products/ez2/</a></p>
    And this is what is saved:

    HTML Code:
    <html>
    <head>
    <meta name="generator" content="Alpha Five HTML Editor">
    <title></title>
    <style>
    <!--
    p            { margin-top: 0; margin-bottom: 0 }
    -->
    </style>
    </head>
    <body>
    
    
    <h3>Applications</h3>
    <p>The Dual-Lite EZ-2 is a unique and efficient self-contained emergency 
    lighting unit designed to meet a variety of needs. It is constructed of 
    injection-molded, flame-rated thermoplastic. Available in standard and damp 
    location models.</p>
    <h3>Features</h3>
    <ul>
      <li>Easy to install 
      <li>Flame-rated, UV-stable thermoplastic housing 
      <li>Damp location listed 
      <li>Standard 5.4 incandescent lamp 
      <li>Textured, bright-white finish 
      <li>Universal wall mounting pattern 
      <li>Universal 120/277 VAC operation 
      <li>Maintenance-free lead-calcium battery 
      <li>Available with Spectron® self-testing/self-diagnostic 
      electronics with time-delay retansfer (TDR) standard 
      <li>UL 924 Listed 
      <li style="PADDING-TOP: 10px" class=no-bullet><b>Temperature Range</b>
      <li>Standard 20°C - 30°C (68°F - 86°F) 
      <li>Damp location models: 0°C - 40°C (32°F - 104°F)</li></ul>
    <p>Source: <a 
    href="http://www.dual-lite.com/products/ez2/">http://www.dual-lite.com/products/ez2/</a></p>
    </body>
    </html>
    Is there a method to disable the extra HTML?

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,310

    Default Re: Using HTML editor for simple HTML

    James, you've posted to the wrong message board forum, it seems. Questions about web pages and the Alpha Five application server aren't well exposed when dropped into this "desktop applications" forum. Many of us "desktop" veterans don't know much about web apps. I suggest you try re-posting to the app server forum corresponding to the version you're using. You greatly improve the chances that your question will be read by someone who can help you. Good luck. -- tom

  3. #3

    Default Re: Using HTML editor for simple HTML

    Hi there Tom,

    This is a desktop application. I have HTML memo fields in my table that I would like to insert into a xbasic script. But the editor automatically places the extra text into the field.

    I was hoping there was a method to disable it. If not do you think it would be best that I just use xbasic to extract text between the <body></body> tags?

    James

  4. #4
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,310

    Default Re: Using HTML editor for simple HTML

    Hello, James. Sorry to say, but I have no direct personal experience with this. Which, now that I think about it, probably explains why I mistook your post in the first place. -- tom

  5. #5

    Default Re: Using HTML editor for simple HTML

    Thanks for chipping in anyway...i will post it in the web forum.

    Have a good day :-)

  6. #6

    Default Using HTML editor for simple HTML

    I am trying to use the HTML editor for individual parts of a webpage, but everything I enter into the editor has extra text added to it. I had this post posted in the desktop forum but Tom Cone suggested that I move it to here. This is the HTML I enter:

    HTML Code:
    <h3>Applications</h3>
    <p>The Dual-Lite EZ-2 is a unique and efficient self-contained  emergency 
    lighting unit designed to meet a variety of needs. It is constructed of 
    injection-molded, flame-rated thermoplastic. Available in standard and  damp 
    location models.</p>
    <h3>Features</h3>
    <ul>
      <li>Easy to install 
      <li>Flame-rated, UV-stable thermoplastic housing 
      <li>Damp location listed 
      <li>Standard 5.4 incandescent lamp 
      <li>Textured, bright-white finish 
      <li>Universal wall mounting pattern 
      <li>Universal 120/277 VAC operation 
      <li>Maintenance-free lead-calcium battery 
      <li>Available with Spectron® self-testing/self-diagnostic 
      electronics with time-delay retansfer (TDR) standard 
      <li>UL 924 Listed 
      <li style="PADDING-TOP: 10px"  class=no-bullet><b>Temperature Range</b>
      <li>Standard 20°C - 30°C (68°F - 86°F) 
      <li>Damp location models: 0°C - 40°C (32°F -  104°F)</li></ul>
    <p>Source: <a 
    href="http://www.dual-lite.com/products/ez2/">http://www.dual-lite.com/products/ez2/</a></p>
    And this is what is saved:

    HTML Code:
    <html>
    <head>
    <meta name="generator" content="Alpha Five HTML Editor">
    <title></title>
    <style>
    <!--
    p            { margin-top: 0; margin-bottom: 0 }
    -->
    </style>
    </head>
    <body>
    
    
    <h3>Applications</h3>
    <p>The Dual-Lite EZ-2 is a unique and efficient self-contained  emergency 
    lighting unit designed to meet a variety of needs. It is constructed of 
    injection-molded, flame-rated thermoplastic. Available in standard and  damp 
    location models.</p>
    <h3>Features</h3>
    <ul>
      <li>Easy to install 
      <li>Flame-rated, UV-stable thermoplastic housing 
      <li>Damp location listed 
      <li>Standard 5.4 incandescent lamp 
      <li>Textured, bright-white finish 
      <li>Universal wall mounting pattern 
      <li>Universal 120/277 VAC operation 
      <li>Maintenance-free lead-calcium battery 
      <li>Available with Spectron® self-testing/self-diagnostic 
      electronics with time-delay retansfer (TDR) standard 
      <li>UL 924 Listed 
      <li style="PADDING-TOP: 10px"  class=no-bullet><b>Temperature Range</b>
      <li>Standard 20°C - 30°C (68°F - 86°F) 
      <li>Damp location models: 0°C - 40°C (32°F -  104°F)</li></ul>
    <p>Source: <a 
    href="http://www.dual-lite.com/products/ez2/">http://www.dual-lite.com/products/ez2/</a></p>
    </body>
    </html>
    Is there a method to disable the extra HTML?

  7. #7
    "Certified" Alphaholic
    Real Name
    Raymond Lyons
    Join Date
    Apr 2000
    Location
    Carlsbad, CA
    Posts
    2,143

    Default Re: Using HTML editor for simple HTML

    No, at least I don't think so based on my experience.

    I take it you are wanting to extract some of the html code out of saved html memo fields for use elsewhere. Is that correct? If so, I think you would have to resort to xbasic to get the part you want.

    Raymond Lyons

  8. #8

    Default Re: Using HTML editor for simple HTML

    The preferred solution would be to have the memo field store only the HTML that I had entered. This is because I am taking this description and generating a eBay listing template and I only need the code for the listing itself and not the page. I was hoping to avoid xbasic but if thats the best solution then I will start coding.

    Thanks

  9. #9
    "Certified" Alphaholic
    Real Name
    Raymond Lyons
    Join Date
    Apr 2000
    Location
    Carlsbad, CA
    Posts
    2,143

    Default Re: Using HTML editor for simple HTML

    A thought: Would the "added" html code cause any problems for your ebay page? I certainly don't know, but I use html from memo fileds that contain that "added" code in html email messages and so far have not heard of any problems recipients have had--they seem to see exactly and only what I wanted them to see when they open their emails.

    Raymond Lyons

  10. #10
    "Certified" Alphaholic
    Real Name
    Cal Locklin
    Join Date
    Mar 2000
    Location
    S.E. Michigan
    Posts
    5,763

    Default Re: Using HTML editor for simple HTML

    The HTML editor I use has 3 tabs - WYSIWYG, Source, and Interactive. A5 will add "other stuff" when you type something in the WYSIWYG window. Also, if you type certain things in the Source window then view it in the WYSIWYG window it may get modified. As it happens, all my web apps (2) are pure code - no web components - so I only use the Source tab and avoid the WYSIWYG tab like the plague. (My two web customers demand pages that present 500 to over 5000 lines/records per page. This is, or at least was, an impossible task with web components but the 5000 lines can appear in about 12 seconds on a decent connection - it's about a 750K download.)

    The HTML editor I'm talking about is reached by clicking View / HTML Editor in the main menu bar.

    If you are using a different editor, let me know how you are getting to it. Maybe I can find a way help but certainly I can learn something new.

  11. #11

    Default Re: Using HTML editor for simple HTML

    Cal,

    When I edit a html memo field it opens up with only the wysiwyg and the source tab. I set the default tab to open as the source tab. If I view the wysiwyg tab after entering basic html in the source tab the extra code is inserted. The extra code is also inserted if i save and exit the editor.

    I had not known about the other editor but i did see the three tabs that you mentioned when i opened it. Would it be better if i used a RTF field instead of an html one? Currently my solution is to just extract all text between the <body> and </body> tags and ignore all the other text.

    James

  12. #12
    "Certified" Alphaholic
    Real Name
    Cal Locklin
    Join Date
    Mar 2000
    Location
    S.E. Michigan
    Posts
    5,763

    Default Re: Using HTML editor for simple HTML

    As you may have noticed - I avoid the WYSIWYG editor like the plague. I also haven't used HTML memo fields much so I'm not the expert on that.

    As for RTF memo fields, I also avoid those completely. I had far too many problems with them in the past.

    I think Ray's ideas are probably the best solutions.

Similar Threads

  1. html editor
    By jacktheripper in forum Application Server Version 10 - Web/Browser Applications
    Replies: 1
    Last Post: 01-18-2010, 03:41 PM
  2. html editor problems
    By NoelTanti in forum Application Server Version 9 - Web/Browser Applications
    Replies: 4
    Last Post: 04-22-2009, 06:59 AM
  3. HTML Editor
    By bowenjohn in forum Web Application Server v6
    Replies: 5
    Last Post: 02-27-2005, 03:38 PM
  4. HTML Editor
    By PRS Group in forum Alpha Five Version 6
    Replies: 2
    Last Post: 12-16-2004, 12:46 PM
  5. HTML Editor
    By Sharon Goh in forum Alpha Five Version 6
    Replies: 1
    Last Post: 08-19-2004, 04:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •