Hi Annie,
This isn't really an HTML editing program, or a text-to-HTML
conversion program, but have you thought of using TextExpander?
TextExpander is an application for the Mac that lets you define your
own snippets that will get expanded into longer text, to save you
typing. The simplest use is straight substitution: e.g., you define a
signature string like "ssig" and assign it to a series of lines giving
your name and contact information. Then, whenever you type "ssig" (sig
with an extra "s" at the beginning), that string gets expanded into
your name, address, email address, etc. You'll usually choose strings
that won't be confused with real words -- doubling the first letter,
or using a character at the beginning is a good way to do make your
snippet definitions. TextExpander is much more sophisticated, because
it can specify formatting, so a snippet like "ddate" ("date" with an
extra "d" at the beginning) could insert the current date in your
correspondence, but in the format of your choice, such as "Friday, May
28, 2010". There are also predefined groups of snippet definitions,
and there's a set for HTML. When you type the key, TextExpander not
only inserts a text string, but positions you in the string. So, to
insert a link, I might type the key, ",a" (e.g., comma+"a"), at which
point I'll hear a whooshing sound that indicates that TextExpander has
replaced this with the HTML code for a link, and positioned me in the
middle of the code to provice the link address, then I might paste in
the URL address with Command-V (or I could type this in), then I would
press the right arrow key twice to move past the end of the code for
the URL address and type in the word or words that I want the URL to
be linked to. To insert a level 1 heading, I would type ",h1" (e.g.,
comma+"h1"), then type in my heading, then press the right arrow key 5
times to move past the end of the code and continue typing.
You can read more details about how to grab other predefined snippets
for TextExpander in my archived post:
http://www.mail-archive.com/macvisionaries%40googlegroups.com/msg17037.html
(Re: TextExpander app on sale for $1.99)
That post started as a discussion thread of the TextExpander iPhone
app on the viphone list, and was cc'd to this list because we began to
talk about the desktop TextExpander use. I think my instructions for
downloading the predefined snippets are slightly different for the
current version of TextExpander, which runs from an active app window
instead of a preferences pane, but should work in a very similar way.
You can also read the Macworld article from a year ago, "Creative text
expanding" by Derik Delong, for examples of how he uses TextExpander
for inserting HTML tags using the clipboard, and how he uses
TextExpander's shell scripting capability to run commands without
having to switch to the terminal, so that he can (for example), check
how many words or characters were in text he copied to the clipboard.
(You'd have to change your snippet type to "Shell Script" when you
paste it's definition into the TextExpander library.) There are some
other suggested uses for TextExpander that appear in the article's
comments at:
<http://www.macworld.com/article/140527/2009/05/creative_text_expanding.html
>
Finally, since May just asked about typing Spanish accents, I should
point out that the SmileOnMyMac blog also had a post last year about
how a user set up his own Spanish Accents snippets so that whenever he
typed sequences like "~n" (e.g., tilde followed by an "n"), this would
get turned into ñ (e.g., an "n" with a tilde sign accenting the
letter). There were several other definitions to speed up typing
accents on a regular keyboard, and the blog article gives a link to
download the user's Spanish Accents snippet definitions. See
"TextExpander 2.6 and Spanish Accents" for more details at:
<http://smileonmymac.net/blog/2009/03/24/textexpander-26-and-spanish-accents/
>
You can download a free trial of TextExpander from the SmileOnMyMac:
<http://www.smileonmymac.com/TextExpander/index.html>
The list price is $34.95 and there is a 90-day money-back guarantee.
They often run discounts during the time of major Mac events, so you
might wait to see whether there is a discount over the period of the
World Wide Developer's Conference during the week of June 6-11, 2010.
Incidentally, my linked archived post explains that people who have an
iPhone and the TextExpander Touch app for the iPhone can sync their
desktop TextExpander definitions to their iPhone. I also use the
Simplenote app on my iPod Touch, which supports TextExpander's
definitions, so when I type in notes into this app on my iPod Touch I
can type accented words with these snippets. (This is another
predefined snippets preset group for accents, which is different from
the ones for HTML and Spanish accents described earlier.)
Since the desktop TextExpander software works system-wide on the Mac,
you can use it with any editing app. TextEdit works fine for HTML, but
you should read the Apple Support document on how to set up TextEdit
as an HTML Editor:
<http://support.apple.com/kb/TA20406>
Otherwise, after the first time you save a document with a ".html"
extension, you'll find it will display as web page each time you try
to open it. Alternatively, you could use an editor like Taco for HTML
editing:
<http://tacosw.com/>
HTH. Cheers,
Esther
On May 27, 2010, at Sarah Alawami wrote:
I would just wriet them in text edit first going to prefences and
choosing the optioin to not ignore the html tabs. Hereis the link to
tha tartical.
http://webdesign.about.com/od/textedit/ht/edit_html_txted.htm
On May 27, 2010, Annie Skov Nielsen wrote:
Hi all.
Is there an easy to use program, where I can import a txt file or a
rtf file, and then make it to html. I need to make some links and a
lot of headings in different levels.
Best regards Annie.
--
You received this message because you are subscribed to the Google Groups
"MacVisionaries" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/macvisionaries?hl=en.