Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2010
    Location
    East Coast
    Posts
    1
    Rep Power
    0

    Exclamation Content Changing to many Text files

    Our team of web designers (3 high school kids XD) made our own website "www.everything-teen.com" (no its not what you really think it is) and we are constantly changing layouts, colors and the size of everything. The text files we use are basiclly divided in to two, the top half being the design and layout and the bottom half being the content of that webpage. What we need help with is developing a program that:
    1. opens a single file with notepad (or soemthing similar) and copies every line in it
    2. open a file and paste the content of that file into the top half and saves it 3. goes into subfolders and changes other files that it finds using the same single file and saves
    4. goes into sub-subfolder ect.. ect..

    Right now we have about 200 differnt pages that we work with and if we had a program to do it for us in a few min rather than a whole day, this would save us alot of time and allow us to work on HTML more.

    If you can post a solution to just one of those points above, we are skilled enough in Java to merge code together =)

    -Thanks for reading =)

  2. #2
    iluxa is offline Senior Member
    Join Date
    Mar 2010
    Posts
    266
    Rep Power
    5

    Default

    good job!

    builds character :)

  3. #3
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,525
    Blog Entries
    7
    Rep Power
    20

    Default

    You need a CMS (Content Management System); there are a couple of free ones floating around on the net; google for them.

    kind regards,

    Jos

  4. #4
    xerberuz is offline Member
    Join Date
    Apr 2010
    Posts
    8
    Rep Power
    0

    Default

    Have you ever considered using a web framework which does this for you? Simple php with includes would make the trick - or JSP - or any other web framework. Depends on which framework your hoster provides.

    Or the design in a seperate css file which is included by the html sites.

Similar Threads

  1. Changing content pane of a JFrame?
    By dunafrothint in forum AWT / Swing
    Replies: 1
    Last Post: 03-11-2010, 10:21 PM
  2. Replies: 0
    Last Post: 01-27-2010, 03:52 PM
  3. Replies: 2
    Last Post: 05-30-2009, 10:42 AM
  4. Replies: 0
    Last Post: 05-26-2008, 04:26 PM
  5. Changing the color of text
    By Lang in forum New To Java
    Replies: 1
    Last Post: 11-04-2007, 09:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •