SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot Rocko's Avatar
    Join Date
    Dec 2000
    Location
    Louisiana
    Posts
    107
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please Help!!!

    I have read about using a SSI to incorporate .txt files into your site.
    Okay, I did that, but the Items do not word wrap i.e "<br>
    How can I get each item in the .txt file to break after each is printed using a SSI??

    *Details
    -----------------
    The .txt file is a listing of songs that get updated everyday and it is being put into a scroll area.
    I work in Notepad (does it matter for creating .txt)?
    -----------------
    I need to know as soon as possible 'cause I want the site to go "Live". Thanks soooo much if you can help
    "If it's taking up my time, then it must be good!" -Rocko

  2. #2
    SitePoint Addict SLeon's Avatar
    Join Date
    Sep 2000
    Location
    Northern California
    Posts
    222
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The file that you're including through SSI doesn't have to be text-only, even if it's got a .txt extension. Try putting in the <br>s or whatever other formatting you like, just as you would in an HTML document. When the file is parsed by the server through SSI, the .txt file will be magically transformed into HTML and it should all work as you like.
    InformationSavant - developing intelligent web business
    StrangePegs.com - collectible cards, games, toys, comics


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
  •