Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
Results 1 to 8 of 8

Thread: Text file displayed in webpage

  1. #1
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default Text file displayed in webpage

    Is there any way to include content from a text file in a web page?

    lala

  2. #2
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Would you like to display that in iframe or you want to be imported as html text?

  3. #3
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default

    It would be great to have it as part of the "normal" HTML. But if you do not mind I would like to hear more about both possibilities...

    lala

  4. #4
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Well, i never tried to make a txt file display in iframe, but since it works with pdf file i think there will be no problem.
    HTML Code:
    <iframe src="the location and the name of the txt file (for instance /files/file.txt" width="suitable value" height="suitable value according to the layout"></iframe>
    The normal possibiltie is to copy the content of the text file and paste it between
    HTML Code:
    <p> and </p>
    html tags. According to your design and the html standard declaration you may use
    HTML Code:
     <br> or <br/>
    in order to insert line breaks.

  5. #5
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default

    I guess there was a misunderstanding:

    I meant that I would have a separate text file on the server. The content of that file would be displayed in my web page. If I was to change the content to that particular text file and upload it to the server the content of the web page should be updated accordingly (without the need of copy and paste). A kind of very simple CMS...

    lala

  6. #6
    Bagi Zoltán's Avatar
    Bagi Zoltán is offline Boss Cart consultant
    Join Date
    Feb 2007
    Location
    Veszprém, Hungary
    Posts
    1,225

    Default

    Lala in this case i suggest you to install WordPress. It contains a wsywyg text editor and it's a brilliant cms.

  7. #7
    lala is offline Senior Member
    Join Date
    Feb 2007
    Posts
    145

    Default

    Thank you for your advice

    lala

  8. #8
    daniel is offline Member
    Join Date
    Jan 2007
    Posts
    63

    Default php?

    why don't you use php to call the text file?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. .htaccess file
    By lala in forum General Search Engine Discussions
    Replies: 4
    Last Post: 10-16-2007, 10:39 PM
  2. Converting a file?
    By SoftwareMS in forum Business Forum
    Replies: 8
    Last Post: 05-03-2007, 07:04 AM
  3. How to link a CSS file to a HTML file?
    By ForumJoiner in forum General Webmaster Talk
    Replies: 0
    Last Post: 03-26-2007, 08:22 PM
  4. .htaccess file
    By lala in forum General Search Engine Discussions
    Replies: 30
    Last Post: 03-04-2007, 03:42 PM
  5. WMP embedded in webpage, but want to play mulitple files
    By Pentarix in forum General Webmaster Talk
    Replies: 0
    Last Post: 08-26-2005, 03:53 PM

Bookmarks

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124