homepage Welcome to WebmasterWorld Guest from 54.234.128.25
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
From Text To HTML
How to convert from text mode to html?
Romer




msg:4299650
 3:55 am on Apr 18, 2011 (gmt 0)

would appreciate it if someone can advice me on how to convert from text mode to html. thanks

 

tedster




msg:4299658
 4:16 am on Apr 18, 2011 (gmt 0)

Could you share some detail? What needs to be in html mode - some kind of software?

rocknbil




msg:4299999
 6:50 pm on Apr 18, 2011 (gmt 0)

<pre>

This will preformat text
but it's not too pretty.

</pre>

On the most basic level, this will work, otherwise more info is needed as tedster asked.

piatkow




msg:4300301
 8:43 am on Apr 19, 2011 (gmt 0)

@Romer
Are you asking how to use your html editor, in which case we need to know which one you are using, or do you want to display a piece of html on your site?

Romer




msg:4301103
 7:22 am on Apr 20, 2011 (gmt 0)

Hi Guys,

Thanks for your reply. What i want to do is to convert my text word into html format with url inserted. I'm not quiet sure what type of program should i need to operate this conversion. please advise

Staffa




msg:4301143
 8:57 am on Apr 20, 2011 (gmt 0)

You might want to use a WYSIWYG html editor. There are free ones available on the net, just run a search for it.

lucy24




msg:4301437
 6:47 pm on Apr 20, 2011 (gmt 0)

Wait. What do you mean "with url inserted"? Are you talking about a complete document, or a list of strings that you want to convert into appropriately formatted links?

The quick-and-dirty way to convert a plain-text document into html is to globally replace all multiple line breaks with </p>\n\n<p> and then do some manual spot-cleaning. (Been there. Done that.) If you are not already reasonably comfortable with Regular Expressions, this is the time to learn.

tangor




msg:4301575
 12:01 am on Apr 21, 2011 (gmt 0)

Sourceforge has a txt2html Perl program that might be of use: [sourceforge.net...]

looter




msg:4301646
 3:14 am on Apr 21, 2011 (gmt 0)

@Romer
1- Change the Extention of page from txt to html.
2- Add <br /> to the place you want to start new line.
3- Now you may double click to the file and access your html file.
4- If you want to show it online you need domain name and hosting server.( Which need severel things to be learned! )

Romer




msg:4302898
 8:54 am on Apr 23, 2011 (gmt 0)

got it! thanks a lot to you all guys.

Cheers!

KwikDrySystems




msg:4321020
 12:38 pm on Jun 2, 2011 (gmt 0)

I would recommend using a style sheet to handle any break lines or webpage structure.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved