need to add text to 50html files,is there any software?

Discussion in 'Programming' started by triplex, Jan 3, 2008.

  1. #1
    hello!

    i need to add some text to my 50 pages of my website,is there any software that does it in bulk?

    thx
     
    triplex, Jan 3, 2008 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    #2
    is you website php or html ?
     
    MeetHere, Jan 3, 2008 IP
  3. triplex

    triplex Peon

    Messages:
    380
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    html at the moment,ive got a software to convert it to php if i want!would work both ways
     
    triplex, Jan 3, 2008 IP
  4. tomecki

    tomecki Peon

    Messages:
    369
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    if it is a html you can use simple perl script. The modification is inside the document or on the end?
     
    tomecki, Jan 3, 2008 IP
  5. triplex

    triplex Peon

    Messages:
    380
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    its gonna be added at the end
     
    triplex, Jan 3, 2008 IP
  6. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #6
    you want to add same text to all 50 files?

    Regards

    Alex
     
    kmap, Jan 3, 2008 IP
  7. Kal_El

    Kal_El Peon

    Messages:
    63
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Consider using a simple CMS (like wordpress), or something simple written in php. This way all you need is to alter the HTML once to mark the place where the text is going to be, and upload all the files, even in txt format.
     
    Kal_El, Jan 3, 2008 IP
  8. NoobieDoobieDo

    NoobieDoobieDo Peon

    Messages:
    1,456
    Likes Received:
    53
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You could use a php includes or server side includes.
     
    NoobieDoobieDo, Jan 3, 2008 IP
  9. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #9
    IF you have a local copy of your website you could just use a text editor, one of the better ones that handles multi files. Something with macro support like crimson editor or PFE. Then upload over the old files. To do it in place, perl would be your best bet to add static text.
     
    shallowink, Jan 3, 2008 IP
  10. triplex

    triplex Peon

    Messages:
    380
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    thanks guys for your help!i really apreciate it
     
    triplex, Jan 3, 2008 IP