|  | Posted by TJ on 08/06/06 19:02 
I need a special kind of WYSIWYG html editor, and would like to see ifanyone in this newsgroup has seen one that will do simple tasks.
 
 I would love to type in content in simple word processing type format,
 and have it converted to simple html code.
 
 Right now, I type into Word my content, like:
 
 This is a test
 
 Had it been an actual alert
 
 I spell check it and correct any grammar.  Then I rework it to the
 point it makes sense.  Once I like the content, I then cut and paste
 it into Notepad and add all of the html code, like <p>, </p>, <ul>,
 etc.
 
 (I do use CSS to save on typing the code for fonts and colors.)
 
 I then save the text file and ftp it to my php directory on the web
 site.
 
 If I want to make a change, I have to type any changes into Word for
 spell checking, and re-add html code.
 
 It is time consuming.
 
 Here is what I am trying to do.
 
 I build a fair number of simple web sites that use php code to include
 text files with the "guts of a page".  I build a generic looking page
 and then "include" text files, using php, for left border links, top
 links, bottom links, footnotes to the web page, a copyright section,
 and most importantly the contents of a page.
 
 I need a way to create these text files with the proper html coding
 minus any of the header or footer stuff most editor add.
 
 Another way to say this is that every editor I have looked at, which
 is only a few, every time I create soemthing, the editor wants to
 generate a whole page of code.  I don't need the code for a whole
 page, only for my typed section.
 
 For Example, here is the output from FrontPage for a simple set of
 content:
 
 <html>
 
 <head>
 <meta http-equiv="Content-Language" content="en-us">
 <meta name="GENERATOR" content="Microsoft FrontPage 5.0">
 <meta name="ProgId" content="FrontPage.Editor.Document">
 <meta http-equiv="Content-Type" content="text/html;
 charset=windows-1252">
 <title>New Page 2</title>
 </head>
 
 <body>
 
 <p>This is a test.  </p>
 <p>Had it been an actual alert...</p>
 <p> </p>
 
 </body>
 
 </html>
 
 I only need the part that reads:
 
 <p>This is a test.  </p>
 <p>Had it been an actual alert...</p>
 <p> </p>
 
 Not only that, but I would love to be able to edit this part, spell
 check, etc, and still get back only the code I need, notthe code for
 a whole web page.
 
 Is there such an editor?
 
 Thanks for any tips or help.
 
 
 Here is another example in case I did not expalin this well.  Below is
 the contents, abbreviated for brevity, of a links section for one of
 my pages:
 
 <hr color="#7C2929" size="1">
 <h3>
 <font size="2"><a
 href="http://www.americanbestmortgages.com/mortgage-articles/mortgage-application.html">Mortgage
 & Home Loan Information</a></font><br>
 </h3><ul>
 <li><a
 href="http://www.americanbestmortgages.com/mortgage-articles/mortgage_application_download.html">Download
 a Mortgage Application</a></li>
 <li><a
 href="http://www.americanbestmortgages.com/mortgage-articles/qualifying_mortgage.html">Two
 Key Factors in Qualifying for a Home Loan</a></li>
 ....
 </ul>
 <p> </p>
 
 <hr color="#7C2929" size="1">
 
 (By the way, this site is no longer active, so I am not trolling for
 traffic.)
 
 Notice that this code is complete in this file, ie no <ul> without the
 closing </ul>.  Also the code can easily go inside of a cell.  I use
 it like this:
 
 <td>
 
 <?php
 
 include "filename.txt";
 
 ?>
 
 </td>
 
 (assuming I made no typos.)
 
 So What I would love to be able to do is load filename.txt or
 whatever, have it display in a wysiwyg format and let me do simple
 editing.  When I save, it would not generate the whole page of code,
 only the code for what I have typed, ie add the <p>'s where necessary,
 or the <ul>'s and <li>'s, but no header info etc.
 
 Again thanks.
  Navigation: [Reply to this message] |