homepage Welcome to WebmasterWorld Guest from 107.20.34.144
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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#: 4299648 posted 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

WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4299648 posted 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

WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 4299648 posted 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

WebmasterWorld Senior Member piatkow us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4299648 posted 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#: 4299648 posted 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

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 4299648 posted 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

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4299648 posted 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

WebmasterWorld Senior Member tangor us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4299648 posted 12:01 am on Apr 21, 2011 (gmt 0)

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

looter



 
Msg#: 4299648 posted 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#: 4299648 posted 8:54 am on Apr 23, 2011 (gmt 0)

got it! thanks a lot to you all guys.

Cheers!

KwikDrySystems



 
Msg#: 4299648 posted 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